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 deps = [ | 17 deps = [ |
18 "//content/public/app", | 18 "//content/public/app", |
19 "//content/public/browser", | 19 "//content/public/browser", |
20 "//content/public/common", | 20 "//content/public/common", |
21 "//net:test_support", | 21 "//net:test_support", |
22 "//skia", | 22 "//skia", |
| 23 "//storage/common", |
23 "//testing/gmock", | 24 "//testing/gmock", |
24 "//testing/gtest", | 25 "//testing/gtest", |
25 "//ui/accessibility:ax_gen", | 26 "//ui/accessibility:ax_gen", |
26 "//ui/base", | 27 "//ui/base", |
27 "//ui/base:test_support", | 28 "//ui/base:test_support", |
28 "//ui/events:dom4_keycode_converter", | 29 "//ui/events:dom4_keycode_converter", |
29 "//ui/events:events_base", | 30 "//ui/events:events_base", |
30 "//ui/events:test_support", | 31 "//ui/events:test_support", |
31 "//ui/events:gesture_detection", | 32 "//ui/events:gesture_detection", |
32 "//ui/gfx:test_support", | 33 "//ui/gfx:test_support", |
33 "//ui/resources", | 34 "//ui/resources", |
34 "//url", | 35 "//url", |
35 "//storage/common", | |
36 ] | 36 ] |
37 | 37 |
38 if (!is_ios) { | 38 if (!is_ios) { |
39 sources = rebase_path(content_tests_gypi_values.test_support_content_sources
, | 39 sources = rebase_path(content_tests_gypi_values.test_support_content_sources
, |
40 ".", "//content") | 40 ".", "//content") |
41 | 41 |
42 deps += [ | 42 deps += [ |
43 "//content/browser/speech/proto", | 43 "//content/browser/speech/proto", |
44 "//content/child", | 44 "//content/child", |
45 "//content/gpu", | 45 "//content/gpu", |
46 "//content/ppapi_plugin", | 46 "//content/ppapi_plugin", |
47 "//content/public/renderer", | 47 "//content/public/renderer", |
48 "//content/public/utility", | 48 "//content/public/utility", |
49 "//cc", | 49 "//cc", |
50 "//cc:test_support", | 50 "//cc:test_support", |
51 "//media", | 51 "//media", |
52 "//ppapi:ppapi_host", | 52 "//ppapi:ppapi_host", |
53 "//ppapi:ppapi_proxy", | 53 "//ppapi:ppapi_proxy", |
54 "//ppapi:ppapi_shared", | 54 "//ppapi:ppapi_shared", |
55 "//ppapi:ppapi_unittest_shared", | 55 "//ppapi:ppapi_unittest_shared", |
| 56 "//storage/browser", |
56 "//storage/common", | 57 "//storage/common", |
57 "//third_party/WebKit/public:blink", | 58 "//third_party/WebKit/public:blink", |
58 "//ui/surface", | 59 "//ui/surface", |
59 "//v8", | 60 "//v8", |
60 "//webkit/common/gpu", | 61 "//webkit/common/gpu", |
61 "//webkit/browser:storage", | |
62 ] | 62 ] |
63 | 63 |
64 forward_dependent_configs_from = [ | 64 forward_dependent_configs_from = [ |
65 "//third_party/WebKit/public:blink", | 65 "//third_party/WebKit/public:blink", |
66 ] | 66 ] |
67 | 67 |
68 if (enable_webrtc) { | 68 if (enable_webrtc) { |
69 # TODO(GYP) remove this when libjingle is converted. | 69 # TODO(GYP) remove this when libjingle is converted. |
70 configs += [ "//third_party/libjingle:jingle_direct_dependent_configs" ] | 70 configs += [ "//third_party/libjingle:jingle_direct_dependent_configs" ] |
71 | 71 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 | 151 |
152 if (is_android) { | 152 if (is_android) { |
153 #deps += [ "test_support_content_jni_headers" ] TODO(GYP) | 153 #deps += [ "test_support_content_jni_headers" ] TODO(GYP) |
154 } | 154 } |
155 } | 155 } |
156 | 156 |
157 } # !is_ios | 157 } # !is_ios |
158 | 158 |
159 # TODO(GYP): Unit test targets | 159 # TODO(GYP): Unit test targets |
160 | 160 |
OLD | NEW |