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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 | 87 |
88 # Enable Wayland display server support. | 88 # Enable Wayland display server support. |
89 'enable_wayland_server%' : 0, | 89 'enable_wayland_server%' : 0, |
90 | 90 |
91 # By default we build against a stable sysroot image to avoid | 91 # By default we build against a stable sysroot image to avoid |
92 # depending on the packages installed on the local machine. Set this | 92 # depending on the packages installed on the local machine. Set this |
93 # to 0 to build against locally installed headers and libraries (e.g. | 93 # to 0 to build against locally installed headers and libraries (e.g. |
94 # if packaging for a linux distro) | 94 # if packaging for a linux distro) |
95 'use_sysroot%': 1, | 95 'use_sysroot%': 1, |
96 | 96 |
97 # Set this to true when building with Clang. | |
98 # See http://code.google.com/p/chromium/wiki/Clang for details. | |
99 # If this is set, clang is used as both host and target compiler in | |
100 # cross-compile builds. | |
101 'clang%': 0, | |
102 | |
103 # Override buildtype to select the desired build flavor. | 97 # Override buildtype to select the desired build flavor. |
104 # Dev - everyday build for development/testing | 98 # Dev - everyday build for development/testing |
105 # Official - release build (generally implies additional processing) | 99 # Official - release build (generally implies additional processing) |
106 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp | 100 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp |
107 # conversion is done), some of the things which are now controlled by | 101 # conversion is done), some of the things which are now controlled by |
108 # 'branding', such as symbol generation, will need to be refactored | 102 # 'branding', such as symbol generation, will need to be refactored |
109 # based on 'buildtype' (i.e. we don't care about saving symbols for | 103 # based on 'buildtype' (i.e. we don't care about saving symbols for |
110 # non-Official # builds). | 104 # non-Official # builds). |
111 'buildtype%': 'Dev', | 105 'buildtype%': 'Dev', |
112 | 106 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 }, { | 146 }, { |
153 # Default architecture we're building for is the architecture we'r
e | 147 # Default architecture we're building for is the architecture we'r
e |
154 # building on, and possibly sub-architecture (for iOS builds). | 148 # building on, and possibly sub-architecture (for iOS builds). |
155 'target_arch%': '<(host_arch)', | 149 'target_arch%': '<(host_arch)', |
156 }], | 150 }], |
157 ], | 151 ], |
158 }, | 152 }, |
159 # Copy conditionally-set variables out one scope. | 153 # Copy conditionally-set variables out one scope. |
160 'chromeos%': '<(chromeos)', | 154 'chromeos%': '<(chromeos)', |
161 'chromecast%': '<(chromecast)', | 155 'chromecast%': '<(chromecast)', |
162 'clang%': '<(clang)', | |
163 'desktop_linux%': '<(desktop_linux)', | 156 'desktop_linux%': '<(desktop_linux)', |
164 'use_aura%': '<(use_aura)', | 157 'use_aura%': '<(use_aura)', |
165 'use_ash%': '<(use_ash)', | 158 'use_ash%': '<(use_ash)', |
166 'use_cras%': '<(use_cras)', | 159 'use_cras%': '<(use_cras)', |
167 'use_ozone%': '<(use_ozone)', | 160 'use_ozone%': '<(use_ozone)', |
168 'embedded%': '<(embedded)', | 161 'embedded%': '<(embedded)', |
169 'use_libpci%': '<(use_libpci)', | 162 'use_libpci%': '<(use_libpci)', |
170 'use_openssl%': '<(use_openssl)', | 163 'use_openssl%': '<(use_openssl)', |
171 'use_openssl_certs%': '<(use_openssl_certs)', | 164 'use_openssl_certs%': '<(use_openssl_certs)', |
172 'enable_viewport%': '<(enable_viewport)', | 165 'enable_viewport%': '<(enable_viewport)', |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 }], | 292 }], |
300 | 293 |
301 ['target_arch=="mipsel"', { | 294 ['target_arch=="mipsel"', { |
302 'mips_arch_variant%': 'r1', | 295 'mips_arch_variant%': 'r1', |
303 }], | 296 }], |
304 | 297 |
305 # The system root for linux compiles. | 298 # The system root for linux compiles. |
306 # Not used when chromecast=1 since ozone_platform_gbm doesn't | 299 # Not used when chromecast=1 since ozone_platform_gbm doesn't |
307 # currently build against the linux sysroot | 300 # currently build against the linux sysroot |
308 # TODO(sbc): http://crbug.com/559708 | 301 # TODO(sbc): http://crbug.com/559708 |
309 ['OS=="linux" and chromeos==0 and chromecast==0 and clang==1 and use_s
ysroot==1', { | 302 ['OS=="linux" and chromeos==0 and chromecast==0 and use_sysroot==1', { |
310 # sysroot needs to be an absolute path otherwise it generates | 303 # sysroot needs to be an absolute path otherwise it generates |
311 # incorrect results when passed to pkg-config | 304 # incorrect results when passed to pkg-config |
312 'conditions': [ | 305 'conditions': [ |
313 ['target_arch=="arm"', { | 306 ['target_arch=="arm"', { |
314 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy
_arm-sysroot', | 307 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy
_arm-sysroot', |
315 }], | 308 }], |
316 ['target_arch=="x64"', { | 309 ['target_arch=="x64"', { |
317 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy
_amd64-sysroot', | 310 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy
_amd64-sysroot', |
318 }], | 311 }], |
319 ['target_arch=="ia32"', { | 312 ['target_arch=="ia32"', { |
320 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy
_i386-sysroot', | 313 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy
_i386-sysroot', |
321 }], | 314 }], |
322 ['target_arch=="mipsel"', { | 315 ['target_arch=="mipsel"', { |
323 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy
_mips-sysroot', | 316 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy
_mips-sysroot', |
324 }], | 317 }], |
325 ], | 318 ], |
326 }, { | 319 }, { |
327 'sysroot%': '' | 320 'sysroot%': '' |
328 }], # OS=="linux" and use_sysroot==1 | 321 }], # OS=="linux" and use_sysroot==1 |
329 ], | 322 ], |
330 }, | 323 }, |
331 | 324 |
332 # Copy conditionally-set variables out one scope. | 325 # Copy conditionally-set variables out one scope. |
333 'chromeos%': '<(chromeos)', | 326 'chromeos%': '<(chromeos)', |
334 'chromecast%': '<(chromecast)', | 327 'chromecast%': '<(chromecast)', |
335 'clang%': '<(clang)', | |
336 'host_arch%': '<(host_arch)', | 328 'host_arch%': '<(host_arch)', |
337 'target_arch%': '<(target_arch)', | 329 'target_arch%': '<(target_arch)', |
338 'target_subarch%': '<(target_subarch)', | 330 'target_subarch%': '<(target_subarch)', |
339 'mips_arch_variant%': '<(mips_arch_variant)', | 331 'mips_arch_variant%': '<(mips_arch_variant)', |
340 'mips_dsp_rev%': '<(mips_dsp_rev)', | 332 'mips_dsp_rev%': '<(mips_dsp_rev)', |
341 'toolkit_views%': '<(toolkit_views)', | 333 'toolkit_views%': '<(toolkit_views)', |
342 'desktop_linux%': '<(desktop_linux)', | 334 'desktop_linux%': '<(desktop_linux)', |
343 'use_aura%': '<(use_aura)', | 335 'use_aura%': '<(use_aura)', |
344 'use_ash%': '<(use_ash)', | 336 'use_ash%': '<(use_ash)', |
345 'use_cras%': '<(use_cras)', | 337 'use_cras%': '<(use_cras)', |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
626 # (disabled) in ~/.gyp/include.gypi or via the GYP command line. | 618 # (disabled) in ~/.gyp/include.gypi or via the GYP command line. |
627 # This setting will override the default. | 619 # This setting will override the default. |
628 # | 620 # |
629 # See | 621 # See |
630 # http://code.google.com/p/chromium/wiki/WindowsPrecompiledHeaders | 622 # http://code.google.com/p/chromium/wiki/WindowsPrecompiledHeaders |
631 # for details. | 623 # for details. |
632 'chromium_win_pch%': 0, | 624 'chromium_win_pch%': 0, |
633 | 625 |
634 # Clang stuff. | 626 # Clang stuff. |
635 'make_clang_dir%': 'third_party/llvm-build/Release+Asserts', | 627 'make_clang_dir%': 'third_party/llvm-build/Release+Asserts', |
| 628 # Set this to true when building with Clang. |
| 629 # See http://code.google.com/p/chromium/wiki/Clang for details. |
| 630 # If this is set, clang is used as both host and target compiler in |
| 631 # cross-compile builds. |
| 632 'clang%': 0, |
636 | 633 |
637 # Use experimental lld linker instead of the platform's default linker. | 634 # Use experimental lld linker instead of the platform's default linker. |
638 'use_lld%': 0, | 635 'use_lld%': 0, |
639 | 636 |
640 # Enable plugin installation by default. | 637 # Enable plugin installation by default. |
641 'enable_plugin_installation%': 1, | 638 'enable_plugin_installation%': 1, |
642 | 639 |
643 # Specifies whether to use canvas_skia.cc in place of platform | 640 # Specifies whether to use canvas_skia.cc in place of platform |
644 # specific implementations of gfx::Canvas. Affects text drawing in the | 641 # specific implementations of gfx::Canvas. Affects text drawing in the |
645 # Chrome UI. | 642 # Chrome UI. |
(...skipping 5732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6378 # settings in target dicts. SYMROOT is a special case, because many other | 6375 # settings in target dicts. SYMROOT is a special case, because many other |
6379 # Xcode variables depend on it, including variables such as | 6376 # Xcode variables depend on it, including variables such as |
6380 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6377 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6381 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6378 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6382 # files to appear (when present) in the UI as actual files and not red | 6379 # files to appear (when present) in the UI as actual files and not red |
6383 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6380 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6384 # and therefore SYMROOT, needs to be set at the project level. | 6381 # and therefore SYMROOT, needs to be set at the project level. |
6385 'SYMROOT': '<(DEPTH)/xcodebuild', | 6382 'SYMROOT': '<(DEPTH)/xcodebuild', |
6386 }, | 6383 }, |
6387 } | 6384 } |
OLD | NEW |