Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Unified Diff: tools/gn.py

Issue 2998503002: Change defaults for build args to accommodate Flutter and Fuchsia. (Closed)
Patch Set: Add comment Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn.py
diff --git a/tools/gn.py b/tools/gn.py
index 91defcdcbbb5b79f6e4e3ef6c110dab580cad4f3..fe22ba46650255a53aa244ced264c963e21bd9b3 100755
--- a/tools/gn.py
+++ b/tools/gn.py
@@ -223,7 +223,9 @@ def ToGnArgs(args, mode, arch, target_os):
gn_args['is_msan'] = args.msan and gn_args['is_clang']
gn_args['is_tsan'] = args.tsan and gn_args['is_clang']
- gn_args['dart_platform_sdk'] = args.platform_sdk
+ if not args.platform_sdk and not gn_args['target_cpu'].startswith('arm'):
+ gn_args['dart_platform_sdk'] = args.platform_sdk
+ gn_args['dart_stripped_binary'] = 'exe.stripped/dart'
# Setup the user-defined sysroot.
if gn_args['target_os'] == 'linux' and args.wheezy and not crossbuild:
« no previous file with comments | « sdk/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698