OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 # Yes(1) means set use the common linker options. | 333 # Yes(1) means set use the common linker options. |
334 'msvs_use_common_linker_extras%': 1, | 334 'msvs_use_common_linker_extras%': 1, |
335 | 335 |
336 # TODO(sgk): eliminate this if possible. | 336 # TODO(sgk): eliminate this if possible. |
337 # It would be nicer to support this via a setting in 'target_defaults' | 337 # It would be nicer to support this via a setting in 'target_defaults' |
338 # in chrome/app/locales/locales.gypi overriding the setting in the | 338 # in chrome/app/locales/locales.gypi overriding the setting in the |
339 # 'Debug' configuration in the 'target_defaults' dict below, | 339 # 'Debug' configuration in the 'target_defaults' dict below, |
340 # but that doesn't work as we'd like. | 340 # but that doesn't work as we'd like. |
341 'msvs_debug_link_incremental%': '2', | 341 'msvs_debug_link_incremental%': '2', |
342 | 342 |
| 343 # TODO(dmichael): eliminate this when possible. |
| 344 # This flag, when 0, makes ppapi build without synchronous scripting |
| 345 # support in public interfaces. This is a temporary transitional option. |
| 346 'pepper_scripting%': 1, |
| 347 |
343 # Needed for some of the largest modules. | 348 # Needed for some of the largest modules. |
344 'msvs_debug_link_nonincremental%': '1', | 349 'msvs_debug_link_nonincremental%': '1', |
345 | 350 |
346 # This is the location of the sandbox binary. Chrome looks for this before | 351 # This is the location of the sandbox binary. Chrome looks for this before |
347 # running the zygote process. If found, and SUID, it will be used to | 352 # running the zygote process. If found, and SUID, it will be used to |
348 # sandbox the zygote process and, thus, all renderer processes. | 353 # sandbox the zygote process and, thus, all renderer processes. |
349 'linux_sandbox_path%': '', | 354 'linux_sandbox_path%': '', |
350 | 355 |
351 # Set this to true to enable SELinux support. | 356 # Set this to true to enable SELinux support. |
352 'selinux%': 0, | 357 'selinux%': 0, |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
703 }], | 708 }], |
704 ['p2p_apis==1', { | 709 ['p2p_apis==1', { |
705 'defines': ['ENABLE_P2P_APIS=1'], | 710 'defines': ['ENABLE_P2P_APIS=1'], |
706 }], | 711 }], |
707 ['proprietary_codecs==1', { | 712 ['proprietary_codecs==1', { |
708 'defines': ['USE_PROPRIETARY_CODECS'], | 713 'defines': ['USE_PROPRIETARY_CODECS'], |
709 }], | 714 }], |
710 ['enable_flapper_hacks==1', { | 715 ['enable_flapper_hacks==1', { |
711 'defines': ['ENABLE_FLAPPER_HACKS=1'], | 716 'defines': ['ENABLE_FLAPPER_HACKS=1'], |
712 }], | 717 }], |
| 718 ['pepper_scripting==0', { |
| 719 'defines': ['PPAPI_INSTANCE_REMOVE_SCRIPTING', |
| 720 'PPAPI_VAR_REMOVE_SCRIPTING'], |
| 721 }], |
713 ['fastbuild!=0', { | 722 ['fastbuild!=0', { |
714 'conditions': [ | 723 'conditions': [ |
715 # For Windows, we don't genererate debug information. | 724 # For Windows, we don't genererate debug information. |
716 ['OS=="win"', { | 725 ['OS=="win"', { |
717 'msvs_settings': { | 726 'msvs_settings': { |
718 'VCLinkerTool': { | 727 'VCLinkerTool': { |
719 'GenerateDebugInformation': 'false', | 728 'GenerateDebugInformation': 'false', |
720 }, | 729 }, |
721 'VCCLCompilerTool': { | 730 'VCCLCompilerTool': { |
722 'DebugInformationFormat': '0', | 731 'DebugInformationFormat': '0', |
(...skipping 1098 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1821 # and therefore SYMROOT, needs to be set at the project level. | 1830 # and therefore SYMROOT, needs to be set at the project level. |
1822 'SYMROOT': '<(DEPTH)/xcodebuild', | 1831 'SYMROOT': '<(DEPTH)/xcodebuild', |
1823 }, | 1832 }, |
1824 } | 1833 } |
1825 | 1834 |
1826 # Local Variables: | 1835 # Local Variables: |
1827 # tab-width:2 | 1836 # tab-width:2 |
1828 # indent-tabs-mode:nil | 1837 # indent-tabs-mode:nil |
1829 # End: | 1838 # End: |
1830 # vim: set expandtab tabstop=2 shiftwidth=2: | 1839 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |