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

Side by Side Diff: build/gyp_chromium

Issue 141143008: Add support for the arm_float_abi flag to the GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/config/arm.gni ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 2
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # This script is wrapper for Chromium that adds some support for how GYP 7 # This script is wrapper for Chromium that adds some support for how GYP
8 # is invoked by Chromium beyond what can be done in the gclient hooks. 8 # is invoked by Chromium beyond what can be done in the gclient hooks.
9 9
10 import glob 10 import glob
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 ('use_goma', '1', 'use_goma=true'), 192 ('use_goma', '1', 'use_goma=true'),
193 ('asan', '1', 'is_asan=true'), 193 ('asan', '1', 'is_asan=true'),
194 ('lsan', '1', 'is_lsan=true'), 194 ('lsan', '1', 'is_lsan=true'),
195 ('tsan', '1', 'is_tsan=true'), 195 ('tsan', '1', 'is_tsan=true'),
196 ] 196 ]
197 for i in remap_cases: 197 for i in remap_cases:
198 if i[0] in vars_dict and vars_dict[i[0]] == i[1]: 198 if i[0] in vars_dict and vars_dict[i[0]] == i[1]:
199 gn_args += ' ' + i[2] 199 gn_args += ' ' + i[2]
200 200
201 # These string arguments get passed directly as GN strings. 201 # These string arguments get passed directly as GN strings.
202 for v in ['android_src', 'windows_sdk_path']: 202 for v in ['android_src', 'windows_sdk_path', 'arm_float_abi']:
203 if v in vars_dict: 203 if v in vars_dict:
204 gn_args += ' ' + v + '=' + EscapeStringForGN(vars_dict[v]) 204 gn_args += ' ' + v + '=' + EscapeStringForGN(vars_dict[v])
205 205
206 # gomadir is renamed goma_dir in the GN build. 206 # gomadir is renamed goma_dir in the GN build.
207 if 'gomadir' in vars_dict: 207 if 'gomadir' in vars_dict:
208 gn_args += ' goma_dir="%s"' % vars_dict['gomadir'] 208 gn_args += ' goma_dir="%s"' % vars_dict['gomadir']
209 209
210 # These arguments get passed directly as integers (avoiding the quoting and 210 # These arguments get passed directly as integers (avoiding the quoting and
211 # escaping of the string ones above). 211 # escaping of the string ones above).
212 for v in ['arm_version']: 212 for v in ['arm_version']:
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 if not RunGN(supplemental_includes): 395 if not RunGN(supplemental_includes):
396 sys.exit(1) 396 sys.exit(1)
397 args.extend( 397 args.extend(
398 ['-I' + i for i in additional_include_files(supplemental_includes, args)]) 398 ['-I' + i for i in additional_include_files(supplemental_includes, args)])
399 399
400 print 'Updating projects from gyp files...' 400 print 'Updating projects from gyp files...'
401 sys.stdout.flush() 401 sys.stdout.flush()
402 402
403 # Off we go... 403 # Off we go...
404 sys.exit(gyp.main(args)) 404 sys.exit(gyp.main(args))
OLDNEW
« no previous file with comments | « build/config/arm.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698