Chromium Code Reviews| 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 # The relative path from 'src/third_party' to the GYP file of the JPEG | |
|
Mark Mentovai
2010/11/30 15:06:01
This doesn’t need to be relative to src/third_part
Hironori Bono
2010/12/03 09:32:16
Done. Thank you for noticing it. (Such comments ar
| |
| 144 # library used by Chromium. To use libjpeg-turbo instead of libjpeg, we | |
| 145 # need to change this variable to 'libjpeg_turbo/libjpeg.gyp'. | |
| 146 'libjpeg_gyp_path%': 'libjpeg/libjpeg.gyp', | |
| 147 | |
| 143 'library%': '<(library)', | 148 'library%': '<(library)', |
| 144 | 149 |
| 145 # Variable 'component' is for cases where we would like to build some | 150 # Variable 'component' is for cases where we would like to build some |
| 146 # components as dynamic shared libraries but still need variable | 151 # components as dynamic shared libraries but still need variable |
| 147 # 'library' for static libraries. | 152 # 'library' for static libraries. |
| 148 # By default, component is set to whatever library is set to and | 153 # 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. | 154 # it can be overriden by the GYP command line or by ~/.gyp/include.gypi. |
| 150 'component%': '<(library)', | 155 'component%': '<(library)', |
| 151 }, | 156 }, |
| 152 | 157 |
| 153 # Define branding and buildtype on the basis of their settings within the | 158 # Define branding and buildtype on the basis of their settings within the |
| 154 # variables sub-dict above, unless overridden. | 159 # variables sub-dict above, unless overridden. |
| 155 'branding%': '<(branding)', | 160 'branding%': '<(branding)', |
| 156 'buildtype%': '<(buildtype)', | 161 'buildtype%': '<(buildtype)', |
| 157 'target_arch%': '<(target_arch)', | 162 'target_arch%': '<(target_arch)', |
| 158 'host_arch%': '<(host_arch)', | 163 'host_arch%': '<(host_arch)', |
| 159 'toolkit_views%': '<(toolkit_views)', | 164 'toolkit_views%': '<(toolkit_views)', |
| 160 'use_gnome_keyring%': '<(use_gnome_keyring)', | 165 'use_gnome_keyring%': '<(use_gnome_keyring)', |
| 161 'linux_fpic%': '<(linux_fpic)', | 166 'linux_fpic%': '<(linux_fpic)', |
| 162 'chromeos%': '<(chromeos)', | 167 'chromeos%': '<(chromeos)', |
| 163 'touchui%': '<(touchui)', | 168 'touchui%': '<(touchui)', |
| 164 'inside_chromium_build%': '<(inside_chromium_build)', | 169 'inside_chromium_build%': '<(inside_chromium_build)', |
| 165 'fastbuild%': '<(fastbuild)', | 170 'fastbuild%': '<(fastbuild)', |
| 166 'python_ver%': '<(python_ver)', | 171 'python_ver%': '<(python_ver)', |
| 167 'armv7%': '<(armv7)', | 172 'armv7%': '<(armv7)', |
| 168 'arm_neon%': '<(arm_neon)', | 173 'arm_neon%': '<(arm_neon)', |
| 169 'sysroot%': '<(sysroot)', | 174 'sysroot%': '<(sysroot)', |
| 170 'disable_sse2%': '<(disable_sse2)', | 175 'disable_sse2%': '<(disable_sse2)', |
| 171 'remoting%': '<(remoting)', | 176 'remoting%': '<(remoting)', |
| 177 'libjpeg_gyp_path%': '<(libjpeg_gyp_path)', | |
|
Mark Mentovai
2010/11/30 15:06:01
It still might be a good idea to have a condition
Hironori Bono
2010/12/03 09:32:16
Done. I have added a 'use_libjpeg_turbo' variable
| |
| 172 'library%': '<(library)', | 178 'library%': '<(library)', |
| 173 'component%': '<(component)', | 179 'component%': '<(component)', |
| 174 | 180 |
| 175 # The release channel that this build targets. This is used to restrict | 181 # The release channel that this build targets. This is used to restrict |
| 176 # channel-specific build options, like which installer packages to create. | 182 # channel-specific build options, like which installer packages to create. |
| 177 # The default is 'all', which does no channel-specific filtering. | 183 # The default is 'all', which does no channel-specific filtering. |
| 178 'channel%': 'all', | 184 'channel%': 'all', |
| 179 | 185 |
| 180 # Override chromium_mac_pch and set it to 0 to suppress the use of | 186 # 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 | 187 # 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. | 1538 # and therefore SYMROOT, needs to be set at the project level. |
| 1533 'SYMROOT': '<(DEPTH)/xcodebuild', | 1539 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 1534 }, | 1540 }, |
| 1535 } | 1541 } |
| 1536 | 1542 |
| 1537 # Local Variables: | 1543 # Local Variables: |
| 1538 # tab-width:2 | 1544 # tab-width:2 |
| 1539 # indent-tabs-mode:nil | 1545 # indent-tabs-mode:nil |
| 1540 # End: | 1546 # End: |
| 1541 # vim: set expandtab tabstop=2 shiftwidth=2: | 1547 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |