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 # 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': { | 9 'variables': { |
10 # .gyp files should set chromium_code to 1 if they build Chromium-specific | 10 # .gyp files should set chromium_code to 1 if they build Chromium-specific |
(...skipping 17 matching lines...) Expand all Loading... |
28 # Override buildtype to select the desired build flavor. | 28 # Override buildtype to select the desired build flavor. |
29 # Dev - everyday build for development/testing | 29 # Dev - everyday build for development/testing |
30 # Official - release build (generally implies additional processing) | 30 # Official - release build (generally implies additional processing) |
31 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp | 31 # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp |
32 # conversion is done), some of the things which are now controlled by | 32 # conversion is done), some of the things which are now controlled by |
33 # 'branding', such as symbol generation, will need to be refactored based | 33 # 'branding', such as symbol generation, will need to be refactored based |
34 # on 'buildtype' (i.e. we don't care about saving symbols for non-Official | 34 # on 'buildtype' (i.e. we don't care about saving symbols for non-Official |
35 # builds). | 35 # builds). |
36 'buildtype%': 'Dev', | 36 'buildtype%': 'Dev', |
37 | 37 |
| 38 # The architecture that we're building on. |
| 39 'target_arch%': 'ia32', |
| 40 |
38 # We do want to build Chromium with Breakpad support in certain | 41 # We do want to build Chromium with Breakpad support in certain |
39 # situations. I.e. for Chrome bot. | 42 # situations. I.e. for Chrome bot. |
40 'linux_chromium_breakpad%': 0, | 43 'linux_chromium_breakpad%': 0, |
41 }, | 44 }, |
42 | 45 |
43 # Define branding and buildtype on the basis of their settings within the | 46 # Define branding and buildtype on the basis of their settings within the |
44 # variables sub-dict above, unless overridden. | 47 # variables sub-dict above, unless overridden. |
45 'branding%': '<(branding)', | 48 'branding%': '<(branding)', |
46 'buildtype%': '<(buildtype)', | 49 'buildtype%': '<(buildtype)', |
| 50 'target_arch%': '<(target_arch)', |
47 | 51 |
48 # Override chromium_mac_pch and set it to 0 to suppress the use of | 52 # Override chromium_mac_pch and set it to 0 to suppress the use of |
49 # precompiled headers on the Mac. Prefix header injection may still be | 53 # precompiled headers on the Mac. Prefix header injection may still be |
50 # used, but prefix headers will not be precompiled. This is useful when | 54 # used, but prefix headers will not be precompiled. This is useful when |
51 # using distcc to distribute a build to compile slaves that don't | 55 # using distcc to distribute a build to compile slaves that don't |
52 # share the same compiler executable as the system driving the compilation, | 56 # share the same compiler executable as the system driving the compilation, |
53 # because precompiled headers rely on pointers into a specific compiler | 57 # because precompiled headers rely on pointers into a specific compiler |
54 # executable's image. Setting this to 0 is needed to use an experimental | 58 # executable's image. Setting this to 0 is needed to use an experimental |
55 # Linux-Mac cross compiler distcc farm. | 59 # Linux-Mac cross compiler distcc farm. |
56 'chromium_mac_pch%': 1, | 60 'chromium_mac_pch%': 1, |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 # Yes(1) means set use the common linker options. | 111 # Yes(1) means set use the common linker options. |
108 'msvs_use_common_linker_extras%': 1, | 112 'msvs_use_common_linker_extras%': 1, |
109 | 113 |
110 # TODO(sgk): eliminate this if possible. | 114 # TODO(sgk): eliminate this if possible. |
111 # It would be nicer to support this via a setting in 'target_defaults' | 115 # It would be nicer to support this via a setting in 'target_defaults' |
112 # in chrome/app/locales/locales.gypi overriding the setting in the | 116 # in chrome/app/locales/locales.gypi overriding the setting in the |
113 # 'Debug' configuration in the 'target_defaults' dict below, | 117 # 'Debug' configuration in the 'target_defaults' dict below, |
114 # but that doesn't work as we'd like. | 118 # but that doesn't work as we'd like. |
115 'msvs_debug_link_incremental%': '2', | 119 'msvs_debug_link_incremental%': '2', |
116 | 120 |
117 # The architecture that we're building on. | |
118 'target_arch%': 'ia32', | |
119 | |
120 # By default linux does not use views. To turn on views in Linux | 121 # By default linux does not use views. To turn on views in Linux |
121 # set the variable GYP_DEFINES to "toolkit_views=1", or modify | 122 # set the variable GYP_DEFINES to "toolkit_views=1", or modify |
122 # ~/.gyp/include.gypi . | 123 # ~/.gyp/include.gypi . |
123 'toolkit_views%': 0, | 124 'toolkit_views%': 0, |
124 | 125 |
125 'chromeos%': 0, | 126 'chromeos%': 0, |
126 | 127 |
127 # The system root for cross-compiles. Default: none. | 128 # The system root for cross-compiles. Default: none. |
128 'sysroot%': '', | 129 'sysroot%': '', |
129 | 130 |
(...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
833 # settings in target dicts. SYMROOT is a special case, because many other | 834 # settings in target dicts. SYMROOT is a special case, because many other |
834 # Xcode variables depend on it, including variables such as | 835 # Xcode variables depend on it, including variables such as |
835 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 836 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
836 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 837 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
837 # files to appear (when present) in the UI as actual files and not red | 838 # files to appear (when present) in the UI as actual files and not red |
838 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 839 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
839 # and therefore SYMROOT, needs to be set at the project level. | 840 # and therefore SYMROOT, needs to be set at the project level. |
840 'SYMROOT': '<(DEPTH)/xcodebuild', | 841 'SYMROOT': '<(DEPTH)/xcodebuild', |
841 }, | 842 }, |
842 } | 843 } |
OLD | NEW |