From c04e13ac4771621b7d6c4b0d1d6ab5b5de159f53 Mon Sep 17 00:00:00 2001 From: Zachary Anderson Date: Thu, 25 Apr 2024 10:05:23 -0700 Subject: [PATCH] Remove goma support from impeller-cmake-example (flutter/engine#52390) --- engine/src/flutter/ci/impeller_cmake_build_test.py | 11 ----------- engine/src/flutter/tools/gn | 4 ---- 2 files changed, 15 deletions(-) diff --git a/engine/src/flutter/ci/impeller_cmake_build_test.py b/engine/src/flutter/ci/impeller_cmake_build_test.py index 077632be37..4420da0a8f 100644 --- a/engine/src/flutter/ci/impeller_cmake_build_test.py +++ b/engine/src/flutter/ci/impeller_cmake_build_test.py @@ -29,16 +29,6 @@ def parse_args(argv): action='store_true', help='Run cmake for impeller-cmake-example.', ) - parser.add_argument( - '--goma-dir', - '-g', - type=str, - default=os.getenv('GOMA_DIR'), - help=( - 'The path to the Goma install. Defaults to the value of the ' - 'GOMA_DIR environment variable.' - ), - ) parser.add_argument( '--path', '-p', @@ -133,7 +123,6 @@ def main(argv): cmake_env.update({ 'PATH': os.environ['PATH'] + ':' + ninja_path, 'FLUTTER_ENGINE_SRC_DIR': SRC_ROOT, - 'FLUTTER_GOMA_DIR': args.goma_dir, }) if args.xcode_symlinks: xcode_symlink_path = create_xcode_symlink() diff --git a/engine/src/flutter/tools/gn b/engine/src/flutter/tools/gn index 49465c44e0..6325874d17 100755 --- a/engine/src/flutter/tools/gn +++ b/engine/src/flutter/tools/gn @@ -917,8 +917,6 @@ def run_impeller_cmake(args): if not os.path.isdir(os.path.join(SRC_ROOT, impeller_cmake_dir)): print('The Impeller cmake example directory "{}" does not exist'.format(impeller_cmake_dir)) return 1 - goma_gn_args = setup_goma(args) - goma_dir = goma_gn_args['goma_dir'] cmake_cmd = [ 'python3', os.path.join(SRC_ROOT, 'flutter', 'ci', 'impeller_cmake_build_test.py'), @@ -926,8 +924,6 @@ def run_impeller_cmake(args): impeller_cmake_dir, '--cmake', ] - if goma_dir is not None: - cmake_cmd = cmake_cmd + ['--goma-dir', goma_dir] if args.xcode_symlinks: cmake_cmd = cmake_cmd + ['--xcode-symlinks'] try: