Remove goma support from impeller-cmake-example (flutter/engine#52390)
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user