| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 # 'branding', such as symbol generation, will need to be refactored | 80 # 'branding', such as symbol generation, will need to be refactored |
| 81 # based on 'buildtype' (i.e. we don't care about saving symbols for | 81 # based on 'buildtype' (i.e. we don't care about saving symbols for |
| 82 # non-Official # builds). | 82 # non-Official # builds). |
| 83 'buildtype%': 'Dev', | 83 'buildtype%': 'Dev', |
| 84 | 84 |
| 85 # Override branding to select the desired branding flavor. | 85 # Override branding to select the desired branding flavor. |
| 86 'branding%': 'Chromium', | 86 'branding%': 'Chromium', |
| 87 | 87 |
| 88 'conditions': [ | 88 'conditions': [ |
| 89 # ChromeOS and Windows use Aura and Ash. | 89 # ChromeOS and Windows use Aura and Ash. |
| 90 ['chromeos==1 or OS=="win"', { | 90 ['chromeos==1 or OS=="win" or OS=="linux"', { |
| 91 'use_ash%': 1, | 91 'use_ash%': 1, |
| 92 'use_aura%': 1, | 92 'use_aura%': 1, |
| 93 }], | 93 }], |
| 94 | 94 |
| 95 # Ozone uses Aura. | 95 # Ozone uses Aura. |
| 96 ['use_ozone==1', { | 96 ['use_ozone==1', { |
| 97 'use_aura%': 1, | 97 'use_aura%': 1, |
| 98 }], | 98 }], |
| 99 | 99 |
| 100 # ToT Linux should be aura. | |
| 101 # | |
| 102 # TODO(erg): Merge this into the previous block once compiling with | |
| 103 # aura safely implies including ash capabilities. | |
| 104 ['OS=="linux"', { | |
| 105 'use_aura%': 1, | |
| 106 }], | |
| 107 | |
| 108 # Whether we're a traditional desktop unix. | 100 # Whether we're a traditional desktop unix. |
| 109 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") a
nd chromeos==0', { | 101 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") a
nd chromeos==0', { |
| 110 'desktop_linux%': 1, | 102 'desktop_linux%': 1, |
| 111 }, { | 103 }, { |
| 112 'desktop_linux%': 0, | 104 'desktop_linux%': 0, |
| 113 }], | 105 }], |
| 114 | 106 |
| 115 # Embedded implies ozone. | 107 # Embedded implies ozone. |
| 116 ['embedded==1', { | 108 ['embedded==1', { |
| 117 'use_ozone%': 1, | 109 'use_ozone%': 1, |
| (...skipping 5211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5329 # settings in target dicts. SYMROOT is a special case, because many other | 5321 # settings in target dicts. SYMROOT is a special case, because many other |
| 5330 # Xcode variables depend on it, including variables such as | 5322 # Xcode variables depend on it, including variables such as |
| 5331 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5323 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 5332 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5324 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 5333 # files to appear (when present) in the UI as actual files and not red | 5325 # files to appear (when present) in the UI as actual files and not red |
| 5334 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5326 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 5335 # and therefore SYMROOT, needs to be set at the project level. | 5327 # and therefore SYMROOT, needs to be set at the project level. |
| 5336 'SYMROOT': '<(DEPTH)/xcodebuild', | 5328 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 5337 }, | 5329 }, |
| 5338 } | 5330 } |
| OLD | NEW |