| 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", |
| 19 "//content/public/browser", |
| 20 "//content/public/common", |
| 18 "//net:test_support", | 21 "//net:test_support", |
| 19 "//skia", | 22 "//skia", |
| 20 "//testing/gmock", | 23 "//testing/gmock", |
| 21 "//testing/gtest", | 24 "//testing/gtest", |
| 22 "//ui/accessibility:ax_gen", | 25 "//ui/accessibility:ax_gen", |
| 23 "//ui/base", | 26 "//ui/base", |
| 24 "//ui/base:test_support", | 27 "//ui/base:test_support", |
| 25 "//ui/events:dom4_keycode_converter", | 28 "//ui/events:dom4_keycode_converter", |
| 26 "//ui/events:events_base", | 29 "//ui/events:events_base", |
| 27 "//ui/events:test_support", | 30 "//ui/events:test_support", |
| 28 "//ui/events:gesture_detection", | 31 "//ui/events:gesture_detection", |
| 29 "//ui/gfx:test_support", | 32 "//ui/gfx:test_support", |
| 30 "//ui/resources", | 33 "//ui/resources", |
| 31 "//url", | 34 "//url", |
| 32 "//webkit/common", | 35 "//webkit/common", |
| 33 "//content/browser/speech/proto", | |
| 34 "//content/browser", | |
| 35 "//content/common", | |
| 36 "//content/app", | |
| 37 ] | 36 ] |
| 38 | 37 |
| 39 if (!is_ios) { | 38 if (!is_ios) { |
| 40 sources = rebase_path(content_tests_gypi_values.layouttest_support_content_s
ources, | 39 sources = rebase_path(content_tests_gypi_values.test_support_content_sources
, |
| 41 ".", "//content") | 40 ".", "//content") |
| 42 | 41 |
| 43 deps += [ | 42 deps += [ |
| 43 "//content/browser/speech/proto", |
| 44 "//content/child", | 44 "//content/child", |
| 45 "//content/common", | |
| 46 "//content/gpu", | 45 "//content/gpu", |
| 47 "//content/ppapi_plugin", | 46 "//content/ppapi_plugin", |
| 48 "//content/renderer", | 47 "//content/public/renderer", |
| 49 "//content/utility", | 48 "//content/public/utility", |
| 50 "//content/worker", | 49 "//content/worker", |
| 51 "//cc", | 50 "//cc", |
| 52 "//cc:test_support", | 51 "//cc:test_support", |
| 53 "//media", | 52 "//media", |
| 54 "//ppapi:ppapi_host", | 53 "//ppapi:ppapi_host", |
| 55 "//ppapi:ppapi_proxy", | 54 "//ppapi:ppapi_proxy", |
| 56 "//ppapi:ppapi_shared", | 55 "//ppapi:ppapi_shared", |
| 57 "//ppapi:ppapi_unittest_shared", | 56 "//ppapi:ppapi_unittest_shared", |
| 58 "//third_party/WebKit/public:blink", | 57 "//third_party/WebKit/public:blink", |
| 59 "//ui/surface", | 58 "//ui/surface", |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 | 153 |
| 155 if (is_android) { | 154 if (is_android) { |
| 156 #deps += [ "test_support_content_jni_headers" ] TODO(GYP) | 155 #deps += [ "test_support_content_jni_headers" ] TODO(GYP) |
| 157 } | 156 } |
| 158 } | 157 } |
| 159 | 158 |
| 160 } # !is_ios | 159 } # !is_ios |
| 161 | 160 |
| 162 # TODO(GYP): Unit test targets | 161 # TODO(GYP): Unit test targets |
| 163 | 162 |
| OLD | NEW |