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 659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
670 'win_debug_RuntimeLibrary%': '1', # 1 = /MTd (debug static) | 670 'win_debug_RuntimeLibrary%': '1', # 1 = /MTd (debug static) |
671 }], | 671 }], |
672 ], | 672 ], |
673 }, | 673 }, |
674 'conditions': [ | 674 'conditions': [ |
675 ['branding=="Chrome"', { | 675 ['branding=="Chrome"', { |
676 'defines': ['GOOGLE_CHROME_BUILD'], | 676 'defines': ['GOOGLE_CHROME_BUILD'], |
677 }, { # else: branding!="Chrome" | 677 }, { # else: branding!="Chrome" |
678 'defines': ['CHROMIUM_BUILD'], | 678 'defines': ['CHROMIUM_BUILD'], |
679 }], | 679 }], |
680 ['component=="shared_library"', { | |
681 'defines': ['COMPONENT_BUILD=1'], | |
rvargas (doing something else)
2011/07/12 21:40:19
The consensus of the code review that defined xx_d
| |
682 }], | |
680 ['toolkit_views==1', { | 683 ['toolkit_views==1', { |
681 'defines': ['TOOLKIT_VIEWS=1'], | 684 'defines': ['TOOLKIT_VIEWS=1'], |
682 }], | 685 }], |
683 ['toolkit_uses_pure_views==1', { | 686 ['toolkit_uses_pure_views==1', { |
684 'defines': ['TOOLKIT_USES_PURE_VIEWS=1'], | 687 'defines': ['TOOLKIT_USES_PURE_VIEWS=1'], |
685 }], | 688 }], |
686 ['views_compositor==1', { | 689 ['views_compositor==1', { |
687 'defines': ['VIEWS_COMPOSITOR=1'], | 690 'defines': ['VIEWS_COMPOSITOR=1'], |
688 }], | 691 }], |
689 ['chromeos==1', { | 692 ['chromeos==1', { |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
894 # We use "POSIX" to refer to all non-Windows operating systems. | 897 # We use "POSIX" to refer to all non-Windows operating systems. |
895 ['OS=="win"', { | 898 ['OS=="win"', { |
896 'sources/': [ ['exclude', '_posix\\.(h|cc)$'] ], | 899 'sources/': [ ['exclude', '_posix\\.(h|cc)$'] ], |
897 # turn on warnings for signed/unsigned mismatch on chromium code. | 900 # turn on warnings for signed/unsigned mismatch on chromium code. |
898 'msvs_settings': { | 901 'msvs_settings': { |
899 'VCCLCompilerTool': { | 902 'VCCLCompilerTool': { |
900 'AdditionalOptions': ['/we4389'], | 903 'AdditionalOptions': ['/we4389'], |
901 }, | 904 }, |
902 }, | 905 }, |
903 }], | 906 }], |
907 ['OS=="win" and component=="shared_library"', { | |
908 'msvs_disabled_warnings': [ | |
909 4251, # class 'std::xx' needs to have dll-interface. | |
910 ], | |
911 }], | |
904 ['chromeos!=1', { | 912 ['chromeos!=1', { |
905 'sources/': [ ['exclude', '_chromeos\\.(h|cc)$'] ] | 913 'sources/': [ ['exclude', '_chromeos\\.(h|cc)$'] ] |
906 }], | 914 }], |
907 ['toolkit_views==0', { | 915 ['toolkit_views==0', { |
908 'sources/': [ ['exclude', '_views\\.(h|cc)$'] ] | 916 'sources/': [ ['exclude', '_views\\.(h|cc)$'] ] |
909 }], | 917 }], |
910 ], | 918 ], |
911 }], | 919 }], |
912 ], # target_conditions for 'target_defaults' | 920 ], # target_conditions for 'target_defaults' |
913 'default_configuration': 'Debug', | 921 'default_configuration': 'Debug', |
(...skipping 907 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1821 # and therefore SYMROOT, needs to be set at the project level. | 1829 # and therefore SYMROOT, needs to be set at the project level. |
1822 'SYMROOT': '<(DEPTH)/xcodebuild', | 1830 'SYMROOT': '<(DEPTH)/xcodebuild', |
1823 }, | 1831 }, |
1824 } | 1832 } |
1825 | 1833 |
1826 # Local Variables: | 1834 # Local Variables: |
1827 # tab-width:2 | 1835 # tab-width:2 |
1828 # indent-tabs-mode:nil | 1836 # indent-tabs-mode:nil |
1829 # End: | 1837 # End: |
1830 # vim: set expandtab tabstop=2 shiftwidth=2: | 1838 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |