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 expected to be overriden on the GYP command line (-D) or by | 9 # Variables expected to be overriden on the GYP command line (-D) or by |
10 # ~/.gyp/include.gypi. | 10 # ~/.gyp/include.gypi. |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 # Set to select the Title Case versions of strings in GRD files. | 122 # Set to select the Title Case versions of strings in GRD files. |
123 'use_titlecase_in_grd_files%': 0, | 123 'use_titlecase_in_grd_files%': 0, |
124 | 124 |
125 # Use translations provided by volunteers at launchpad.net. This | 125 # Use translations provided by volunteers at launchpad.net. This |
126 # currently only works on Linux. | 126 # currently only works on Linux. |
127 'use_third_party_translations%': 0, | 127 'use_third_party_translations%': 0, |
128 | 128 |
129 # Remoting compilation is enabled by default. Set to 0 to disable. | 129 # Remoting compilation is enabled by default. Set to 0 to disable. |
130 'remoting%': 1, | 130 'remoting%': 1, |
131 | 131 |
| 132 # P2P APIs are compiled in by default. Set to 0 to disable. |
| 133 # Also note that this should be enabled for remoting to compile. |
| 134 'p2p_apis%': 1, |
| 135 |
132 # If this is set, the clang plugins used on the buildbot will be used. | 136 # If this is set, the clang plugins used on the buildbot will be used. |
133 # Run tools/clang/scripts/update.sh to make sure they are compiled. | 137 # Run tools/clang/scripts/update.sh to make sure they are compiled. |
134 # This causes 'clang_chrome_plugins_flags' to be set. | 138 # This causes 'clang_chrome_plugins_flags' to be set. |
135 # Has no effect if 'clang' is not set as well. | 139 # Has no effect if 'clang' is not set as well. |
136 'clang_use_chrome_plugins%': 0, | 140 'clang_use_chrome_plugins%': 0, |
137 | 141 |
138 'conditions': [ | 142 'conditions': [ |
139 # A flag to enable or disable our compile-time dependency | 143 # A flag to enable or disable our compile-time dependency |
140 # on gnome-keyring. If that dependency is disabled, no gnome-keyring | 144 # on gnome-keyring. If that dependency is disabled, no gnome-keyring |
141 # support will be available. This option is useful | 145 # support will be available. This option is useful |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 'python_ver%': '<(python_ver)', | 196 'python_ver%': '<(python_ver)', |
193 'armv7%': '<(armv7)', | 197 'armv7%': '<(armv7)', |
194 'arm_neon%': '<(arm_neon)', | 198 'arm_neon%': '<(arm_neon)', |
195 'sysroot%': '<(sysroot)', | 199 'sysroot%': '<(sysroot)', |
196 'disable_sse2%': '<(disable_sse2)', | 200 'disable_sse2%': '<(disable_sse2)', |
197 'library%': '<(library)', | 201 'library%': '<(library)', |
198 'component%': '<(component)', | 202 'component%': '<(component)', |
199 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', | 203 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', |
200 'use_third_party_translations%': '<(use_third_party_translations)', | 204 'use_third_party_translations%': '<(use_third_party_translations)', |
201 'remoting%': '<(remoting)', | 205 'remoting%': '<(remoting)', |
| 206 'p2p_apis%': '<(p2p_apis)', |
202 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', | 207 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', |
203 | 208 |
204 # The release channel that this build targets. This is used to restrict | 209 # The release channel that this build targets. This is used to restrict |
205 # channel-specific build options, like which installer packages to create. | 210 # channel-specific build options, like which installer packages to create. |
206 # The default is 'all', which does no channel-specific filtering. | 211 # The default is 'all', which does no channel-specific filtering. |
207 'channel%': 'all', | 212 'channel%': 'all', |
208 | 213 |
209 # Override chromium_mac_pch and set it to 0 to suppress the use of | 214 # Override chromium_mac_pch and set it to 0 to suppress the use of |
210 # precompiled headers on the Mac. Prefix header injection may still be | 215 # precompiled headers on the Mac. Prefix header injection may still be |
211 # used, but prefix headers will not be precompiled. This is useful when | 216 # used, but prefix headers will not be precompiled. This is useful when |
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
602 }], | 607 }], |
603 ['file_manager_extension==1', { | 608 ['file_manager_extension==1', { |
604 'defines': ['FILE_MANAGER_EXTENSION=1'], | 609 'defines': ['FILE_MANAGER_EXTENSION=1'], |
605 }], | 610 }], |
606 ['profiling==1', { | 611 ['profiling==1', { |
607 'defines': ['ENABLE_PROFILING=1'], | 612 'defines': ['ENABLE_PROFILING=1'], |
608 }], | 613 }], |
609 ['remoting==1', { | 614 ['remoting==1', { |
610 'defines': ['ENABLE_REMOTING=1'], | 615 'defines': ['ENABLE_REMOTING=1'], |
611 }], | 616 }], |
| 617 ['p2p_apis==1', { |
| 618 'defines': ['ENABLE_P2P_APIS=1'], |
| 619 }], |
612 ['proprietary_codecs==1', { | 620 ['proprietary_codecs==1', { |
613 'defines': ['USE_PROPRIETARY_CODECS'], | 621 'defines': ['USE_PROPRIETARY_CODECS'], |
614 }], | 622 }], |
615 ['enable_flapper_hacks==1', { | 623 ['enable_flapper_hacks==1', { |
616 'defines': ['ENABLE_FLAPPER_HACKS=1'], | 624 'defines': ['ENABLE_FLAPPER_HACKS=1'], |
617 }], | 625 }], |
618 ['fastbuild!=0', { | 626 ['fastbuild!=0', { |
619 'conditions': [ | 627 'conditions': [ |
620 # For Windows, we don't genererate debug information. | 628 # For Windows, we don't genererate debug information. |
621 ['OS=="win"', { | 629 ['OS=="win"', { |
(...skipping 1060 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1682 # and therefore SYMROOT, needs to be set at the project level. | 1690 # and therefore SYMROOT, needs to be set at the project level. |
1683 'SYMROOT': '<(DEPTH)/xcodebuild', | 1691 'SYMROOT': '<(DEPTH)/xcodebuild', |
1684 }, | 1692 }, |
1685 } | 1693 } |
1686 | 1694 |
1687 # Local Variables: | 1695 # Local Variables: |
1688 # tab-width:2 | 1696 # tab-width:2 |
1689 # indent-tabs-mode:nil | 1697 # indent-tabs-mode:nil |
1690 # End: | 1698 # End: |
1691 # vim: set expandtab tabstop=2 shiftwidth=2: | 1699 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |