| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code%': 0, | 7 'chromium_code%': 0, |
| 8 'branding%': 'Chromium', |
| 8 }, | 9 }, |
| 9 'target_defaults': { | 10 'target_defaults': { |
| 10 # TODO(bradnelson): This should really be able to be either: | 11 'conditions': [ |
| 11 # CHROMIUM_BUILD or GOOGLE_CHROME_BUILD | 12 ['branding=="Chrome"', { |
| 12 'defines': ['CHROMIUM_BUILD'], | 13 'defines': ['GOOGLE_CHROME_BUILD'], |
| 14 }, { # else: branding!="Chrome" |
| 15 'defines': ['CHROMIUM_BUILD'], |
| 16 }], |
| 17 ], |
| 13 'default_configuration': 'Debug', | 18 'default_configuration': 'Debug', |
| 14 'configurations': { | 19 'configurations': { |
| 15 'Debug': { | 20 'Debug': { |
| 16 'conditions': [ | 21 'conditions': [ |
| 17 [ 'OS=="mac"', { | 22 [ 'OS=="mac"', { |
| 18 'xcode_settings': { | 23 'xcode_settings': { |
| 19 'COPY_PHASE_STRIP': 'NO', | 24 'COPY_PHASE_STRIP': 'NO', |
| 20 'GCC_OPTIMIZATION_LEVEL': '0', | 25 'GCC_OPTIMIZATION_LEVEL': '0', |
| 21 } | 26 } |
| 22 }], | 27 }], |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 # settings in target dicts. SYMROOT is a special case, because many other | 205 # settings in target dicts. SYMROOT is a special case, because many other |
| 201 # Xcode variables depend on it, including variables such as | 206 # Xcode variables depend on it, including variables such as |
| 202 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 207 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 203 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 208 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 204 # files to appear (when present) in the UI as actual files and not red | 209 # files to appear (when present) in the UI as actual files and not red |
| 205 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 210 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 206 # and therefore SYMROOT, needs to be set at the project level. | 211 # and therefore SYMROOT, needs to be set at the project level. |
| 207 'SYMROOT': '<(DEPTH)/xcodebuild', | 212 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 208 }, | 213 }, |
| 209 } | 214 } |
| OLD | NEW |