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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 103 | 103 |
| 104 # Set Neon compilation flags (only meaningful if armv7==1). | 104 # Set Neon compilation flags (only meaningful if armv7==1). |
| 105 'arm_neon%': 1, | 105 'arm_neon%': 1, |
| 106 | 106 |
| 107 # The system root for cross-compiles. Default: none. | 107 # The system root for cross-compiles. Default: none. |
| 108 'sysroot%': '', | 108 'sysroot%': '', |
| 109 | 109 |
| 110 # On Linux, we build with sse2 for Chromium builds. | 110 # On Linux, we build with sse2 for Chromium builds. |
| 111 'disable_sse2%': 0, | 111 'disable_sse2%': 0, |
| 112 | 112 |
| 113 # Chromoting compilation is enabled by default. Set to 0 to disable. | 113 # Reomoting compilation is enabled by default. Set to 0 to disable. |
|
Sergey Ulanov
2010/06/11 20:42:09
Typo. Remoting
| |
| 114 'chromoting%': 1, | 114 'remoting%': 1, |
| 115 }, | 115 }, |
| 116 | 116 |
| 117 # Define branding and buildtype on the basis of their settings within the | 117 # Define branding and buildtype on the basis of their settings within the |
| 118 # variables sub-dict above, unless overridden. | 118 # variables sub-dict above, unless overridden. |
| 119 'branding%': '<(branding)', | 119 'branding%': '<(branding)', |
| 120 'buildtype%': '<(buildtype)', | 120 'buildtype%': '<(buildtype)', |
| 121 'target_arch%': '<(target_arch)', | 121 'target_arch%': '<(target_arch)', |
| 122 'host_arch%': '<(host_arch)', | 122 'host_arch%': '<(host_arch)', |
| 123 'toolkit_views%': '<(toolkit_views)', | 123 'toolkit_views%': '<(toolkit_views)', |
| 124 'chromeos%': '<(chromeos)', | 124 'chromeos%': '<(chromeos)', |
| 125 'inside_chromium_build%': '<(inside_chromium_build)', | 125 'inside_chromium_build%': '<(inside_chromium_build)', |
| 126 'fastbuild%': '<(fastbuild)', | 126 'fastbuild%': '<(fastbuild)', |
| 127 'linux_fpic%': '<(linux_fpic)', | 127 'linux_fpic%': '<(linux_fpic)', |
| 128 'python_ver%': '<(python_ver)', | 128 'python_ver%': '<(python_ver)', |
| 129 'armv7%': '<(armv7)', | 129 'armv7%': '<(armv7)', |
| 130 'arm_neon%': '<(arm_neon)', | 130 'arm_neon%': '<(arm_neon)', |
| 131 'sysroot%': '<(sysroot)', | 131 'sysroot%': '<(sysroot)', |
| 132 'disable_sse2%': '<(disable_sse2)', | 132 'disable_sse2%': '<(disable_sse2)', |
| 133 'chromoting%': '<(chromoting)', | 133 'remoting%': '<(remoting)', |
| 134 | 134 |
| 135 # The release channel that this build targets. This is used to restrict | 135 # The release channel that this build targets. This is used to restrict |
| 136 # channel-specific build options, like which installer packages to create. | 136 # channel-specific build options, like which installer packages to create. |
| 137 # The default is 'all', which does no channel-specific filtering. | 137 # The default is 'all', which does no channel-specific filtering. |
| 138 'channel%': 'all', | 138 'channel%': 'all', |
| 139 | 139 |
| 140 # Override chromium_mac_pch and set it to 0 to suppress the use of | 140 # Override chromium_mac_pch and set it to 0 to suppress the use of |
| 141 # precompiled headers on the Mac. Prefix header injection may still be | 141 # precompiled headers on the Mac. Prefix header injection may still be |
| 142 # used, but prefix headers will not be precompiled. This is useful when | 142 # used, but prefix headers will not be precompiled. This is useful when |
| 143 # using distcc to distribute a build to compile slaves that don't | 143 # using distcc to distribute a build to compile slaves that don't |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 401 'defines': ['GOOGLE_CHROME_BUILD'], | 401 'defines': ['GOOGLE_CHROME_BUILD'], |
| 402 }, { # else: branding!="Chrome" | 402 }, { # else: branding!="Chrome" |
| 403 'defines': ['CHROMIUM_BUILD'], | 403 'defines': ['CHROMIUM_BUILD'], |
| 404 }], | 404 }], |
| 405 ['toolkit_views==1', { | 405 ['toolkit_views==1', { |
| 406 'defines': ['TOOLKIT_VIEWS=1'], | 406 'defines': ['TOOLKIT_VIEWS=1'], |
| 407 }], | 407 }], |
| 408 ['chromeos==1', { | 408 ['chromeos==1', { |
| 409 'defines': ['OS_CHROMEOS=1'], | 409 'defines': ['OS_CHROMEOS=1'], |
| 410 }], | 410 }], |
| 411 ['chromoting==1', { | 411 ['remoting==1', { |
| 412 'defines': ['ENABLE_CHROMOTING=1'], | 412 'defines': ['ENABLE_REMOTING=1'], |
| 413 }], | 413 }], |
| 414 ['proprietary_codecs==1', { | 414 ['proprietary_codecs==1', { |
| 415 'defines': ['USE_PROPRIETARY_CODECS'], | 415 'defines': ['USE_PROPRIETARY_CODECS'], |
| 416 }], | 416 }], |
| 417 ['fastbuild!=0', { | 417 ['fastbuild!=0', { |
| 418 'conditions': [ | 418 'conditions': [ |
| 419 # Finally, for Windows, we simply turn on profiling. | 419 # Finally, for Windows, we simply turn on profiling. |
| 420 ['OS=="win"', { | 420 ['OS=="win"', { |
| 421 'msvs_settings': { | 421 'msvs_settings': { |
| 422 'VCLinkerTool': { | 422 'VCLinkerTool': { |
| (...skipping 954 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1377 # and therefore SYMROOT, needs to be set at the project level. | 1377 # and therefore SYMROOT, needs to be set at the project level. |
| 1378 'SYMROOT': '<(DEPTH)/xcodebuild', | 1378 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 1379 }, | 1379 }, |
| 1380 } | 1380 } |
| 1381 | 1381 |
| 1382 # Local Variables: | 1382 # Local Variables: |
| 1383 # tab-width:2 | 1383 # tab-width:2 |
| 1384 # indent-tabs-mode:nil | 1384 # indent-tabs-mode:nil |
| 1385 # End: | 1385 # End: |
| 1386 # vim: set expandtab tabstop=2 shiftwidth=2: | 1386 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |