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

Side by Side Diff: build/standalone.gypi

Issue 1468093004: Work-around for passing CC/CXX for arm cross-compilation with make. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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', { 1218 ['OS=="linux" and target_arch=="arm" and host_arch!="arm" and clang==0 and " <(GENERATOR)"=="ninja"', {
1219 # Set default ARM cross tools on linux. These can be overridden 1219 # Set default ARM cross tools on linux. These can be overridden
1220 # using CC,CXX,CC.host and CXX.host environment variables. 1220 # using CC,CXX,CC.host and CXX.host environment variables.
1221 'make_global_settings': [ 1221 'make_global_settings': [
1222 ['CC', '<!(which arm-linux-gnueabihf-gcc)'], 1222 ['CC', '<!(which arm-linux-gnueabihf-gcc)'],
1223 ['CXX', '<!(which arm-linux-gnueabihf-g++)'], 1223 ['CXX', '<!(which arm-linux-gnueabihf-g++)'],
1224 ['CC.host', '<(host_cc)'], 1224 ['CC.host', '<(host_cc)'],
1225 ['CXX.host', '<(host_cxx)'], 1225 ['CXX.host', '<(host_cxx)'],
1226 ], 1226 ],
1227 }], 1227 }],
1228 # TODO(yyanagisawa): supports GENERATOR==make 1228 # TODO(yyanagisawa): supports GENERATOR==make
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
1333 '-fsanitize=cfi-vcall', 1333 '-fsanitize=cfi-vcall',
1334 '-fsanitize=cfi-derived-cast', 1334 '-fsanitize=cfi-derived-cast',
1335 '-fsanitize=cfi-unrelated-cast', 1335 '-fsanitize=cfi-unrelated-cast',
1336 ], 1336 ],
1337 }], 1337 }],
1338 ], 1338 ],
1339 }, 1339 },
1340 }], 1340 }],
1341 ], 1341 ],
1342 } 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