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 # .gyp files should set chromium_code to 1 if they build Chromium-specific | 7 # .gyp files should set chromium_code to 1 if they build Chromium-specific |
8 # code, as opposed to external code. This variable is used to control | 8 # code, as opposed to external code. This variable is used to control |
9 # such things as the set of warnings to enable, and whether warnings are | 9 # such things as the set of warnings to enable, and whether warnings are |
10 # treated as errors. | 10 # treated as errors. |
11 'chromium_code%': 0, | 11 'chromium_code%': 0, |
12 | 12 |
13 # Variables expected to be overriden on the GYP command line (-D) or by | 13 # Variables expected to be overriden on the GYP command line (-D) or by |
14 # ~/.gyp/include.gypi. | 14 # ~/.gyp/include.gypi. |
15 | 15 |
16 # Override chromium_mac_pch and set it to 0 to suppress the use of | 16 # Override chromium_mac_pch and set it to 0 to suppress the use of |
17 # precompiled headers on the Mac. Prefix header injection may still be | 17 # precompiled headers on the Mac. Prefix header injection may still be |
18 # used, but prefix headers will not be precompiled. This is useful when | 18 # used, but prefix headers will not be precompiled. This is useful when |
19 # using distcc to distribute a build to compile slaves that don't | 19 # using distcc to distribute a build to compile slaves that don't |
20 # share the same compiler executable as the system driving the compilation, | 20 # share the same compiler executable as the system driving the compilation, |
21 # because precompiled headers rely on pointers into a specific compiler | 21 # because precompiled headers rely on pointers into a specific compiler |
22 # executable's image. Setting this to 0 is needed to use an experimental | 22 # executable's image. Setting this to 0 is needed to use an experimental |
23 # Linux-Mac cross compiler distcc farm. | 23 # Linux-Mac cross compiler distcc farm. |
24 'chromium_mac_pch%': 1, | 24 'chromium_mac_pch%': 1, |
25 | 25 |
26 # Override branding to select the desired branding flavor. | 26 # Override branding to select the desired branding flavor. |
27 'branding%': 'Chromium', | 27 'branding%': 'Chromium', |
28 | 28 |
| 29 # Override buildtype to select the desired build flavor. |
| 30 # Dev - everyday build for development/testing |
| 31 # Official - release build (generally implies additional processing) |
| 32 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp |
| 33 # conversion is done), some of the things which are now controlled by |
| 34 # 'branding', such as symbol generation, will need to be refactored based |
| 35 # on 'buildtype' (i.e. we don't care about saving symbols for non-Official |
| 36 # builds). |
| 37 'buildtype%': 'Dev', |
| 38 |
29 # Set to 1 to enable code coverage. In addition to build changes | 39 # Set to 1 to enable code coverage. In addition to build changes |
30 # (e.g. extra CFLAGS), also creates a new target in the src/chrome | 40 # (e.g. extra CFLAGS), also creates a new target in the src/chrome |
31 # project file called "coverage". | 41 # project file called "coverage". |
32 # Currently ignored on Windows. | 42 # Currently ignored on Windows. |
33 'coverage%': 0, | 43 'coverage%': 0, |
34 | 44 |
35 # Overridable specification for potential use of alternative | 45 # Overridable specification for potential use of alternative |
36 # JavaScript engines. | 46 # JavaScript engines. |
37 'javascript_engine%': 'v8', | 47 'javascript_engine%': 'v8', |
38 | 48 |
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
539 # settings in target dicts. SYMROOT is a special case, because many other | 549 # settings in target dicts. SYMROOT is a special case, because many other |
540 # Xcode variables depend on it, including variables such as | 550 # Xcode variables depend on it, including variables such as |
541 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 551 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
542 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 552 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
543 # files to appear (when present) in the UI as actual files and not red | 553 # files to appear (when present) in the UI as actual files and not red |
544 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 554 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
545 # and therefore SYMROOT, needs to be set at the project level. | 555 # and therefore SYMROOT, needs to be set at the project level. |
546 'SYMROOT': '<(DEPTH)/xcodebuild', | 556 'SYMROOT': '<(DEPTH)/xcodebuild', |
547 }, | 557 }, |
548 } | 558 } |
OLD | NEW |