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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//build/config/crypto.gni") | 6 import("//build/config/crypto.gni") |
7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 import("//build/module_args/v8.gni") | 9 import("//build/module_args/v8.gni") |
10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
11 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 11 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
12 | 12 |
13 content_tests_gypi_values = | 13 content_tests_gypi_values = |
14 exec_script("//build/gypi_to_gn.py", | 14 exec_script("//build/gypi_to_gn.py", |
15 [ | 15 [ |
16 rebase_path("../content_tests.gypi"), | 16 rebase_path("../content_tests.gypi"), |
17 "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir", | 17 "--replace=<(SHARED_INTERMEDIATE_DIR)=$root_gen_dir", |
18 ], | 18 ], |
19 "scope", | 19 "scope", |
20 [ "../content_tests.gypi" ]) | 20 [ "../content_tests.gypi" ]) |
21 | 21 |
22 # GYP version //content/content_tests.gypi:test_support_content | 22 # GYP version //content/content_tests.gypi:test_support_content |
23 static_library("test_support") { | 23 source_set("test_support") { |
24 testonly = true | 24 testonly = true |
25 public_deps = [] | 25 public_deps = [] |
26 deps = [ | 26 deps = [ |
27 "//cc/blink", | 27 "//cc/blink", |
28 "//content/public/app:both", | 28 "//content/public/app:both", |
29 "//content/public/browser", | 29 "//content/public/browser", |
30 "//content/public/common", | 30 "//content/public/common", |
31 "//net:test_support", | 31 "//net:test_support", |
32 "//skia", | 32 "//skia", |
33 "//storage/common", | 33 "//storage/common", |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 | 120 |
121 if (use_aura || is_mac) { | 121 if (use_aura || is_mac) { |
122 deps += [ "//ui/compositor" ] | 122 deps += [ "//ui/compositor" ] |
123 } | 123 } |
124 | 124 |
125 if (use_ozone) { | 125 if (use_ozone) { |
126 deps += [ "//ui/ozone" ] | 126 deps += [ "//ui/ozone" ] |
127 } | 127 } |
128 | 128 |
129 if (is_win) { | 129 if (is_win) { |
130 deps += [ "//third_party/iaccessible2" ] | 130 deps += [ |
131 sources += [ "../app/startup_helper_win.cc" ] | 131 "//content:startup_helper_win", |
| 132 "//third_party/iaccessible2", |
| 133 ] |
132 } | 134 } |
133 | 135 |
134 if (!is_android && !is_ios) { | 136 if (!is_android && !is_ios) { |
135 sources += [ | 137 sources += [ |
136 "../browser/compositor/test/no_transport_image_transport_factory.cc", | 138 "../browser/compositor/test/no_transport_image_transport_factory.cc", |
137 "../browser/compositor/test/no_transport_image_transport_factory.h", | 139 "../browser/compositor/test/no_transport_image_transport_factory.h", |
138 ] | 140 ] |
139 deps += [ | 141 deps += [ |
140 "//ui/compositor", | 142 "//ui/compositor", |
141 "//third_party/libvpx", | 143 "//third_party/libvpx", |
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
711 "//gpu/blink", | 713 "//gpu/blink", |
712 "//testing/gtest", | 714 "//testing/gtest", |
713 "//third_party/WebKit/public:blink", | 715 "//third_party/WebKit/public:blink", |
714 "//ui/base", | 716 "//ui/base", |
715 "//ui/gfx", | 717 "//ui/gfx", |
716 "//ui/gfx/geometry", | 718 "//ui/gfx/geometry", |
717 "//ui/gl", | 719 "//ui/gl", |
718 ] | 720 ] |
719 } | 721 } |
720 } | 722 } |
OLD | NEW |