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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | 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 # Copyright 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 1197 matching lines...) Expand 10 before | Expand all | Expand 10 after
1208 ['CC.host', '$(CC)'], 1208 ['CC.host', '$(CC)'],
1209 ['CXX.host', '$(CXX)'], 1209 ['CXX.host', '$(CXX)'],
1210 ], 1210 ],
1211 }], 1211 }],
1212 ['clang==1 and OS=="win"', { 1212 ['clang==1 and OS=="win"', {
1213 'make_global_settings': [ 1213 'make_global_settings': [
1214 # On Windows, gyp's ninja generator only looks at CC. 1214 # On Windows, gyp's ninja generator only looks at CC.
1215 ['CC', '<(clang_dir)/bin/clang-cl'], 1215 ['CC', '<(clang_dir)/bin/clang-cl'],
1216 ], 1216 ],
1217 }], 1217 }],
1218 ['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
1219 # Set default ARM cross tools on linux. These can be overridden
1220 # using CC,CXX,CC.host and CXX.host environment variables.
1221 'make_global_settings': [
1222 ['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
1223 ['CXX', '<!(which arm-linux-gnueabihf-g++)'],
1224 ['CC.host', '<(host_cc)'],
1225 ['CXX.host', '<(host_cxx)'],
1226 ],
1227 }],
1218 # TODO(yyanagisawa): supports GENERATOR==make 1228 # TODO(yyanagisawa): supports GENERATOR==make
1219 # make generator doesn't support CC_wrapper without CC 1229 # make generator doesn't support CC_wrapper without CC
1220 # in make_global_settings yet. 1230 # in make_global_settings yet.
1221 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', { 1231 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', {
1222 'make_global_settings': [ 1232 'make_global_settings': [
1223 ['CC_wrapper', '<(gomadir)/gomacc'], 1233 ['CC_wrapper', '<(gomadir)/gomacc'],
1224 ['CXX_wrapper', '<(gomadir)/gomacc'], 1234 ['CXX_wrapper', '<(gomadir)/gomacc'],
1225 ['CC.host_wrapper', '<(gomadir)/gomacc'], 1235 ['CC.host_wrapper', '<(gomadir)/gomacc'],
1226 ['CXX.host_wrapper', '<(gomadir)/gomacc'], 1236 ['CXX.host_wrapper', '<(gomadir)/gomacc'],
1227 ], 1237 ],
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
1323 '-fsanitize=cfi-vcall', 1333 '-fsanitize=cfi-vcall',
1324 '-fsanitize=cfi-derived-cast', 1334 '-fsanitize=cfi-derived-cast',
1325 '-fsanitize=cfi-unrelated-cast', 1335 '-fsanitize=cfi-unrelated-cast',
1326 ], 1336 ],
1327 }], 1337 }],
1328 ], 1338 ],
1329 }, 1339 },
1330 }], 1340 }],
1331 ], 1341 ],
1332 } 1342 }
OLDNEW
« 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