OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/split_static_library.gni") | 5 import("//build/split_static_library.gni") |
6 import("//build/config/chromecast_build.gni") | 6 import("//build/config/chromecast_build.gni") |
7 import("//third_party/WebKit/Source/bindings/bindings.gni") | 7 import("//third_party/WebKit/Source/bindings/bindings.gni") |
8 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni") | 8 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni") |
9 import("//third_party/WebKit/Source/bindings/modules/v8/v8.gni") | 9 import("//third_party/WebKit/Source/bindings/modules/v8/v8.gni") |
10 import("//third_party/WebKit/Source/build/scripts/scripts.gni") | 10 import("//third_party/WebKit/Source/build/scripts/scripts.gni") |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 } | 86 } |
87 | 87 |
88 if (remove_webcore_debug_symbols) { | 88 if (remove_webcore_debug_symbols) { |
89 configs -= [ "//build/config/compiler:default_symbols" ] | 89 configs -= [ "//build/config/compiler:default_symbols" ] |
90 configs += [ "//build/config/compiler:no_symbols" ] | 90 configs += [ "//build/config/compiler:no_symbols" ] |
91 } | 91 } |
92 } | 92 } |
93 | 93 |
94 # GYP version: WebKit/Source/modules/modules.gyp:modules_testing | 94 # GYP version: WebKit/Source/modules/modules.gyp:modules_testing |
95 source_set("modules_testing") { | 95 source_set("modules_testing") { |
96 sources = modules_testing_files | 96 sources = [ |
97 sources += [ | |
98 "$bindings_modules_v8_output_dir/V8InternalsPartial.cpp", | 97 "$bindings_modules_v8_output_dir/V8InternalsPartial.cpp", |
99 "$bindings_modules_v8_output_dir/V8InternalsPartial.h", | 98 "$bindings_modules_v8_output_dir/V8InternalsPartial.h", |
| 99 "accessibility/testing/InternalsAccessibility.cpp", |
| 100 "accessibility/testing/InternalsAccessibility.h", |
| 101 "navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp", |
| 102 "navigatorcontentutils/testing/InternalsNavigatorContentUtils.h", |
| 103 "navigatorcontentutils/testing/NavigatorContentUtilsClientMock.cpp", |
| 104 "navigatorcontentutils/testing/NavigatorContentUtilsClientMock.h", |
| 105 "peerconnection/testing/InternalsRTCCertificate.cpp", |
| 106 "peerconnection/testing/InternalsRTCCertificate.h", |
| 107 "serviceworkers/testing/InternalsServiceWorker.cpp", |
| 108 "serviceworkers/testing/InternalsServiceWorker.h", |
| 109 "speech/testing/InternalsSpeechSynthesis.cpp", |
| 110 "speech/testing/InternalsSpeechSynthesis.h", |
| 111 "speech/testing/PlatformSpeechSynthesizerMock.cpp", |
| 112 "speech/testing/PlatformSpeechSynthesizerMock.h", |
| 113 "vibration/testing/InternalsVibration.cpp", |
| 114 "vibration/testing/InternalsVibration.h", |
| 115 "webaudio/testing/InternalsWebAudio.cpp", |
| 116 "webaudio/testing/InternalsWebAudio.h", |
100 ] | 117 ] |
101 | 118 |
102 configs += [ | 119 configs += [ |
103 "//third_party/WebKit/Source:config", | 120 "//third_party/WebKit/Source:config", |
104 "//third_party/WebKit/Source:inside_blink", | 121 "//third_party/WebKit/Source:inside_blink", |
105 ] | 122 ] |
106 | 123 |
107 deps = [ | 124 deps = [ |
108 "//third_party/WebKit/Source/core", | 125 "//third_party/WebKit/Source/core", |
109 "//third_party/WebKit/Source/modules", | 126 "//third_party/WebKit/Source/modules", |
(...skipping 19 matching lines...) Expand all Loading... |
129 } | 146 } |
130 | 147 |
131 # GYP version: WebKit/Source/modules/modules_generated.gyp:make_modules_generate
d | 148 # GYP version: WebKit/Source/modules/modules_generated.gyp:make_modules_generate
d |
132 group("make_modules_generated") { | 149 group("make_modules_generated") { |
133 public_deps = [ | 150 public_deps = [ |
134 ":module_names", | 151 ":module_names", |
135 "//third_party/WebKit/Source/bindings/modules:bindings_modules_generated", | 152 "//third_party/WebKit/Source/bindings/modules:bindings_modules_generated", |
136 "//third_party/WebKit/Source/core:core_event_interfaces", | 153 "//third_party/WebKit/Source/core:core_event_interfaces", |
137 ] | 154 ] |
138 } | 155 } |
| 156 |
| 157 source_set("unit_tests") { |
| 158 testonly = true |
| 159 |
| 160 sources = [ |
| 161 "accessibility/AXObjectTest.cpp", |
| 162 "cachestorage/CacheTest.cpp", |
| 163 "canvas/HTMLCanvasElementModuleTest.cpp", |
| 164 "canvas2d/CanvasRenderingContext2DAPITest.cpp", |
| 165 "canvas2d/CanvasRenderingContext2DTest.cpp", |
| 166 "canvas2d/CanvasRenderingContext2DUsageTrackingTest.cpp", |
| 167 "compositorworker/AnimationWorkletThreadTest.cpp", |
| 168 "compositorworker/CompositorWorkerThreadTest.cpp", |
| 169 "credentialmanager/PasswordCredentialTest.cpp", |
| 170 "csspaint/PaintRenderingContext2DTest.cpp", |
| 171 "csspaint/PaintWorkletTest.cpp", |
| 172 "fetch/BodyStreamBufferTest.cpp", |
| 173 "fetch/BytesConsumerForDataConsumerHandleTest.cpp", |
| 174 "fetch/CompositeDataConsumerHandleTest.cpp", |
| 175 "fetch/DataConsumerHandleTestUtil.cpp", |
| 176 "fetch/DataConsumerHandleTestUtil.h", |
| 177 "fetch/DataConsumerHandleUtilTest.cpp", |
| 178 "fetch/DataConsumerTeeTest.cpp", |
| 179 "fetch/FetchBlobDataConsumerHandleTest.cpp", |
| 180 "fetch/FetchDataLoaderTest.cpp", |
| 181 "fetch/FetchFormDataConsumerHandleTest.cpp", |
| 182 "fetch/FetchResponseDataTest.cpp", |
| 183 "fetch/ReadableStreamDataConsumerHandleTest.cpp", |
| 184 "fetch/RequestTest.cpp", |
| 185 "fetch/ResponseTest.cpp", |
| 186 "filesystem/DOMFileSystemBaseTest.cpp", |
| 187 "indexeddb/IDBKeyPathTest.cpp", |
| 188 "indexeddb/IDBRequestTest.cpp", |
| 189 "indexeddb/IDBTransactionTest.cpp", |
| 190 "indexeddb/MockWebIDBDatabase.cpp", |
| 191 "indexeddb/MockWebIDBDatabase.h", |
| 192 "mediasession/MediaSessionTest.cpp", |
| 193 "mediastream/MediaConstraintsTest.cpp", |
| 194 "notifications/NotificationDataTest.cpp", |
| 195 "notifications/NotificationResourcesLoaderTest.cpp", |
| 196 "payments/AbortTest.cpp", |
| 197 "payments/CompleteTest.cpp", |
| 198 "payments/OnPaymentResponseTest.cpp", |
| 199 "payments/PaymentAddressTest.cpp", |
| 200 "payments/PaymentRequestDetailsTest.cpp", |
| 201 "payments/PaymentRequestTest.cpp", |
| 202 "payments/PaymentRequestUpdateEventTest.cpp", |
| 203 "payments/PaymentResponseTest.cpp", |
| 204 "payments/PaymentTestHelper.cpp", |
| 205 "payments/PaymentTestHelper.h", |
| 206 "payments/PaymentsValidatorsTest.cpp", |
| 207 "peerconnection/RTCDataChannelTest.cpp", |
| 208 "presentation/PresentationAvailabilityTest.cpp", |
| 209 "push_messaging/PushManagerTest.cpp", |
| 210 "push_messaging/PushMessageDataTest.cpp", |
| 211 "serviceworkers/ServiceWorkerContainerTest.cpp", |
| 212 "webaudio/AudioBasicProcessorHandlerTest.cpp", |
| 213 "webaudio/ConvolverNodeTest.cpp", |
| 214 "webaudio/DynamicsCompressorNodeTest.cpp", |
| 215 "webaudio/ScriptProcessorNodeTest.cpp", |
| 216 "webaudio/StereoPannerNodeTest.cpp", |
| 217 "webdatabase/QuotaTrackerTest.cpp", |
| 218 "websockets/DOMWebSocketTest.cpp", |
| 219 "websockets/DocumentWebSocketChannelTest.cpp", |
| 220 ] |
| 221 |
| 222 configs += [ |
| 223 "//third_party/WebKit/Source:config", |
| 224 "//third_party/WebKit/Source:inside_blink", |
| 225 ] |
| 226 |
| 227 deps = [ |
| 228 ":modules", |
| 229 ":modules_testing", |
| 230 "//skia", |
| 231 "//testing/gmock", |
| 232 "//testing/gtest", |
| 233 "//third_party/WebKit/Source/core", |
| 234 "//third_party/WebKit/Source/wtf", |
| 235 "//v8", |
| 236 ] |
| 237 } |
OLD | NEW |