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

Side by Side Diff: build/standalone.gypi

Issue 764803002: Set clang directory in gyp. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: clang_xcode variable Created 6 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 15 matching lines...) Expand all
26 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 27
28 # Definitions to be used when building stand-alone V8 binaries. 28 # Definitions to be used when building stand-alone V8 binaries.
29 29
30 { 30 {
31 # We need to include toolchain.gypi here for third-party sources that don't 31 # We need to include toolchain.gypi here for third-party sources that don't
32 # directly include it themselves. 32 # directly include it themselves.
33 'includes': ['toolchain.gypi'], 33 'includes': ['toolchain.gypi'],
34 'variables': { 34 'variables': {
35 'component%': 'static_library', 35 'component%': 'static_library',
36 'make_clang_dir%': '../third_party/llvm-build/Release+Asserts',
37 'clang_xcode%': 0,
36 'asan%': 0, 38 'asan%': 0,
37 'tsan%': 0, 39 'tsan%': 0,
38 'visibility%': 'hidden', 40 'visibility%': 'hidden',
39 'v8_enable_backtrace%': 0, 41 'v8_enable_backtrace%': 0,
40 'v8_enable_i18n_support%': 1, 42 'v8_enable_i18n_support%': 1,
41 'v8_deprecation_warnings': 1, 43 'v8_deprecation_warnings': 1,
42 'msvs_multi_core_compile%': '1', 44 'msvs_multi_core_compile%': '1',
43 'mac_deployment_target%': '10.5', 45 'mac_deployment_target%': '10.5',
44 'variables': { 46 'variables': {
45 'variables': { 47 'variables': {
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 }, 427 },
426 }], 428 }],
427 ], 429 ],
428 'target_conditions': [ 430 'target_conditions': [
429 ['_type!="static_library"', { 431 ['_type!="static_library"', {
430 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, 432 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']},
431 }], 433 }],
432 ], # target_conditions 434 ], # target_conditions
433 }, # target_defaults 435 }, # target_defaults
434 }], # OS=="mac" 436 }], # OS=="mac"
437 ['clang==1 and ((OS!="mac" and OS!="ios") or clang_xcode==0) '
438 'and OS!="win"', {
439 'make_global_settings': [
440 ['CC', '<(make_clang_dir)/bin/clang'],
441 ['CXX', '<(make_clang_dir)/bin/clang++'],
442 ['CC.host', '$(CC)'],
443 ['CXX.host', '$(CXX)'],
444 ],
445 }],
446 ['clang==1 and OS=="win"', {
447 'make_global_settings': [
448 # On Windows, gyp's ninja generator only looks at CC.
449 ['CC', '<(make_clang_dir)/bin/clang-cl'],
450 ],
451 }],
435 ], 452 ],
436 } 453 }
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