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

Unified Diff: build/standalone.gypi

Issue 1464583004: Prepare switching arm cross-compile to ninja. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/standalone.gypi
diff --git a/build/standalone.gypi b/build/standalone.gypi
index fa4d45d4eb42f765a8d6fd13c198b270a468185c..985e863ce6382cf9d3c0808740a88d7d15e0a8b3 100644
--- a/build/standalone.gypi
+++ b/build/standalone.gypi
@@ -1215,6 +1215,16 @@
['CC', '<(clang_dir)/bin/clang-cl'],
],
}],
+ ['OS=="linux" and target_arch=="arm" and host_arch!="arm" and clang==0', {
kjellander_chromium 2015/11/20 08:23:47 I'm just curious: is host_arch ever arm?
Michael Achenbach 2015/11/20 08:26:02 Guess not. But can't hurt to check. This is a brai
Jakob Kummerow 2015/11/20 09:52:37 Drive-by answer: yes, we support native compilatio
+ # Set default ARM cross tools on linux. These can be overridden
+ # using CC,CXX,CC.host and CXX.host environment variables.
+ 'make_global_settings': [
+ ['CC', '<!(which arm-linux-gnueabihf-gcc)'],
martyn.capewell 2015/11/24 11:56:55 Does this work if arm-linux-gnueabihf-gcc isn't al
Michael Achenbach 2015/11/24 12:27:31 Hmm, that's not smart of gyp then. I thought it mi
+ ['CXX', '<!(which arm-linux-gnueabihf-g++)'],
+ ['CC.host', '<(host_cc)'],
+ ['CXX.host', '<(host_cxx)'],
+ ],
+ }],
# TODO(yyanagisawa): supports GENERATOR==make
# make generator doesn't support CC_wrapper without CC
# in make_global_settings yet.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698