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/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
7 import("//third_party/WebKit/public/public_features.gni") | 7 import("//third_party/WebKit/public/public_features.gni") |
8 import("//third_party/WebKit/Source/config.gni") | 8 import("//third_party/WebKit/Source/config.gni") |
9 import("//third_party/WebKit/Source/core/core.gni") | 9 import("//third_party/WebKit/Source/core/core.gni") |
10 import("//tools/grit/grit_rule.gni") | 10 import("//tools/grit/grit_rule.gni") |
11 | 11 |
12 if (is_android) { | 12 if (is_android) { |
13 import("//build/config/android/rules.gni") | 13 import("//build/config/android/rules.gni") |
14 } | 14 } |
15 | 15 |
16 group("blink") { | 16 group("blink") { |
17 public_deps = [ | 17 public_deps = [ |
18 ":blink_headers", | 18 ":blink_headers", |
19 ] | 19 ] |
20 deps = [ | 20 deps = [ |
21 "//third_party/WebKit/Source/core", | 21 "//third_party/WebKit/Source/core", |
22 "//third_party/WebKit/Source/platform", | 22 "//third_party/WebKit/Source/platform", |
23 "//third_party/WebKit/Source/web", | 23 "//third_party/WebKit/Source/web", |
24 ] | 24 ] |
25 } | 25 } |
26 | 26 |
27 group("test_support") { | 27 group("test_support") { |
28 testonly = true | 28 testonly = true |
29 public_deps = [ | 29 public_deps = [ |
| 30 ":test_headers", |
30 "//third_party/WebKit/Source/platform:test_support", | 31 "//third_party/WebKit/Source/platform:test_support", |
31 "//third_party/WebKit/Source/web:test_support", | 32 "//third_party/WebKit/Source/web:test_support", |
32 ] | 33 ] |
33 } | 34 } |
34 | 35 |
35 group("all_blink") { | 36 group("all_blink") { |
36 # This includes some test targets. Don't link into production! | 37 # This includes some test targets. Don't link into production! |
37 testonly = true | 38 testonly = true |
38 | 39 |
39 public_deps = [ | 40 public_deps = [ |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 } | 80 } |
80 | 81 |
81 android_library("blink_headers_java") { | 82 android_library("blink_headers_java") { |
82 deps = [ | 83 deps = [ |
83 "//third_party/android_tools:android_support_annotations_java", | 84 "//third_party/android_tools:android_support_annotations_java", |
84 ] | 85 ] |
85 srcjar_deps = [ ":blink_headers_java_enums_srcjar" ] | 86 srcjar_deps = [ ":blink_headers_java_enums_srcjar" ] |
86 } | 87 } |
87 } | 88 } |
88 | 89 |
| 90 source_set("test_headers") { |
| 91 testonly = true |
| 92 sources = [ |
| 93 "platform/scheduler/test/fake_renderer_scheduler.h", |
| 94 "platform/scheduler/test/mock_renderer_scheduler.h", |
| 95 "platform/scheduler/test/renderer_scheduler_test_support.h", |
| 96 ] |
| 97 deps = [ |
| 98 "//base:base", |
| 99 "//cc:cc", |
| 100 "//testing/gmock:gmock", |
| 101 ] |
| 102 } |
| 103 |
89 # Depend on this target to use public blink API headers for things like enums | 104 # Depend on this target to use public blink API headers for things like enums |
90 # and public structures without actually linking against any Blink libraries. | 105 # and public structures without actually linking against any Blink libraries. |
91 source_set("blink_headers") { | 106 source_set("blink_headers") { |
92 sources = [ | 107 sources = [ |
93 "platform/BlameContext.h", | 108 "platform/BlameContext.h", |
94 "platform/FilePathConversion.h", | 109 "platform/FilePathConversion.h", |
95 "platform/InterfaceProvider.h", | 110 "platform/InterfaceProvider.h", |
96 "platform/InterfaceRegistry.h", | 111 "platform/InterfaceRegistry.h", |
97 "platform/Platform.h", | 112 "platform/Platform.h", |
98 "platform/PointerProperties.h", | 113 "platform/PointerProperties.h", |
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 "platform/modules/serviceworker/WebServiceWorkerSkipWaitingCallbacks.h", | 438 "platform/modules/serviceworker/WebServiceWorkerSkipWaitingCallbacks.h", |
424 "platform/modules/serviceworker/WebServiceWorkerState.h", | 439 "platform/modules/serviceworker/WebServiceWorkerState.h", |
425 "platform/modules/serviceworker/WebServiceWorkerStreamHandle.h", | 440 "platform/modules/serviceworker/WebServiceWorkerStreamHandle.h", |
426 "platform/modules/webmidi/WebMIDIAccessor.h", | 441 "platform/modules/webmidi/WebMIDIAccessor.h", |
427 "platform/modules/webmidi/WebMIDIAccessorClient.h", | 442 "platform/modules/webmidi/WebMIDIAccessorClient.h", |
428 "platform/scheduler/child/child_scheduler.h", | 443 "platform/scheduler/child/child_scheduler.h", |
429 "platform/scheduler/child/single_thread_idle_task_runner.h", | 444 "platform/scheduler/child/single_thread_idle_task_runner.h", |
430 "platform/scheduler/child/webthread_base.h", | 445 "platform/scheduler/child/webthread_base.h", |
431 "platform/scheduler/renderer/render_widget_scheduling_state.h", | 446 "platform/scheduler/renderer/render_widget_scheduling_state.h", |
432 "platform/scheduler/renderer/renderer_scheduler.h", | 447 "platform/scheduler/renderer/renderer_scheduler.h", |
433 "platform/scheduler/test/fake_renderer_scheduler.h", | |
434 "platform/scheduler/test/mock_renderer_scheduler.h", | |
435 "platform/scheduler/test/renderer_scheduler_test_support.h", | |
436 "web/WebAXEnums.h", | 448 "web/WebAXEnums.h", |
437 "web/WebAXObject.h", | 449 "web/WebAXObject.h", |
438 "web/WebActiveWheelFlingParameters.h", | 450 "web/WebActiveWheelFlingParameters.h", |
439 "web/WebArrayBuffer.h", | 451 "web/WebArrayBuffer.h", |
440 "web/WebArrayBufferConverter.h", | 452 "web/WebArrayBufferConverter.h", |
441 "web/WebArrayBufferView.h", | 453 "web/WebArrayBufferView.h", |
442 "web/WebAssociatedURLLoader.h", | 454 "web/WebAssociatedURLLoader.h", |
443 "web/WebAssociatedURLLoaderClient.h", | 455 "web/WebAssociatedURLLoaderClient.h", |
444 "web/WebAssociatedURLLoaderOptions.h", | 456 "web/WebAssociatedURLLoaderOptions.h", |
445 "web/WebAutofillClient.h", | 457 "web/WebAutofillClient.h", |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
788 source_set("shared_typemap_traits") { | 800 source_set("shared_typemap_traits") { |
789 visibility = [ ":*" ] | 801 visibility = [ ":*" ] |
790 sources = [ | 802 sources = [ |
791 "web/ConsoleMessageStructTraits.cpp", | 803 "web/ConsoleMessageStructTraits.cpp", |
792 "web/ConsoleMessageStructTraits.h", | 804 "web/ConsoleMessageStructTraits.h", |
793 ] | 805 ] |
794 deps = [ | 806 deps = [ |
795 ":mojo_bindings_shared__generator", | 807 ":mojo_bindings_shared__generator", |
796 ] | 808 ] |
797 } | 809 } |
OLD | NEW |