| 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/config/jumbo.gni") |
| 5 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 6 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 7 import("//third_party/WebKit/Source/bindings/bindings.gni") | 8 import("//third_party/WebKit/Source/bindings/bindings.gni") |
| 8 import("//third_party/WebKit/Source/config.gni") | 9 import("//third_party/WebKit/Source/config.gni") |
| 9 import("//third_party/WebKit/Source/core/core.gni") | 10 import("//third_party/WebKit/Source/core/core.gni") |
| 10 import("//third_party/WebKit/Source/modules/modules.gni") | 11 import("//third_party/WebKit/Source/modules/modules.gni") |
| 11 | 12 |
| 12 visibility = [ "//third_party/WebKit/*" ] | 13 visibility = [ "//third_party/WebKit/*" ] |
| 13 | 14 |
| 14 component("web") { | 15 jumbo_component("web") { |
| 15 output_name = "blink_web" | 16 output_name = "blink_web" |
| 16 | 17 |
| 17 deps = [ | 18 deps = [ |
| 18 "//skia", | 19 "//skia", |
| 19 "//third_party/WebKit/Source/controller", | 20 "//third_party/WebKit/Source/controller", |
| 20 "//third_party/WebKit/Source/core", | 21 "//third_party/WebKit/Source/core", |
| 21 "//third_party/WebKit/Source/modules", | 22 "//third_party/WebKit/Source/modules", |
| 22 "//third_party/WebKit/Source/platform", | 23 "//third_party/WebKit/Source/platform", |
| 23 "//third_party/angle:translator", | 24 "//third_party/angle:translator", |
| 24 "//third_party/icu", | 25 "//third_party/icu", |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 } | 66 } |
| 66 } | 67 } |
| 67 | 68 |
| 68 group("webkit_unit_tests_data") { | 69 group("webkit_unit_tests_data") { |
| 69 data = [ | 70 data = [ |
| 70 "../core/testing/data/", | 71 "../core/testing/data/", |
| 71 "../core/paint/test_data/", | 72 "../core/paint/test_data/", |
| 72 ] | 73 ] |
| 73 } | 74 } |
| 74 | 75 |
| 75 test("webkit_unit_tests") { | 76 jumbo_target("webkit_unit_tests") { |
| 77 target_type = "test" |
| 76 visibility = [] # Allow re-assignment of list. | 78 visibility = [] # Allow re-assignment of list. |
| 77 visibility = [ "*" ] | 79 visibility = [ "*" ] |
| 78 | 80 |
| 79 sources = [ | 81 sources = [ |
| 80 # FIXME: Move the tests from web/tests/ to appropriate places. | 82 # FIXME: Move the tests from web/tests/ to appropriate places. |
| 81 # crbug.com/353585 | 83 # crbug.com/353585 |
| 82 | 84 |
| 83 "tests/AccessibilityObjectModelTest.cpp", | 85 "tests/AccessibilityObjectModelTest.cpp", |
| 84 "tests/ChromeClientImplTest.cpp", | 86 "tests/ChromeClientImplTest.cpp", |
| 85 "tests/HTMLImportSheetsTest.cpp", | 87 "tests/HTMLImportSheetsTest.cpp", |
| 86 "tests/LayoutGeometryMapTest.cpp", | 88 "tests/LayoutGeometryMapTest.cpp", |
| 87 "tests/LocalFrameClientImplTest.cpp", | 89 "tests/LocalFrameClientImplTest.cpp", |
| 88 "tests/RunAllTests.cpp", | 90 "tests/RunAllTests.cpp", |
| 89 "tests/ScrollMetricsTest.cpp", | 91 "tests/ScrollMetricsTest.cpp", |
| 90 "tests/SmoothScrollTest.cpp", | 92 "tests/SmoothScrollTest.cpp", |
| 91 "tests/SpinLockTest.cpp", | 93 "tests/SpinLockTest.cpp", |
| 92 "tests/VirtualTimeTest.cpp", | 94 "tests/VirtualTimeTest.cpp", |
| 93 "tests/WebFrameSerializerSanitizationTest.cpp", | 95 "tests/WebFrameSerializerSanitizationTest.cpp", |
| 94 "tests/WebFrameTest.cpp", | 96 "tests/WebFrameTest.cpp", |
| 95 ] | 97 ] |
| 96 sources += bindings_unittest_files | 98 sources += bindings_unittest_files |
| 97 | 99 |
| 100 jumbo_excluded_sources = [ |
| 101 # Too many ScriptExecutionCallbackHelper |
| 102 "tests/WebFrameTest.cpp", |
| 103 |
| 104 # Explicit specialization of |
| 105 # blink::NativeValueTraits<blink::IDLByte after instantiation. |
| 106 "//third_party/WebKit/Source/bindings/core/v8/NativeValueTraitsImplTest.cpp"
, |
| 107 "//third_party/WebKit/Source/bindings/core/v8/V8BindingTest.cpp", |
| 108 |
| 109 # Too many class Function. |
| 110 "//third_party/WebKit/Source/bindings/core/v8/ScriptPromiseTest.cpp", |
| 111 |
| 112 # Too many GarbageCollectedHolder |
| 113 "//third_party/WebKit/Source/bindings/core/v8/ToV8Test.cpp", |
| 114 |
| 115 # Too many SerializedValue |
| 116 "//third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValue
SerializerForModulesTest.cpp", |
| 117 ] |
| 118 |
| 98 deps = [ | 119 deps = [ |
| 99 ":web", | 120 ":web", |
| 100 "//base", | 121 "//base", |
| 101 "//base:i18n", | 122 "//base:i18n", |
| 102 "//base/test:test_support", | 123 "//base/test:test_support", |
| 103 "//content/test:test_support", | 124 "//content/test:test_support", |
| 104 "//gpu:test_support", | 125 "//gpu:test_support", |
| 105 "//services/device/public/interfaces:interfaces_blink", | 126 "//services/device/public/interfaces:interfaces_blink", |
| 106 "//testing/gmock", | 127 "//testing/gmock", |
| 107 "//testing/gtest", | 128 "//testing/gtest", |
| (...skipping 23 matching lines...) Expand all Loading... |
| 131 | 152 |
| 132 if (is_android) { | 153 if (is_android) { |
| 133 deps += [ | 154 deps += [ |
| 134 "//base:base_java", | 155 "//base:base_java", |
| 135 "//content/public/android:content_java", | 156 "//content/public/android:content_java", |
| 136 "//content/shell/android:content_shell_assets", | 157 "//content/shell/android:content_shell_assets", |
| 137 "//net/android:net_java", | 158 "//net/android:net_java", |
| 138 ] | 159 ] |
| 139 } | 160 } |
| 140 } | 161 } |
| OLD | NEW |