OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 3312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3323 ['clang==1', { | 3323 ['clang==1', { |
3324 'make_global_settings': [ | 3324 'make_global_settings': [ |
3325 ['CC', '<(make_clang_dir)/bin/clang'], | 3325 ['CC', '<(make_clang_dir)/bin/clang'], |
3326 ['CXX', '<(make_clang_dir)/bin/clang++'], | 3326 ['CXX', '<(make_clang_dir)/bin/clang++'], |
3327 ['LINK', '$(CXX)'], | 3327 ['LINK', '$(CXX)'], |
3328 ['CC.host', '$(CC)'], | 3328 ['CC.host', '$(CC)'], |
3329 ['CXX.host', '$(CXX)'], | 3329 ['CXX.host', '$(CXX)'], |
3330 ['LINK.host', '$(LINK)'], | 3330 ['LINK.host', '$(LINK)'], |
3331 ], | 3331 ], |
3332 }], | 3332 }], |
3333 ['OS=="android" and clang==0 and "<(GENERATOR)"!="ninja"', { | 3333 ['OS=="android" and clang==0', { |
3334 # Hardcode the compiler names in the Makefile so that | 3334 # Hardcode the compiler names in the Makefile so that |
3335 # it won't depend on the environment at make time. | 3335 # it won't depend on the environment at make time. |
3336 'make_global_settings': [ | 3336 'make_global_settings': [ |
3337 ['CC', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} ${ANDROID_TOOLCHAIN}/*-g
cc)'], | 3337 ['CC', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} ${ANDROID_TOOLCHAIN}/*-g
cc)'], |
3338 ['CXX', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} ${ANDROID_TOOLCHAIN}/*-
g++)'], | 3338 ['CXX', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} ${ANDROID_TOOLCHAIN}/*-
g++)'], |
3339 ['LINK', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} ${ANDROID_TOOLCHAIN}/*
-gcc)'], | 3339 ['LINK', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} ${ANDROID_TOOLCHAIN}/*
-gcc)'], |
3340 ['CC.host', '<!(which gcc)'], | 3340 ['CC.host', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} <!(which gcc))'], |
3341 ['CXX.host', '<!(which g++)'], | 3341 ['CXX.host', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} <!(which g++))'], |
3342 ['LINK.host', '<!(which g++)'], | 3342 ['LINK.host', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} <!(which g++))'], |
3343 ], | 3343 ], |
3344 }], | 3344 }], |
3345 ], | 3345 ], |
3346 'xcode_settings': { | 3346 'xcode_settings': { |
3347 # DON'T ADD ANYTHING NEW TO THIS BLOCK UNLESS YOU REALLY REALLY NEED IT! | 3347 # DON'T ADD ANYTHING NEW TO THIS BLOCK UNLESS YOU REALLY REALLY NEED IT! |
3348 # This block adds *project-wide* configuration settings to each project | 3348 # This block adds *project-wide* configuration settings to each project |
3349 # file. It's almost always wrong to put things here. Specify your | 3349 # file. It's almost always wrong to put things here. Specify your |
3350 # custom xcode_settings in target_defaults to add them to targets instead. | 3350 # custom xcode_settings in target_defaults to add them to targets instead. |
3351 | 3351 |
3352 'conditions': [ | 3352 'conditions': [ |
(...skipping 29 matching lines...) Expand all Loading... |
3382 # settings in target dicts. SYMROOT is a special case, because many other | 3382 # settings in target dicts. SYMROOT is a special case, because many other |
3383 # Xcode variables depend on it, including variables such as | 3383 # Xcode variables depend on it, including variables such as |
3384 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3384 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3385 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3385 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3386 # files to appear (when present) in the UI as actual files and not red | 3386 # files to appear (when present) in the UI as actual files and not red |
3387 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3387 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3388 # and therefore SYMROOT, needs to be set at the project level. | 3388 # and therefore SYMROOT, needs to be set at the project level. |
3389 'SYMROOT': '<(DEPTH)/xcodebuild', | 3389 'SYMROOT': '<(DEPTH)/xcodebuild', |
3390 }, | 3390 }, |
3391 } | 3391 } |
OLD | NEW |