| OLD | NEW |
| 1 # | 1 # |
| 2 # Copyright (C) 2013 Google Inc. All rights reserved. | 2 # Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 # | 3 # |
| 4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
| 5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
| 6 # met: | 6 # met: |
| 7 # | 7 # |
| 8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
| 9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
| 10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 # | 29 # |
| 30 { | 30 { |
| 31 'variables': { | 31 'variables': { |
| 32 # If set to 1, doesn't compile debug symbols into webcore reducing the | 32 # If set to 1, doesn't compile debug symbols into webcore reducing the |
| 33 # size of the binary and increasing the speed of gdb. gcc only. | 33 # size of the binary and increasing the speed of gdb. gcc only. |
| 34 'remove_webcore_debug_symbols%': 0, | 34 'remove_webcore_debug_symbols%': 0, |
| 35 }, | 35 }, |
| 36 'targets': [{ | 36 'targets': [ |
| 37 { |
| 37 'target_name': 'config', | 38 'target_name': 'config', |
| 38 'type': 'none', | 39 'type': 'none', |
| 39 'direct_dependent_settings': { | 40 'direct_dependent_settings': { |
| 40 'defines': [ | 41 'include_dirs': [ |
| 41 'WEBKIT_IMPLEMENTATION=1', | 42 '.' |
| 42 ], | 43 ], |
| 43 'msvs_disabled_warnings': [ | 44 'msvs_disabled_warnings': [ |
| 44 4138, 4244, 4291, 4305, 4344, 4355, 4521, 4099, | 45 4138, 4244, 4291, 4305, 4344, 4355, 4521, 4099, |
| 45 ], | 46 ], |
| 46 'conditions': [ | 47 'conditions': [ |
| 47 ['OS=="win" and component=="shared_library"', { | 48 ['OS=="win" and component=="shared_library"', { |
| 48 'defines': [ | 49 'defines': [ |
| 49 'USING_V8_SHARED', | 50 'USING_V8_SHARED', |
| 50 ], | 51 ], |
| 51 }], | 52 }], |
| (...skipping 17 matching lines...) Expand all Loading... |
| 69 'cflags': ['-Wno-uninitialized'], | 70 'cflags': ['-Wno-uninitialized'], |
| 70 }], | 71 }], |
| 71 ['clang==1', { | 72 ['clang==1', { |
| 72 'cflags': ['-Wglobal-constructors'], | 73 'cflags': ['-Wglobal-constructors'], |
| 73 'xcode_settings': { | 74 'xcode_settings': { |
| 74 'WARNING_CFLAGS': ['-Wglobal-constructors'], | 75 'WARNING_CFLAGS': ['-Wglobal-constructors'], |
| 75 }, | 76 }, |
| 76 }], | 77 }], |
| 77 ], | 78 ], |
| 78 }, | 79 }, |
| 79 }], | 80 }, |
| 81 { |
| 82 'target_name': 'unittest_config', |
| 83 'type': 'none', |
| 84 'dependencies': [ |
| 85 'config', |
| 86 '<(DEPTH)/testing/gmock.gyp:gmock', |
| 87 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 88 ], |
| 89 'export_dependent_settings': [ |
| 90 'config', |
| 91 '<(DEPTH)/testing/gmock.gyp:gmock', |
| 92 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 93 ], |
| 94 'direct_dependent_settings': { |
| 95 'cflags!': ['-Wglobal-constructors'], |
| 96 'xcode_settings': { |
| 97 'WARNING_CFLAGS!': ['-Wglobal-constructors'], |
| 98 }, |
| 99 }, |
| 100 } |
| 101 ], |
| 80 } | 102 } |
| OLD | NEW |