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/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 | 7 |
8 content_tests_gypi_values = exec_script( | 8 content_tests_gypi_values = exec_script( |
9 "//build/gypi_to_gn.py", | 9 "//build/gypi_to_gn.py", |
10 [ rebase_path("../content_tests.gypi"), | 10 [ rebase_path("../content_tests.gypi"), |
11 "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir" ], | 11 "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir" ], |
12 "scope", | 12 "scope", |
13 [ "../content_tests.gypi" ]) | 13 [ "../content_tests.gypi" ]) |
14 | 14 |
15 # GYP version //content/content_tests.gypi:test_support_content | 15 # GYP version //content/content_tests.gypi:test_support_content |
16 static_library("test_support") { | 16 static_library("test_support") { |
17 testonly = true | 17 testonly = true |
18 deps = [ | 18 deps = [ |
| 19 "//cc/blink", |
19 "//content/public/app:both", | 20 "//content/public/app:both", |
20 "//content/public/browser", | 21 "//content/public/browser", |
21 "//content/public/common", | 22 "//content/public/common", |
22 "//net:test_support", | 23 "//net:test_support", |
23 "//skia", | 24 "//skia", |
24 "//storage/common", | 25 "//storage/common", |
25 "//testing/gmock", | 26 "//testing/gmock", |
26 "//testing/gtest", | 27 "//testing/gtest", |
27 "//ui/accessibility:ax_gen", | 28 "//ui/accessibility:ax_gen", |
28 "//ui/base", | 29 "//ui/base", |
29 "//ui/base:test_support", | 30 "//ui/base:test_support", |
30 "//ui/events:dom4_keycode_converter", | 31 "//ui/events:dom4_keycode_converter", |
31 "//ui/events:events_base", | 32 "//ui/events:events_base", |
32 "//ui/events:test_support", | 33 "//ui/events:test_support", |
33 "//ui/events:gesture_detection", | 34 "//ui/events:gesture_detection", |
34 "//ui/gfx:test_support", | 35 "//ui/gfx:test_support", |
| 36 "//ui/gl", |
35 "//ui/resources", | 37 "//ui/resources", |
36 "//url", | 38 "//url", |
37 ] | 39 ] |
38 | 40 |
39 if (!is_ios) { | 41 if (!is_ios) { |
40 sources = rebase_path(content_tests_gypi_values.test_support_content_sources
, | 42 sources = rebase_path(content_tests_gypi_values.test_support_content_sources
, |
41 ".", "//content") | 43 ".", "//content") |
42 | 44 |
43 deps += [ | 45 deps += [ |
44 "//content/browser/speech/proto", | 46 "//content/browser/speech/proto", |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 if (!is_ios) { | 147 if (!is_ios) { |
146 | 148 |
147 # GYP version //content/content_tests.gypi:layouttest_support_content | 149 # GYP version //content/content_tests.gypi:layouttest_support_content |
148 static_library("layouttest_support") { | 150 static_library("layouttest_support") { |
149 testonly = true | 151 testonly = true |
150 sources = rebase_path(content_tests_gypi_values.layouttest_support_content_s
ources, | 152 sources = rebase_path(content_tests_gypi_values.layouttest_support_content_s
ources, |
151 ".", "//content") | 153 ".", "//content") |
152 | 154 |
153 deps = [ | 155 deps = [ |
154 ":test_support", | 156 ":test_support", |
| 157 "//cc", |
| 158 "//cc/blink", |
| 159 "//content/public/common", |
155 "//skia", | 160 "//skia", |
156 "//v8", | 161 "//v8", |
157 "//ui/accessibility:ax_gen", | 162 "//ui/accessibility:ax_gen", |
158 ] | 163 ] |
159 | 164 |
160 if (is_android) { | 165 if (is_android) { |
161 #deps += [ "test_support_content_jni_headers" ] TODO(GYP) | 166 #deps += [ "test_support_content_jni_headers" ] TODO(GYP) |
162 } | 167 } |
163 } | 168 } |
164 | 169 |
165 } # !is_ios | 170 } # !is_ios |
166 | 171 |
167 # TODO(GYP): Unit test targets | 172 # TODO(GYP): Unit test targets |
168 | 173 |
OLD | NEW |