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 3066 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3077 ['LINK', '$(CXX)'], | 3077 ['LINK', '$(CXX)'], |
3078 ['CC.host', '$(CC)'], | 3078 ['CC.host', '$(CC)'], |
3079 ['CXX.host', '$(CXX)'], | 3079 ['CXX.host', '$(CXX)'], |
3080 ['LINK.host', '$(LINK)'], | 3080 ['LINK.host', '$(LINK)'], |
3081 ], | 3081 ], |
3082 }], | 3082 }], |
3083 ['OS=="android" and "<(GENERATOR)"!="ninja"', { | 3083 ['OS=="android" and "<(GENERATOR)"!="ninja"', { |
3084 # Hardcode the compiler names in the Makefile so that | 3084 # Hardcode the compiler names in the Makefile so that |
3085 # it won't depend on the environment at make time. | 3085 # it won't depend on the environment at make time. |
3086 'make_global_settings': [ | 3086 'make_global_settings': [ |
3087 ['CC', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} ${ANDROID_TOOLCHAIN}/*-g
cc)'], | 3087 ['CC', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} ${CC_target}'], |
3088 ['CXX', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} ${ANDROID_TOOLCHAIN}/*-
g++)'], | 3088 ['CXX', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} ${CXX_target}'], |
3089 ['LINK', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} ${ANDROID_TOOLCHAIN}/*
-gcc)'], | 3089 ['LINK', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} ${LINK_target}'], |
3090 ['CC.host', '<!(which gcc)'], | 3090 ['CC.host', '<!(which gcc)'], |
3091 ['CXX.host', '<!(which g++)'], | 3091 ['CXX.host', '<!(which g++)'], |
3092 ['LINK.host', '<!(which g++)'], | 3092 ['LINK.host', '<!(which g++)'], |
3093 ], | 3093 ], |
3094 }], | 3094 }], |
3095 ], | 3095 ], |
3096 'xcode_settings': { | 3096 'xcode_settings': { |
3097 # DON'T ADD ANYTHING NEW TO THIS BLOCK UNLESS YOU REALLY REALLY NEED IT! | 3097 # DON'T ADD ANYTHING NEW TO THIS BLOCK UNLESS YOU REALLY REALLY NEED IT! |
3098 # This block adds *project-wide* configuration settings to each project | 3098 # This block adds *project-wide* configuration settings to each project |
3099 # file. It's almost always wrong to put things here. Specify your | 3099 # file. It's almost always wrong to put things here. Specify your |
(...skipping 12 matching lines...) Expand all Loading... |
3112 # settings in target dicts. SYMROOT is a special case, because many other | 3112 # settings in target dicts. SYMROOT is a special case, because many other |
3113 # Xcode variables depend on it, including variables such as | 3113 # Xcode variables depend on it, including variables such as |
3114 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3114 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3115 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3115 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3116 # files to appear (when present) in the UI as actual files and not red | 3116 # files to appear (when present) in the UI as actual files and not red |
3117 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3117 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3118 # and therefore SYMROOT, needs to be set at the project level. | 3118 # and therefore SYMROOT, needs to be set at the project level. |
3119 'SYMROOT': '<(DEPTH)/xcodebuild', | 3119 'SYMROOT': '<(DEPTH)/xcodebuild', |
3120 }, | 3120 }, |
3121 } | 3121 } |
OLD | NEW |