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

Side by Side Diff: build/common.gypi

Issue 8352029: clang: Enable using a different compiler path for standalone webkit make builds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better Created 9 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« 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 (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 # This is the location of the sandbox binary. Chrome looks for this before 482 # This is the location of the sandbox binary. Chrome looks for this before
483 # running the zygote process. If found, and SUID, it will be used to 483 # running the zygote process. If found, and SUID, it will be used to
484 # sandbox the zygote process and, thus, all renderer processes. 484 # sandbox the zygote process and, thus, all renderer processes.
485 'linux_sandbox_path%': '', 485 'linux_sandbox_path%': '',
486 486
487 # Set this to true to enable SELinux support. 487 # Set this to true to enable SELinux support.
488 'selinux%': 0, 488 'selinux%': 0,
489 489
490 # Set this to true when building with Clang. 490 # Set this to true when building with Clang.
491 # See http://code.google.com/p/chromium/wiki/Clang for details. 491 # See http://code.google.com/p/chromium/wiki/Clang for details.
492 # TODO: eventually clang should behave identically to gcc, and this
493 # won't be necessary.
494 'clang%': 0, 492 'clang%': 0,
493 'make_clang_dir%': 'third_party/llvm-build/Release+Asserts',
495 494
496 # These two variables can be set in GYP_DEFINES while running 495 # These two variables can be set in GYP_DEFINES while running
497 # |gclient runhooks| to let clang run a plugin in every compilation. 496 # |gclient runhooks| to let clang run a plugin in every compilation.
498 # Only has an effect if 'clang=1' is in GYP_DEFINES as well. 497 # Only has an effect if 'clang=1' is in GYP_DEFINES as well.
499 # Example: 498 # Example:
500 # GYP_DEFINES='clang=1 clang_load=/abs/path/to/libPrintFunctionNames.dyl ib clang_add_plugin=print-fns' gclient runhooks 499 # GYP_DEFINES='clang=1 clang_load=/abs/path/to/libPrintFunctionNames.dyl ib clang_add_plugin=print-fns' gclient runhooks
501 500
502 'clang_load%': '', 501 'clang_load%': '',
503 'clang_add_plugin%': '', 502 'clang_add_plugin%': '',
504 503
(...skipping 2025 matching lines...) Expand 10 before | Expand all | Expand 10 after
2530 }], 2529 }],
2531 ['enable_new_npdevice_api==1', { 2530 ['enable_new_npdevice_api==1', {
2532 'target_defaults': { 2531 'target_defaults': {
2533 'defines': [ 2532 'defines': [
2534 'ENABLE_NEW_NPDEVICE_API', 2533 'ENABLE_NEW_NPDEVICE_API',
2535 ], 2534 ],
2536 }, 2535 },
2537 }], 2536 }],
2538 ['clang==1', { 2537 ['clang==1', {
2539 'make_global_settings': [ 2538 'make_global_settings': [
2540 ['CC', 'third_party/llvm-build/Release+Asserts/bin/clang'], 2539 ['CC', '<(make_clang_dir)/bin/clang'],
2541 ['CXX', 'third_party/llvm-build/Release+Asserts/bin/clang++'], 2540 ['CXX', '<(make_clang_dir)/bin/clang++'],
2542 ['LINK', '$(CXX)'], 2541 ['LINK', '$(CXX)'],
2543 ['CC.host', '$(CC)'], 2542 ['CC.host', '$(CC)'],
2544 ['CXX.host', '$(CXX)'], 2543 ['CXX.host', '$(CXX)'],
2545 ['LINK.host', '$(LINK)'], 2544 ['LINK.host', '$(LINK)'],
2546 ], 2545 ],
2547 }], 2546 }],
2548 ], 2547 ],
2549 'xcode_settings': { 2548 'xcode_settings': {
2550 # DON'T ADD ANYTHING NEW TO THIS BLOCK UNLESS YOU REALLY REALLY NEED IT! 2549 # DON'T ADD ANYTHING NEW TO THIS BLOCK UNLESS YOU REALLY REALLY NEED IT!
2551 # This block adds *project-wide* configuration settings to each project 2550 # This block adds *project-wide* configuration settings to each project
(...skipping 13 matching lines...) Expand all
2565 # settings in target dicts. SYMROOT is a special case, because many other 2564 # settings in target dicts. SYMROOT is a special case, because many other
2566 # Xcode variables depend on it, including variables such as 2565 # Xcode variables depend on it, including variables such as
2567 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2566 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
2568 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 2567 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
2569 # files to appear (when present) in the UI as actual files and not red 2568 # files to appear (when present) in the UI as actual files and not red
2570 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 2569 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2571 # and therefore SYMROOT, needs to be set at the project level. 2570 # and therefore SYMROOT, needs to be set at the project level.
2572 'SYMROOT': '<(DEPTH)/xcodebuild', 2571 'SYMROOT': '<(DEPTH)/xcodebuild',
2573 }, 2572 },
2574 } 2573 }
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