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/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.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/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("//third_party/WebKit/Source/modules/modules.gni") | 10 import("//third_party/WebKit/Source/modules/modules.gni") |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 sources -= [ "default/WebRenderTheme.cpp" ] | 47 sources -= [ "default/WebRenderTheme.cpp" ] |
48 } | 48 } |
49 | 49 |
50 if (is_component_build) { | 50 if (is_component_build) { |
51 deps += [ | 51 deps += [ |
52 "//base/test:test_support", | 52 "//base/test:test_support", |
53 "//testing/gmock", | 53 "//testing/gmock", |
54 "//testing/gtest", | 54 "//testing/gtest", |
55 "//third_party/WebKit/Source/core:testing", | 55 "//third_party/WebKit/Source/core:testing", |
56 "//third_party/WebKit/Source/modules:modules_testing", | 56 "//third_party/WebKit/Source/modules:modules_testing", |
| 57 "//third_party/WebKit/Source/platform:test_support", |
57 "//third_party/WebKit/Source/wtf:test_support", | 58 "//third_party/WebKit/Source/wtf:test_support", |
58 ] | 59 ] |
59 | 60 |
60 configs -= [ | 61 configs -= [ |
61 "//third_party/WebKit/Source:non_test_config", | 62 "//third_party/WebKit/Source:non_test_config", |
62 ] | 63 ] |
63 | 64 |
64 sources += web_gypi.web_unittest_files | 65 sources += web_gypi.web_unittest_files |
65 sources += bindings_unittest_files | 66 sources += bindings_unittest_files |
66 sources += core_unittest_files | 67 sources += core_unittest_files |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 | 112 |
112 deps = [ | 113 deps = [ |
113 ":test_support", | 114 ":test_support", |
114 ":web", | 115 ":web", |
115 "//base", | 116 "//base", |
116 "//base/test:test_support", | 117 "//base/test:test_support", |
117 "//base:i18n", | 118 "//base:i18n", |
118 "//content/test:test_support", | 119 "//content/test:test_support", |
119 "//testing/gmock", | 120 "//testing/gmock", |
120 "//testing/gtest", | 121 "//testing/gtest", |
| 122 "//third_party/WebKit/Source/platform:test_support", |
121 "//third_party/WebKit/Source/wtf:test_support", | 123 "//third_party/WebKit/Source/wtf:test_support", |
122 "//third_party/libwebp", | 124 "//third_party/libwebp", |
123 "//third_party/zlib", | 125 "//third_party/zlib", |
124 "//url", | 126 "//url", |
125 "//v8", | 127 "//v8", |
126 ] | 128 ] |
127 | 129 |
128 sources = [ "tests/RunAllTests.cpp" ] | 130 sources = [ "tests/RunAllTests.cpp" ] |
129 | 131 |
130 configs += [ "//third_party/WebKit/Source:config" ] | 132 configs += [ "//third_party/WebKit/Source:config" ] |
131 | 133 |
132 if (!is_component_build) { | 134 if (!is_component_build) { |
133 deps += [ "//third_party/WebKit/Source/core" ] | 135 deps += [ "//third_party/WebKit/Source/core" ] |
134 | 136 |
135 configs += [ "//third_party/WebKit/Source:inside_blink" ] | 137 configs += [ "//third_party/WebKit/Source:inside_blink" ] |
136 | 138 |
137 sources += web_gypi.web_unittest_files | 139 sources += web_gypi.web_unittest_files |
138 sources += bindings_unittest_files | 140 sources += bindings_unittest_files |
139 sources += core_unittest_files | 141 sources += core_unittest_files |
140 sources += modules_unittest_files | 142 sources += modules_unittest_files |
141 sources += platform_unittest_support_files | 143 sources += platform_unittest_support_files |
142 sources += platform_web_unittest_files | 144 sources += platform_web_unittest_files |
143 } | 145 } |
144 } | 146 } |
145 } | 147 } |
OLD | NEW |