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:both", | 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 "//storage/common", |
24 "//testing/gmock", | 24 "//testing/gmock", |
25 "//testing/gtest", | 25 "//testing/gtest", |
26 "//ui/accessibility:ax_gen", | 26 "//ui/accessibility:ax_gen", |
27 "//ui/base", | 27 "//ui/base", |
28 "//ui/base:test_support", | 28 "//ui/base:test_support", |
(...skipping 122 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 |