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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
84 # Official - release build (generally implies additional processing) | 84 # Official - release build (generally implies additional processing) |
85 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp | 85 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp |
86 # conversion is done), some of the things which are now controlled by | 86 # conversion is done), some of the things which are now controlled by |
87 # 'branding', such as symbol generation, will need to be refactored | 87 # 'branding', such as symbol generation, will need to be refactored |
88 # based on 'buildtype' (i.e. we don't care about saving symbols for | 88 # based on 'buildtype' (i.e. we don't care about saving symbols for |
89 # non-Official # builds). | 89 # non-Official # builds). |
90 'buildtype%': 'Dev', | 90 'buildtype%': 'Dev', |
91 | 91 |
92 # Override branding to select the desired branding flavor. | 92 # Override branding to select the desired branding flavor. |
93 'branding%': 'Chromium', | 93 'branding%': 'Chromium', |
94 'branding_path_component%': 'chromium', | |
sdefresne
2015/04/17 13:41:28
You can remove this one.
| |
94 | 95 |
95 'conditions': [ | 96 'conditions': [ |
96 # ChromeOS and Windows use Aura and Ash. | 97 # ChromeOS and Windows use Aura and Ash. |
97 ['chromeos==1 or OS=="win" or OS=="linux"', { | 98 ['chromeos==1 or OS=="win" or OS=="linux"', { |
98 'use_ash%': 1, | 99 'use_ash%': 1, |
99 'use_aura%': 1, | 100 'use_aura%': 1, |
100 }], | 101 }], |
101 | 102 |
102 ['chromecast==1 and OS!="android"', { | 103 ['chromecast==1 and OS!="android"', { |
103 'embedded%': 1, | 104 'embedded%': 1, |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
139 'use_cras%': '<(use_cras)', | 140 'use_cras%': '<(use_cras)', |
140 'use_ozone%': '<(use_ozone)', | 141 'use_ozone%': '<(use_ozone)', |
141 'embedded%': '<(embedded)', | 142 'embedded%': '<(embedded)', |
142 'use_libpci%': '<(use_libpci)', | 143 'use_libpci%': '<(use_libpci)', |
143 'use_openssl%': '<(use_openssl)', | 144 'use_openssl%': '<(use_openssl)', |
144 'use_openssl_certs%': '<(use_openssl_certs)', | 145 'use_openssl_certs%': '<(use_openssl_certs)', |
145 'enable_viewport%': '<(enable_viewport)', | 146 'enable_viewport%': '<(enable_viewport)', |
146 'enable_hidpi%': '<(enable_hidpi)', | 147 'enable_hidpi%': '<(enable_hidpi)', |
147 'buildtype%': '<(buildtype)', | 148 'buildtype%': '<(buildtype)', |
148 'branding%': '<(branding)', | 149 'branding%': '<(branding)', |
150 'branding_path_component%': '<(branding_path_component)', | |
sdefresne
2015/04/17 13:41:28
Should be: 'branding_path_component%': 'chromium',
| |
149 'host_arch%': '<(host_arch)', | 151 'host_arch%': '<(host_arch)', |
150 'target_arch%': '<(target_arch)', | 152 'target_arch%': '<(target_arch)', |
151 | 153 |
152 'target_subarch%': '', | 154 'target_subarch%': '', |
153 | 155 |
154 # The channel to build on Android: stable, beta, dev, canary, or | 156 # The channel to build on Android: stable, beta, dev, canary, or |
155 # default. "default" should be used on non-official builds. | 157 # default. "default" should be used on non-official builds. |
156 'android_channel%': 'default', | 158 'android_channel%': 'default', |
157 | 159 |
158 # Set ARM architecture version. | 160 # Set ARM architecture version. |
(...skipping 19 matching lines...) Expand all Loading... | |
178 # below for MIPS targets. | 180 # below for MIPS targets. |
179 'mips_arch_variant%': '', | 181 'mips_arch_variant%': '', |
180 | 182 |
181 # MIPS DSP ASE revision. Possible values are: | 183 # MIPS DSP ASE revision. Possible values are: |
182 # 0: unavailable | 184 # 0: unavailable |
183 # 1: revision 1 | 185 # 1: revision 1 |
184 # 2: revision 2 | 186 # 2: revision 2 |
185 'mips_dsp_rev%': 0, | 187 'mips_dsp_rev%': 0, |
186 | 188 |
187 'conditions': [ | 189 'conditions': [ |
190 ['branding == "Chrome"', { | |
191 'branding_path_component%': 'google_chrome', | |
192 }, { | |
193 'branding_path_component%': '<(branding)', | |
194 }], | |
195 | |
188 # Ash needs Aura. | 196 # Ash needs Aura. |
189 ['use_aura==0', { | 197 ['use_aura==0', { |
190 'use_ash%': 0, | 198 'use_ash%': 0, |
191 }], | 199 }], |
192 | 200 |
193 # Set default value of toolkit_views based on OS. | 201 # Set default value of toolkit_views based on OS. |
194 ['OS=="mac" or OS=="win" or chromeos==1 or use_aura==1', { | 202 ['OS=="mac" or OS=="win" or chromeos==1 or use_aura==1', { |
195 'toolkit_views%': 1, | 203 'toolkit_views%': 1, |
196 }, { | 204 }, { |
197 'toolkit_views%': 0, | 205 'toolkit_views%': 0, |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
285 'use_openssl_certs%': '<(use_openssl_certs)', | 293 'use_openssl_certs%': '<(use_openssl_certs)', |
286 'enable_viewport%': '<(enable_viewport)', | 294 'enable_viewport%': '<(enable_viewport)', |
287 'enable_hidpi%': '<(enable_hidpi)', | 295 'enable_hidpi%': '<(enable_hidpi)', |
288 'android_channel%': '<(android_channel)', | 296 'android_channel%': '<(android_channel)', |
289 'use_goma%': '<(use_goma)', | 297 'use_goma%': '<(use_goma)', |
290 'gomadir%': '<(gomadir)', | 298 'gomadir%': '<(gomadir)', |
291 'enable_app_list%': '<(enable_app_list)', | 299 'enable_app_list%': '<(enable_app_list)', |
292 'use_default_render_theme%': '<(use_default_render_theme)', | 300 'use_default_render_theme%': '<(use_default_render_theme)', |
293 'buildtype%': '<(buildtype)', | 301 'buildtype%': '<(buildtype)', |
294 'branding%': '<(branding)', | 302 'branding%': '<(branding)', |
303 'branding_path_component%': '<(branding_path_component)', | |
sdefresne
2015/04/17 13:41:28
Fix indentation here and everywhere else.
| |
295 'arm_version%': '<(arm_version)', | 304 'arm_version%': '<(arm_version)', |
296 'sysroot%': '<(sysroot)', | 305 'sysroot%': '<(sysroot)', |
297 'chroot_cmd%': '<(chroot_cmd)', | 306 'chroot_cmd%': '<(chroot_cmd)', |
298 'system_libdir%': '<(system_libdir)', | 307 'system_libdir%': '<(system_libdir)', |
299 | 308 |
300 # Set to 1 to enable fast builds. Set to 2 for even faster builds | 309 # Set to 1 to enable fast builds. Set to 2 for even faster builds |
301 # (it disables debug info for fastest compilation - only for use | 310 # (it disables debug info for fastest compilation - only for use |
302 # on compile-only bots). | 311 # on compile-only bots). |
303 'fastbuild%': 0, | 312 'fastbuild%': 0, |
304 | 313 |
(...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1070 'disable_nacl%': '0', | 1079 'disable_nacl%': '0', |
1071 | 1080 |
1072 # Sets the default version name and code for Android app, by default we | 1081 # Sets the default version name and code for Android app, by default we |
1073 # do a developer build. | 1082 # do a developer build. |
1074 'android_app_version_name%': 'Developer Build', | 1083 'android_app_version_name%': 'Developer Build', |
1075 'android_app_version_code%': 1, | 1084 'android_app_version_code%': 1, |
1076 }, | 1085 }, |
1077 | 1086 |
1078 # Copy conditionally-set variables out one scope. | 1087 # Copy conditionally-set variables out one scope. |
1079 'branding%': '<(branding)', | 1088 'branding%': '<(branding)', |
1089 'branding_path_component%': '<(branding_path_component)', | |
1080 'buildtype%': '<(buildtype)', | 1090 'buildtype%': '<(buildtype)', |
1081 'target_arch%': '<(target_arch)', | 1091 'target_arch%': '<(target_arch)', |
1082 'target_subarch%': '<(target_subarch)', | 1092 'target_subarch%': '<(target_subarch)', |
1083 'mips_arch_variant%': '<(mips_arch_variant)', | 1093 'mips_arch_variant%': '<(mips_arch_variant)', |
1084 'mips_dsp_rev%': '<(mips_dsp_rev)', | 1094 'mips_dsp_rev%': '<(mips_dsp_rev)', |
1085 'host_arch%': '<(host_arch)', | 1095 'host_arch%': '<(host_arch)', |
1086 'toolkit_views%': '<(toolkit_views)', | 1096 'toolkit_views%': '<(toolkit_views)', |
1087 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', | 1097 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', |
1088 'use_aura%': '<(use_aura)', | 1098 'use_aura%': '<(use_aura)', |
1089 'use_ash%': '<(use_ash)', | 1099 'use_ash%': '<(use_ash)', |
(...skipping 5024 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
6114 # settings in target dicts. SYMROOT is a special case, because many other | 6124 # settings in target dicts. SYMROOT is a special case, because many other |
6115 # Xcode variables depend on it, including variables such as | 6125 # Xcode variables depend on it, including variables such as |
6116 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6126 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6117 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6127 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6118 # files to appear (when present) in the UI as actual files and not red | 6128 # files to appear (when present) in the UI as actual files and not red |
6119 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6129 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6120 # and therefore SYMROOT, needs to be set at the project level. | 6130 # and therefore SYMROOT, needs to be set at the project level. |
6121 'SYMROOT': '<(DEPTH)/xcodebuild', | 6131 'SYMROOT': '<(DEPTH)/xcodebuild', |
6122 }, | 6132 }, |
6123 } | 6133 } |
OLD | NEW |