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

Side by Side Diff: build/gyp_chromium

Issue 111633004: [MIPS] Add support for Chromium-Android for MIPS build to BUILD.gn (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Update tools/gn/variables.cc. 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
« no previous file with comments | « no previous file | build/toolchain/android/BUILD.gn » ('j') | 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 # These tuples of (key, value, gn_arg_string) use the gn_arg_string for 131 # These tuples of (key, value, gn_arg_string) use the gn_arg_string for
132 # gn when the key is set to the given value in the GYP arguments. 132 # gn when the key is set to the given value in the GYP arguments.
133 remap_cases = [ 133 remap_cases = [
134 ('branding', 'Chrome', 'is_chrome_branded=true'), 134 ('branding', 'Chrome', 'is_chrome_branded=true'),
135 ('buildtype', 'Official', 'is_official_build=true'), 135 ('buildtype', 'Official', 'is_official_build=true'),
136 ('component', 'shared_library', 'is_component_build=true'), 136 ('component', 'shared_library', 'is_component_build=true'),
137 ('clang', '1', 'is_clang=true'), 137 ('clang', '1', 'is_clang=true'),
138 ('target_arch', 'ia32', 'cpu_arch="x86"'), 138 ('target_arch', 'ia32', 'cpu_arch="x86"'),
139 ('target_arch', 'x64', 'cpu_arch="x64"'), 139 ('target_arch', 'x64', 'cpu_arch="x64"'),
140 ('target_arch', 'arm', 'cpu_arch="arm"'), 140 ('target_arch', 'arm', 'cpu_arch="arm"'),
141 ('target_arch', 'mipsel', 'cpu_arch="mipsel"'),
141 ('fastbuild', '0', 'symbol_level=2'), 142 ('fastbuild', '0', 'symbol_level=2'),
142 ('fastbuild', '1', 'symbol_level=1'), 143 ('fastbuild', '1', 'symbol_level=1'),
143 ('fastbuild', '2', 'symbol_level=0'), 144 ('fastbuild', '2', 'symbol_level=0'),
144 ('OS', 'ios', 'os="ios"'), 145 ('OS', 'ios', 'os="ios"'),
145 ('OS', 'android', 'os="android"'), 146 ('OS', 'android', 'os="android"'),
146 ('chromeos', '1', 'os="chromeos"'), 147 ('chromeos', '1', 'os="chromeos"'),
147 ('use_aura', '1', 'use_aura=true'), 148 ('use_aura', '1', 'use_aura=true'),
148 ('asan', '1', 'is_asan=true'), 149 ('asan', '1', 'is_asan=true'),
149 ('lsan', '1', 'is_lsan=true'), 150 ('lsan', '1', 'is_lsan=true'),
150 ] 151 ]
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 # to enfore syntax checking. 339 # to enfore syntax checking.
339 syntax_check = os.environ.get('CHROMIUM_GYP_SYNTAX_CHECK') 340 syntax_check = os.environ.get('CHROMIUM_GYP_SYNTAX_CHECK')
340 if syntax_check and int(syntax_check): 341 if syntax_check and int(syntax_check):
341 args.append('--check') 342 args.append('--check')
342 343
343 print 'Updating projects from gyp files...' 344 print 'Updating projects from gyp files...'
344 sys.stdout.flush() 345 sys.stdout.flush()
345 346
346 # Off we go... 347 # Off we go...
347 sys.exit(gyp.main(args)) 348 sys.exit(gyp.main(args))
OLDNEW
« no previous file with comments | « no previous file | build/toolchain/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698