OLD | NEW |
1 # | 1 # |
2 # Copyright (C) 2011 Google Inc. All rights reserved. | 2 # Copyright (C) 2011 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 '<(DEPTH)/testing/gtest.gyp:gtest', | 52 '<(DEPTH)/testing/gtest.gyp:gtest', |
53 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib', | 53 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib', |
54 '<(DEPTH)/url/url.gyp:url_lib', | 54 '<(DEPTH)/url/url.gyp:url_lib', |
55 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', | 55 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
56 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_support', | 56 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_support', |
57 ], | 57 ], |
58 'sources': [ | 58 'sources': [ |
59 'tests/RunAllTests.cpp', | 59 'tests/RunAllTests.cpp', |
60 ], | 60 ], |
61 'include_dirs': [ | 61 'include_dirs': [ |
62 'public', | 62 '../../../public/web', |
63 'src', | 63 'src', |
64 ], | 64 ], |
65 'conditions': [ | 65 'conditions': [ |
66 ['component=="shared_library"', { | 66 ['component=="shared_library"', { |
67 'defines': [ | 67 'defines': [ |
68 'WEBKIT_DLL_UNITTEST', | 68 'WEBKIT_DLL_UNITTEST', |
69 ], | 69 ], |
70 }, { | 70 }, { |
71 'dependencies': [ | 71 'dependencies': [ |
72 '../../core/core.gyp:webcore', | 72 '../../core/core.gyp:webcore', |
73 ], | 73 ], |
74 'defines': [ | 74 'defines': [ |
75 'WEBKIT_IMPLEMENTATION=1', | 75 'WEBKIT_IMPLEMENTATION=1', |
76 'INSIDE_WEBKIT', | 76 'INSIDE_WEBKIT', |
77 ], | 77 ], |
78 'sources': [ | 78 'sources': [ |
79 '<@(core_unittest_files)', | 79 '<@(core_unittest_files)', |
80 '<@(modules_unittest_files)', | 80 '<@(modules_unittest_files)', |
81 '<@(webkit_unittest_files)', | 81 '<@(webkit_unittest_files)', |
82 ], | 82 ], |
83 'conditions': [ | 83 'conditions': [ |
84 ['toolkit_uses_gtk == 1', { | 84 ['toolkit_uses_gtk == 1', { |
85 'include_dirs': [ | 85 'include_dirs': [ |
86 'public/gtk', | 86 '../../../public/web/gtk', |
87 ], | 87 ], |
88 'variables': { | 88 'variables': { |
89 # FIXME: Enable warnings on other platforms. | 89 # FIXME: Enable warnings on other platforms. |
90 'chromium_code': 1, | 90 'chromium_code': 1, |
91 }, | 91 }, |
92 }], | 92 }], |
93 ], | 93 ], |
94 }], | 94 }], |
95 ['OS=="win" and component!="shared_library"', { | 95 ['OS=="win" and component!="shared_library"', { |
96 'configurations': { | 96 'configurations': { |
97 'Debug_Base': { | 97 'Debug_Base': { |
98 'msvs_settings': { | 98 'msvs_settings': { |
99 'VCLinkerTool': { | 99 'VCLinkerTool': { |
100 'LinkIncremental': '<(msvs_large_module_debu
g_link_mode)', | 100 'LinkIncremental': '<(msvs_large_module_debu
g_link_mode)', |
101 }, | 101 }, |
102 }, | 102 }, |
103 }, | 103 }, |
104 }, | 104 }, |
105 }], | 105 }], |
106 ['OS=="android" and gtest_target_type == "shared_library"', { | 106 ['OS=="android" and gtest_target_type == "shared_library"', { |
107 'type': 'shared_library', | 107 'type': 'shared_library', |
108 'dependencies': [ | 108 'dependencies': [ |
109 '<(DEPTH)/testing/android/native_test.gyp:native_test_na
tive_code', | 109 '<(DEPTH)/testing/android/native_test.gyp:native_test_na
tive_code', |
110 '<(DEPTH)/tools/android/forwarder2/forwarder.gyp:forward
er2', | 110 '<(DEPTH)/tools/android/forwarder2/forwarder.gyp:forward
er2', |
111 ], | 111 ], |
112 }], | 112 }], |
113 ['OS=="mac"', { | 113 ['OS=="mac"', { |
114 'include_dirs': [ | 114 'include_dirs': [ |
115 'public/mac', | 115 '../../../public/web/mac', |
116 ], | 116 ], |
117 }], | 117 }], |
118 [ 'os_posix==1 and OS!="mac" and OS!="android" and OS!="ios" and
linux_use_tcmalloc==1', { | 118 [ 'os_posix==1 and OS!="mac" and OS!="android" and OS!="ios" and
linux_use_tcmalloc==1', { |
119 'dependencies': [ | 119 'dependencies': [ |
120 '<(DEPTH)/base/allocator/allocator.gyp:allocator', | 120 '<(DEPTH)/base/allocator/allocator.gyp:allocator', |
121 ], | 121 ], |
122 }], | 122 }], |
123 ], | 123 ], |
124 } | 124 } |
125 ], # targets | 125 ], # targets |
(...skipping 25 matching lines...) Expand all Loading... |
151 ['clang==1', { | 151 ['clang==1', { |
152 'target_defaults': { | 152 'target_defaults': { |
153 'cflags': ['-Wunused-parameter'], | 153 'cflags': ['-Wunused-parameter'], |
154 'xcode_settings': { | 154 'xcode_settings': { |
155 'WARNING_CFLAGS': ['-Wunused-parameter'], | 155 'WARNING_CFLAGS': ['-Wunused-parameter'], |
156 }, | 156 }, |
157 }, | 157 }, |
158 }], | 158 }], |
159 ], | 159 ], |
160 } | 160 } |
OLD | NEW |