OLD | NEW |
---|---|
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 or targets should set chromium_code to 1 if they build | 10 # .gyp files or targets should set chromium_code to 1 if they build |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
133 | 133 |
134 # The system root for cross-compiles. Default: none. | 134 # The system root for cross-compiles. Default: none. |
135 'sysroot%': '', | 135 'sysroot%': '', |
136 | 136 |
137 # On Linux, we build with sse2 for Chromium builds. | 137 # On Linux, we build with sse2 for Chromium builds. |
138 'disable_sse2%': 0, | 138 'disable_sse2%': 0, |
139 | 139 |
140 # Remoting compilation is enabled by default. Set to 0 to disable. | 140 # Remoting compilation is enabled by default. Set to 0 to disable. |
141 'remoting%': 1, | 141 'remoting%': 1, |
142 | 142 |
143 # Use libjpeg-turbo instead of libjpeg. | |
144 'libjpeg_turbo%': 0, | |
145 | |
143 'library%': '<(library)', | 146 'library%': '<(library)', |
144 | 147 |
145 # Variable 'component' is for cases where we would like to build some | 148 # Variable 'component' is for cases where we would like to build some |
146 # components as dynamic shared libraries but still need variable | 149 # components as dynamic shared libraries but still need variable |
147 # 'library' for static libraries. | 150 # 'library' for static libraries. |
148 # By default, component is set to whatever library is set to and | 151 # By default, component is set to whatever library is set to and |
149 # it can be overriden by the GYP command line or by ~/.gyp/include.gypi. | 152 # it can be overriden by the GYP command line or by ~/.gyp/include.gypi. |
150 'component%': '<(library)', | 153 'component%': '<(library)', |
151 }, | 154 }, |
152 | 155 |
153 # Define branding and buildtype on the basis of their settings within the | 156 # Define branding and buildtype on the basis of their settings within the |
154 # variables sub-dict above, unless overridden. | 157 # variables sub-dict above, unless overridden. |
155 'branding%': '<(branding)', | 158 'branding%': '<(branding)', |
156 'buildtype%': '<(buildtype)', | 159 'buildtype%': '<(buildtype)', |
157 'target_arch%': '<(target_arch)', | 160 'target_arch%': '<(target_arch)', |
158 'host_arch%': '<(host_arch)', | 161 'host_arch%': '<(host_arch)', |
159 'toolkit_views%': '<(toolkit_views)', | 162 'toolkit_views%': '<(toolkit_views)', |
160 'use_gnome_keyring%': '<(use_gnome_keyring)', | 163 'use_gnome_keyring%': '<(use_gnome_keyring)', |
161 'linux_fpic%': '<(linux_fpic)', | 164 'linux_fpic%': '<(linux_fpic)', |
162 'chromeos%': '<(chromeos)', | 165 'chromeos%': '<(chromeos)', |
163 'touchui%': '<(touchui)', | 166 'touchui%': '<(touchui)', |
164 'inside_chromium_build%': '<(inside_chromium_build)', | 167 'inside_chromium_build%': '<(inside_chromium_build)', |
165 'fastbuild%': '<(fastbuild)', | 168 'fastbuild%': '<(fastbuild)', |
166 'python_ver%': '<(python_ver)', | 169 'python_ver%': '<(python_ver)', |
167 'armv7%': '<(armv7)', | 170 'armv7%': '<(armv7)', |
168 'arm_neon%': '<(arm_neon)', | 171 'arm_neon%': '<(arm_neon)', |
169 'sysroot%': '<(sysroot)', | 172 'sysroot%': '<(sysroot)', |
170 'disable_sse2%': '<(disable_sse2)', | 173 'disable_sse2%': '<(disable_sse2)', |
171 'remoting%': '<(remoting)', | 174 'remoting%': '<(remoting)', |
175 'libjpeg_turbo%': '<(libjpeg_turbo)', | |
Mark Mentovai
2010/11/29 19:14:17
You may not need the variables-in-variables hack f
Hironori Bono
2010/11/30 09:28:09
Thank you for your comment. As written here, I nee
| |
172 'library%': '<(library)', | 176 'library%': '<(library)', |
173 'component%': '<(component)', | 177 'component%': '<(component)', |
174 | 178 |
175 # The release channel that this build targets. This is used to restrict | 179 # The release channel that this build targets. This is used to restrict |
176 # channel-specific build options, like which installer packages to create. | 180 # channel-specific build options, like which installer packages to create. |
177 # The default is 'all', which does no channel-specific filtering. | 181 # The default is 'all', which does no channel-specific filtering. |
178 'channel%': 'all', | 182 'channel%': 'all', |
179 | 183 |
180 # Override chromium_mac_pch and set it to 0 to suppress the use of | 184 # Override chromium_mac_pch and set it to 0 to suppress the use of |
181 # precompiled headers on the Mac. Prefix header injection may still be | 185 # precompiled headers on the Mac. Prefix header injection may still be |
(...skipping 1350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1532 # and therefore SYMROOT, needs to be set at the project level. | 1536 # and therefore SYMROOT, needs to be set at the project level. |
1533 'SYMROOT': '<(DEPTH)/xcodebuild', | 1537 'SYMROOT': '<(DEPTH)/xcodebuild', |
1534 }, | 1538 }, |
1535 } | 1539 } |
1536 | 1540 |
1537 # Local Variables: | 1541 # Local Variables: |
1538 # tab-width:2 | 1542 # tab-width:2 |
1539 # indent-tabs-mode:nil | 1543 # indent-tabs-mode:nil |
1540 # End: | 1544 # End: |
1541 # vim: set expandtab tabstop=2 shiftwidth=2: | 1545 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |