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 static_library("test_support") { | 15 static_library("test_support") { |
16 # GYP version //content/content_tests.gypi:test_support_content | 16 # GYP version //content/content_tests.gypi:test_support_content |
| 17 output_name = "content_test_support" |
17 deps = [ | 18 deps = [ |
18 "//net:test_support", | 19 "//net:test_support", |
19 "//skia", | 20 "//skia", |
20 "//testing/gmock", | 21 "//testing/gmock", |
21 "//testing/gtest", | 22 "//testing/gtest", |
22 "//ui/accessibility:ax_gen", | 23 "//ui/accessibility:ax_gen", |
23 "//ui/base", | 24 "//ui/base", |
24 "//ui/base:ui_base_test_support", | 25 "//ui/base:ui_base_test_support", |
25 "//ui/events:dom4_keycode_converter", | 26 "//ui/events:dom4_keycode_converter", |
26 "//ui/events:events_base", | 27 "//ui/events:events_base", |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 if (is_android) { | 160 if (is_android) { |
160 # TODO(GYP) | 161 # TODO(GYP) |
161 # deps += [ "test_support_content_jni_headers" ] | 162 # deps += [ "test_support_content_jni_headers" ] |
162 } | 163 } |
163 } | 164 } |
164 | 165 |
165 } # !is_ios | 166 } # !is_ios |
166 | 167 |
167 # TODO(GYP): Unit test targets | 168 # TODO(GYP): Unit test targets |
168 | 169 |
OLD | NEW |