| 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 23 matching lines...) Expand all Loading... |
| 34 'use_ozone%': 0, | 34 'use_ozone%': 0, |
| 35 | 35 |
| 36 # Configure the build for small devices. See crbug.com/318413 | 36 # Configure the build for small devices. See crbug.com/318413 |
| 37 'embedded%': 0, | 37 'embedded%': 0, |
| 38 | 38 |
| 39 'conditions': [ | 39 'conditions': [ |
| 40 # Compute the architecture that we're building on. | 40 # Compute the architecture that we're building on. |
| 41 ['OS=="win" or OS=="mac" or OS=="ios"', { | 41 ['OS=="win" or OS=="mac" or OS=="ios"', { |
| 42 'host_arch%': 'ia32', | 42 'host_arch%': 'ia32', |
| 43 }, { | 43 }, { |
| 44 'host_arch%': '<!(python <(DEPTH)/build/linux/detect_host_arch.p
y)', | 44 'host_arch%': '<!pymod_do_main(detect_host_arch)', |
| 45 }], | 45 }], |
| 46 ], | 46 ], |
| 47 }, | 47 }, |
| 48 # Copy conditionally-set variables out one scope. | 48 # Copy conditionally-set variables out one scope. |
| 49 'chromeos%': '<(chromeos)', | 49 'chromeos%': '<(chromeos)', |
| 50 'use_aura%': '<(use_aura)', | 50 'use_aura%': '<(use_aura)', |
| 51 'use_ash%': '<(use_ash)', | 51 'use_ash%': '<(use_ash)', |
| 52 'use_cras%': '<(use_cras)', | 52 'use_cras%': '<(use_cras)', |
| 53 'use_ozone%': '<(use_ozone)', | 53 'use_ozone%': '<(use_ozone)', |
| 54 'embedded%': '<(embedded)', | 54 'embedded%': '<(embedded)', |
| (...skipping 5161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5216 # settings in target dicts. SYMROOT is a special case, because many other | 5216 # settings in target dicts. SYMROOT is a special case, because many other |
| 5217 # Xcode variables depend on it, including variables such as | 5217 # Xcode variables depend on it, including variables such as |
| 5218 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5218 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 5219 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5219 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 5220 # files to appear (when present) in the UI as actual files and not red | 5220 # files to appear (when present) in the UI as actual files and not red |
| 5221 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5221 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 5222 # and therefore SYMROOT, needs to be set at the project level. | 5222 # and therefore SYMROOT, needs to be set at the project level. |
| 5223 'SYMROOT': '<(DEPTH)/xcodebuild', | 5223 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 5224 }, | 5224 }, |
| 5225 } | 5225 } |
| OLD | NEW |