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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
81 | 81 |
82 # Enable HiDPI support. | 82 # Enable HiDPI support. |
83 'enable_hidpi%': 0, | 83 'enable_hidpi%': 0, |
84 | 84 |
85 # Enable top chrome material design. | 85 # Enable top chrome material design. |
86 'enable_topchrome_md%' : 0, | 86 'enable_topchrome_md%' : 0, |
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 # Build against pre-built sysroot image on linux. By default | 91 # By default we build against a stable sysroot image to avoid |
92 # the sysroot image is only used for Official builds or when cross | 92 # depending of the packages installed on the local machine. Set this |
Dirk Pranke
2015/11/21 23:30:15
s/depending of/depending on/
Sam Clegg
2015/11/23 17:02:55
Done.
| |
93 # compiling. | 93 # to 0 to build against locally install headers and libraries (e.g. |
Dirk Pranke
2015/11/21 23:30:15
s/locally install/locally installed/
Sam Clegg
2015/11/23 17:02:55
Done.
| |
94 'use_sysroot%': 0, | 94 # if packaging for a linux distro) |
95 'use_sysroot%': 1, | |
95 | 96 |
96 # Override buildtype to select the desired build flavor. | 97 # Override buildtype to select the desired build flavor. |
97 # Dev - everyday build for development/testing | 98 # Dev - everyday build for development/testing |
98 # Official - release build (generally implies additional processing) | 99 # Official - release build (generally implies additional processing) |
99 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp | 100 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp |
100 # 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 |
101 # 'branding', such as symbol generation, will need to be refactored | 102 # 'branding', such as symbol generation, will need to be refactored |
102 # 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 |
103 # non-Official # builds). | 104 # non-Official # builds). |
104 'buildtype%': 'Dev', | 105 'buildtype%': 'Dev', |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
287 }, { | 288 }, { |
288 'mips_arch_variant%': 'r2', | 289 'mips_arch_variant%': 'r2', |
289 }], | 290 }], |
290 ], | 291 ], |
291 }], | 292 }], |
292 | 293 |
293 ['target_arch=="mipsel"', { | 294 ['target_arch=="mipsel"', { |
294 'mips_arch_variant%': 'r1', | 295 'mips_arch_variant%': 'r1', |
295 }], | 296 }], |
296 | 297 |
297 # The system root for cross-compiles. Default: none. | 298 # The system root for linux compiles. |
298 ['OS=="linux" and chromeos==0 and ((branding=="Chrome" and buildtype== "Official") or target_arch=="arm" or target_arch=="mipsel" or use_sysroot==1)', { | 299 # Not used when chromecast=1 since ozone_platform_gbm doesn't |
300 # currently build against the linux sysroot | |
301 # TODO(sbc): http://crbug.com/559708 | |
302 ['OS=="linux" and chromeos==0 and chromecast==0 and use_sysroot==1', { | |
299 # sysroot needs to be an absolute path otherwise it generates | 303 # sysroot needs to be an absolute path otherwise it generates |
300 # incorrect results when passed to pkg-config | 304 # incorrect results when passed to pkg-config |
301 'conditions': [ | 305 'conditions': [ |
302 ['target_arch=="arm"', { | 306 ['target_arch=="arm"', { |
303 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _arm-sysroot', | 307 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _arm-sysroot', |
304 }], | 308 }], |
305 ['target_arch=="x64"', { | 309 ['target_arch=="x64"', { |
306 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _amd64-sysroot', | 310 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_wheezy _amd64-sysroot', |
307 }], | 311 }], |
308 ['target_arch=="ia32"', { | 312 ['target_arch=="ia32"', { |
(...skipping 6064 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
6373 # settings in target dicts. SYMROOT is a special case, because many other | 6377 # settings in target dicts. SYMROOT is a special case, because many other |
6374 # Xcode variables depend on it, including variables such as | 6378 # Xcode variables depend on it, including variables such as |
6375 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6379 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6376 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6380 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6377 # files to appear (when present) in the UI as actual files and not red | 6381 # files to appear (when present) in the UI as actual files and not red |
6378 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6382 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6379 # and therefore SYMROOT, needs to be set at the project level. | 6383 # and therefore SYMROOT, needs to be set at the project level. |
6380 'SYMROOT': '<(DEPTH)/xcodebuild', | 6384 'SYMROOT': '<(DEPTH)/xcodebuild', |
6381 }, | 6385 }, |
6382 } | 6386 } |
OLD | NEW |