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

Unified Diff: build/gyp_chromium

Issue 194023002: Add support of x64 to generate .mk files (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Make sure gyp_webview enough to generate makefiles Created 6 years, 9 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
« build/common.gypi ('K') | « build/common.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/gyp_chromium
diff --git a/build/gyp_chromium b/build/gyp_chromium
index b06552db32ba7b7e4ac56073487ad9493a8e5161..66ef75d16466b5ea00f77ffbb3739a45065df4b0 100755
--- a/build/gyp_chromium
+++ b/build/gyp_chromium
@@ -550,12 +550,14 @@ if __name__ == '__main__':
'GYP_CROSSCOMPILE' not in os.environ)):
os.environ['GYP_CROSSCOMPILE'] = '1'
- if not RunGN(gn_vars_dict):
- sys.exit(1)
+ if not 'android_webview_build=1' in os.environ.get('GYP_DEFINES', []):
+ if not RunGN(gn_vars_dict):
+ sys.exit(1)
+
Yang Gu 2014/03/13 10:07:29 We don't need to run gn and landmines.py (below) f
Torne 2014/03/13 11:04:46 No, we can't just skip running gn for the webview
Yang Gu 2014/03/13 16:06:07 gn is quite a new thing to me and thanks a lot for
Torne 2014/03/17 15:28:14 No, what I suggested is that you wait until after
args.extend(
['-I' + i for i in additional_include_files(supplemental_includes, args)])
- args.extend(['-D', 'gyp_output_dir=' + GetOutputDirectory()])
+ args.extend(['-Dgyp_output_dir=' + GetOutputDirectory()])
Yang Gu 2014/03/13 10:07:29 This is to unify the format of parameter to be -Dx
print 'Updating projects from gyp files...'
sys.stdout.flush()
@@ -566,9 +568,10 @@ if __name__ == '__main__':
# Check for landmines (reasons to clobber the build). This must be run here,
# rather than a separate runhooks step so that any environment modifications
# from above are picked up.
- print 'Running build/landmines.py...'
- subprocess.check_call(
- [sys.executable, os.path.join(script_dir, 'landmines.py')])
+ if not 'android_webview_build=1' in os.environ.get('GYP_DEFINES', []):
Torne 2014/03/13 11:04:46 Why do you need to disable running landmines? We'v
Yang Gu 2014/03/13 16:06:07 yes, this part doesn't hurt (except speed:)), and
Torne 2014/03/17 15:28:14 I'm not sure what you mean here. If there's no nee
+ print 'Running build/landmines.py...'
+ subprocess.check_call(
+ [sys.executable, os.path.join(script_dir, 'landmines.py')])
if vs2013_runtime_dll_dirs:
x64_runtime, x86_runtime = vs2013_runtime_dll_dirs
« build/common.gypi ('K') | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698