| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 'chromeos%': 0, | 71 'chromeos%': 0, |
| 72 | 72 |
| 73 # This variable tells WebCore.gyp and JavaScriptCore.gyp whether they are | 73 # This variable tells WebCore.gyp and JavaScriptCore.gyp whether they are |
| 74 # are built under a chromium full build (1) or a webkit.org chromium | 74 # are built under a chromium full build (1) or a webkit.org chromium |
| 75 # build (0). | 75 # build (0). |
| 76 'inside_chromium_build%': 1, | 76 'inside_chromium_build%': 1, |
| 77 | 77 |
| 78 # Set to 1 to enable fast builds. It disables debug info for fastest | 78 # Set to 1 to enable fast builds. It disables debug info for fastest |
| 79 # compilation. | 79 # compilation. |
| 80 'fastbuild%': 0, | 80 'fastbuild%': 0, |
| 81 |
| 82 # Set to 1 compile with -fPIC cflag on linux. This is a must for shared |
| 83 # libraries on linux x86-64 and arm. |
| 84 'linux_fpic%': 0, |
| 81 }, | 85 }, |
| 82 | 86 |
| 83 # Define branding and buildtype on the basis of their settings within the | 87 # Define branding and buildtype on the basis of their settings within the |
| 84 # variables sub-dict above, unless overridden. | 88 # variables sub-dict above, unless overridden. |
| 85 'branding%': '<(branding)', | 89 'branding%': '<(branding)', |
| 86 'buildtype%': '<(buildtype)', | 90 'buildtype%': '<(buildtype)', |
| 87 'target_arch%': '<(target_arch)', | 91 'target_arch%': '<(target_arch)', |
| 88 'host_arch%': '<(host_arch)', | 92 'host_arch%': '<(host_arch)', |
| 89 'toolkit_views%': '<(toolkit_views)', | 93 'toolkit_views%': '<(toolkit_views)', |
| 90 'chromeos%': '<(chromeos)', | 94 'chromeos%': '<(chromeos)', |
| 91 'inside_chromium_build%': '<(inside_chromium_build)', | 95 'inside_chromium_build%': '<(inside_chromium_build)', |
| 92 'fastbuild%': '<(fastbuild)', | 96 'fastbuild%': '<(fastbuild)', |
| 97 'linux_fpic%': '<(linux_fpic)', |
| 93 | 98 |
| 94 # The release channel that this build targets. This is used to restrict | 99 # The release channel that this build targets. This is used to restrict |
| 95 # channel-specific build options, like which installer packages to create. | 100 # channel-specific build options, like which installer packages to create. |
| 96 # The default is 'all', which does no channel-specific filtering. | 101 # The default is 'all', which does no channel-specific filtering. |
| 97 'channel%': 'all', | 102 'channel%': 'all', |
| 98 | 103 |
| 99 # Override chromium_mac_pch and set it to 0 to suppress the use of | 104 # Override chromium_mac_pch and set it to 0 to suppress the use of |
| 100 # precompiled headers on the Mac. Prefix header injection may still be | 105 # precompiled headers on the Mac. Prefix header injection may still be |
| 101 # used, but prefix headers will not be precompiled. This is useful when | 106 # used, but prefix headers will not be precompiled. This is useful when |
| 102 # using distcc to distribute a build to compile slaves that don't | 107 # using distcc to distribute a build to compile slaves that don't |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 | 185 |
| 181 # Set this to true to enable SELinux support. | 186 # Set this to true to enable SELinux support. |
| 182 'selinux%': 0, | 187 'selinux%': 0, |
| 183 | 188 |
| 184 # Strip the binary after dumping symbols. | 189 # Strip the binary after dumping symbols. |
| 185 'linux_strip_binary%': 0, | 190 'linux_strip_binary%': 0, |
| 186 | 191 |
| 187 # Enable TCMalloc. | 192 # Enable TCMalloc. |
| 188 'linux_use_tcmalloc%': 0, | 193 'linux_use_tcmalloc%': 0, |
| 189 | 194 |
| 190 'linux_fpic%': 0, | |
| 191 | |
| 192 # Set to select the Title Case versions of strings in GRD files. | 195 # Set to select the Title Case versions of strings in GRD files. |
| 193 'use_titlecase_in_grd_files%': 0, | 196 'use_titlecase_in_grd_files%': 0, |
| 194 | 197 |
| 195 # Used to disable Native Client at compile time, for platforms where it | 198 # Used to disable Native Client at compile time, for platforms where it |
| 196 # isn't supported | 199 # isn't supported |
| 197 'disable_nacl%': 0, | 200 'disable_nacl%': 0, |
| 198 | 201 |
| 199 # Set ARM-v7 compilation flags | 202 # Set ARM-v7 compilation flags |
| 200 'armv7%': 0, | 203 'armv7%': 0, |
| 201 | 204 |
| (...skipping 967 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1169 # and therefore SYMROOT, needs to be set at the project level. | 1172 # and therefore SYMROOT, needs to be set at the project level. |
| 1170 'SYMROOT': '<(DEPTH)/xcodebuild', | 1173 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 1171 }, | 1174 }, |
| 1172 } | 1175 } |
| 1173 | 1176 |
| 1174 # Local Variables: | 1177 # Local Variables: |
| 1175 # tab-width:2 | 1178 # tab-width:2 |
| 1176 # indent-tabs-mode:nil | 1179 # indent-tabs-mode:nil |
| 1177 # End: | 1180 # End: |
| 1178 # vim: set expandtab tabstop=2 shiftwidth=2: | 1181 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |