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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 # Yes(1) means set use the common linker options. | 341 # Yes(1) means set use the common linker options. |
342 'msvs_use_common_linker_extras%': 1, | 342 'msvs_use_common_linker_extras%': 1, |
343 | 343 |
344 # TODO(sgk): eliminate this if possible. | 344 # TODO(sgk): eliminate this if possible. |
345 # It would be nicer to support this via a setting in 'target_defaults' | 345 # It would be nicer to support this via a setting in 'target_defaults' |
346 # in chrome/app/locales/locales.gypi overriding the setting in the | 346 # in chrome/app/locales/locales.gypi overriding the setting in the |
347 # 'Debug' configuration in the 'target_defaults' dict below, | 347 # 'Debug' configuration in the 'target_defaults' dict below, |
348 # but that doesn't work as we'd like. | 348 # but that doesn't work as we'd like. |
349 'msvs_debug_link_incremental%': '2', | 349 'msvs_debug_link_incremental%': '2', |
350 | 350 |
| 351 # TODO(dmichael): eliminate this when possible. |
| 352 # This flag, when 0, makes ppapi build without synchronous scripting |
| 353 # support in public interfaces. This is a temporary transitional option. |
| 354 'pepper_scripting%': 1, |
| 355 |
351 # Needed for some of the largest modules. | 356 # Needed for some of the largest modules. |
352 'msvs_debug_link_nonincremental%': '1', | 357 'msvs_debug_link_nonincremental%': '1', |
353 | 358 |
354 # This is the location of the sandbox binary. Chrome looks for this before | 359 # This is the location of the sandbox binary. Chrome looks for this before |
355 # running the zygote process. If found, and SUID, it will be used to | 360 # running the zygote process. If found, and SUID, it will be used to |
356 # sandbox the zygote process and, thus, all renderer processes. | 361 # sandbox the zygote process and, thus, all renderer processes. |
357 'linux_sandbox_path%': '', | 362 'linux_sandbox_path%': '', |
358 | 363 |
359 # Set this to true to enable SELinux support. | 364 # Set this to true to enable SELinux support. |
360 'selinux%': 0, | 365 'selinux%': 0, |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
711 }], | 716 }], |
712 ['p2p_apis==1', { | 717 ['p2p_apis==1', { |
713 'defines': ['ENABLE_P2P_APIS=1'], | 718 'defines': ['ENABLE_P2P_APIS=1'], |
714 }], | 719 }], |
715 ['proprietary_codecs==1', { | 720 ['proprietary_codecs==1', { |
716 'defines': ['USE_PROPRIETARY_CODECS'], | 721 'defines': ['USE_PROPRIETARY_CODECS'], |
717 }], | 722 }], |
718 ['enable_flapper_hacks==1', { | 723 ['enable_flapper_hacks==1', { |
719 'defines': ['ENABLE_FLAPPER_HACKS=1'], | 724 'defines': ['ENABLE_FLAPPER_HACKS=1'], |
720 }], | 725 }], |
| 726 ['pepper_scripting==0', { |
| 727 'defines': ['PPAPI_INSTANCE_REMOVE_SCRIPTING', |
| 728 'PPAPI_VAR_REMOVE_SCRIPTING'], |
| 729 }], |
721 ['fastbuild!=0', { | 730 ['fastbuild!=0', { |
722 'conditions': [ | 731 'conditions': [ |
723 # For Windows, we don't genererate debug information. | 732 # For Windows, we don't genererate debug information. |
724 ['OS=="win"', { | 733 ['OS=="win"', { |
725 'msvs_settings': { | 734 'msvs_settings': { |
726 'VCLinkerTool': { | 735 'VCLinkerTool': { |
727 'GenerateDebugInformation': 'false', | 736 'GenerateDebugInformation': 'false', |
728 }, | 737 }, |
729 'VCCLCompilerTool': { | 738 'VCCLCompilerTool': { |
730 'DebugInformationFormat': '0', | 739 'DebugInformationFormat': '0', |
(...skipping 1098 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1829 # and therefore SYMROOT, needs to be set at the project level. | 1838 # and therefore SYMROOT, needs to be set at the project level. |
1830 'SYMROOT': '<(DEPTH)/xcodebuild', | 1839 'SYMROOT': '<(DEPTH)/xcodebuild', |
1831 }, | 1840 }, |
1832 } | 1841 } |
1833 | 1842 |
1834 # Local Variables: | 1843 # Local Variables: |
1835 # tab-width:2 | 1844 # tab-width:2 |
1836 # indent-tabs-mode:nil | 1845 # indent-tabs-mode:nil |
1837 # End: | 1846 # End: |
1838 # vim: set expandtab tabstop=2 shiftwidth=2: | 1847 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |