| 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 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 make_names("module_names") { | 37 make_names("module_names") { |
| 38 in_files = [ "indexeddb/IndexedDBNames.json5" ] | 38 in_files = [ "indexeddb/IndexedDBNames.json5" ] |
| 39 outputs = [ | 39 outputs = [ |
| 40 "$blink_modules_output_dir/IndexedDBNames.cpp", | 40 "$blink_modules_output_dir/IndexedDBNames.cpp", |
| 41 "$blink_modules_output_dir/IndexedDBNames.h", | 41 "$blink_modules_output_dir/IndexedDBNames.h", |
| 42 ] | 42 ] |
| 43 deps = [] # Don't use default deps (otherwise it will be circular). | 43 deps = [] # Don't use default deps (otherwise it will be circular). |
| 44 } | 44 } |
| 45 | 45 |
| 46 target(modules_target_type, "modules") { | 46 if (modules_target_type == "component") { |
| 47 jumbo_target_type = "jumbo_component" |
| 48 } else { |
| 49 jumbo_target_type = "jumbo_target" |
| 50 } |
| 51 target(jumbo_target_type, "modules") { |
| 52 target_type = modules_target_type |
| 47 output_name = "blink_modules" | 53 output_name = "blink_modules" |
| 48 | 54 |
| 49 if (modules_target_type == "split_static_library") { | 55 if (modules_target_type == "split_static_library") { |
| 50 split_count = 5 | 56 split_count = 5 |
| 51 } | 57 } |
| 52 | 58 |
| 53 visibility = [] # Allow re-assignment of list. | 59 visibility = [] # Allow re-assignment of list. |
| 54 visibility = [ "//third_party/WebKit/*" ] | 60 visibility = [ "//third_party/WebKit/*" ] |
| 55 | 61 |
| 56 sources = [ | 62 sources = [ |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 if (is_win) { | 173 if (is_win) { |
| 168 cflags = [ "/wd4334" ] # Result of 32-bit shift implicitly converted to 64
bits. | 174 cflags = [ "/wd4334" ] # Result of 32-bit shift implicitly converted to 64
bits. |
| 169 } | 175 } |
| 170 | 176 |
| 171 if (remove_webcore_debug_symbols) { | 177 if (remove_webcore_debug_symbols) { |
| 172 configs -= [ "//build/config/compiler:default_symbols" ] | 178 configs -= [ "//build/config/compiler:default_symbols" ] |
| 173 configs += remove_webcore_symbols_config | 179 configs += remove_webcore_symbols_config |
| 174 } | 180 } |
| 175 } | 181 } |
| 176 | 182 |
| 177 source_set("modules_testing") { | 183 blink_unit_test_source_set("modules_testing") { |
| 178 sources = [ | 184 sources = [ |
| 179 "$bindings_modules_v8_output_dir/V8InternalsPartial.cpp", | 185 "$bindings_modules_v8_output_dir/V8InternalsPartial.cpp", |
| 180 "$bindings_modules_v8_output_dir/V8InternalsPartial.h", | 186 "$bindings_modules_v8_output_dir/V8InternalsPartial.h", |
| 181 "$bindings_modules_v8_output_dir/V8WorkerInternalsPartial.cpp", | 187 "$bindings_modules_v8_output_dir/V8WorkerInternalsPartial.cpp", |
| 182 "$bindings_modules_v8_output_dir/V8WorkerInternalsPartial.h", | 188 "$bindings_modules_v8_output_dir/V8WorkerInternalsPartial.h", |
| 183 "accessibility/testing/InternalsAccessibility.cpp", | 189 "accessibility/testing/InternalsAccessibility.cpp", |
| 184 "accessibility/testing/InternalsAccessibility.h", | 190 "accessibility/testing/InternalsAccessibility.h", |
| 185 "fetch/testing/InternalsFetch.cpp", | 191 "fetch/testing/InternalsFetch.cpp", |
| 186 "fetch/testing/InternalsFetch.h", | 192 "fetch/testing/InternalsFetch.h", |
| 187 "fetch/testing/WorkerInternalsFetch.cpp", | 193 "fetch/testing/WorkerInternalsFetch.cpp", |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 } | 225 } |
| 220 | 226 |
| 221 group("make_modules_generated") { | 227 group("make_modules_generated") { |
| 222 public_deps = [ | 228 public_deps = [ |
| 223 ":module_names", | 229 ":module_names", |
| 224 "//third_party/WebKit/Source/bindings/modules:bindings_modules_generated", | 230 "//third_party/WebKit/Source/bindings/modules:bindings_modules_generated", |
| 225 "//third_party/WebKit/Source/core:core_event_interfaces", | 231 "//third_party/WebKit/Source/core:core_event_interfaces", |
| 226 ] | 232 ] |
| 227 } | 233 } |
| 228 | 234 |
| 229 source_set("unit_tests") { | 235 blink_unit_test_source_set("unit_tests") { |
| 230 testonly = true | 236 testonly = true |
| 231 | 237 |
| 232 sources = [ | 238 sources = [ |
| 233 "accessibility/AXObjectTest.cpp", | 239 "accessibility/AXObjectTest.cpp", |
| 234 "background_fetch/BackgroundFetchManagerTest.cpp", | 240 "background_fetch/BackgroundFetchManagerTest.cpp", |
| 235 "cachestorage/CacheTest.cpp", | 241 "cachestorage/CacheTest.cpp", |
| 236 "canvas/HTMLCanvasElementModuleTest.cpp", | 242 "canvas/HTMLCanvasElementModuleTest.cpp", |
| 237 "canvas2d/CanvasRenderingContext2DAPITest.cpp", | 243 "canvas2d/CanvasRenderingContext2DAPITest.cpp", |
| 238 "canvas2d/CanvasRenderingContext2DTest.cpp", | 244 "canvas2d/CanvasRenderingContext2DTest.cpp", |
| 239 "compositorworker/AnimationWorkletGlobalScopeTest.cpp", | 245 "compositorworker/AnimationWorkletGlobalScopeTest.cpp", |
| (...skipping 17 matching lines...) Expand all Loading... |
| 257 "fetch/FetchHeaderListTest.cpp", | 263 "fetch/FetchHeaderListTest.cpp", |
| 258 "fetch/FetchResponseDataTest.cpp", | 264 "fetch/FetchResponseDataTest.cpp", |
| 259 "fetch/FormDataBytesConsumerTest.cpp", | 265 "fetch/FormDataBytesConsumerTest.cpp", |
| 260 "fetch/MultipartParserTest.cpp", | 266 "fetch/MultipartParserTest.cpp", |
| 261 "fetch/ReadableStreamBytesConsumerTest.cpp", | 267 "fetch/ReadableStreamBytesConsumerTest.cpp", |
| 262 "fetch/RequestTest.cpp", | 268 "fetch/RequestTest.cpp", |
| 263 "fetch/ResponseTest.cpp", | 269 "fetch/ResponseTest.cpp", |
| 264 "filesystem/DOMFileSystemBaseTest.cpp", | 270 "filesystem/DOMFileSystemBaseTest.cpp", |
| 265 "indexeddb/IDBKeyPathTest.cpp", | 271 "indexeddb/IDBKeyPathTest.cpp", |
| 266 "indexeddb/IDBRequestTest.cpp", | 272 "indexeddb/IDBRequestTest.cpp", |
| 273 "indexeddb/IDBTestHelper.cpp", |
| 267 "indexeddb/IDBTransactionTest.cpp", | 274 "indexeddb/IDBTransactionTest.cpp", |
| 268 "indexeddb/IDBValueWrappingTest.cpp", | 275 "indexeddb/IDBValueWrappingTest.cpp", |
| 269 "indexeddb/MockWebIDBDatabase.cpp", | 276 "indexeddb/MockWebIDBDatabase.cpp", |
| 270 "indexeddb/MockWebIDBDatabase.h", | 277 "indexeddb/MockWebIDBDatabase.h", |
| 271 "media_controls/MediaControlsImplTest.cpp", | 278 "media_controls/MediaControlsImplTest.cpp", |
| 272 "media_controls/MediaControlsOrientationLockDelegateTest.cpp", | 279 "media_controls/MediaControlsOrientationLockDelegateTest.cpp", |
| 273 "media_controls/MediaControlsRotateToFullscreenDelegateTest.cpp", | 280 "media_controls/MediaControlsRotateToFullscreenDelegateTest.cpp", |
| 274 "media_controls/elements/MediaControlInputElementTest.cpp", | 281 "media_controls/elements/MediaControlInputElementTest.cpp", |
| 275 "mediastream/MediaConstraintsTest.cpp", | 282 "mediastream/MediaConstraintsTest.cpp", |
| 276 "notifications/NotificationDataTest.cpp", | 283 "notifications/NotificationDataTest.cpp", |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 ":modules", | 333 ":modules", |
| 327 ":modules_testing", | 334 ":modules_testing", |
| 328 "//skia", | 335 "//skia", |
| 329 "//testing/gmock", | 336 "//testing/gmock", |
| 330 "//testing/gtest", | 337 "//testing/gtest", |
| 331 "//third_party/WebKit/Source/core", | 338 "//third_party/WebKit/Source/core", |
| 332 "//third_party/WebKit/Source/platform/wtf", | 339 "//third_party/WebKit/Source/platform/wtf", |
| 333 "//v8", | 340 "//v8", |
| 334 ] | 341 ] |
| 335 } | 342 } |
| OLD | NEW |