| 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 testonly = true | 17 testonly = true |
| 18 deps = [ | 18 deps = [ |
| 19 "//cc/blink", | 19 "//cc/blink", |
| 20 "//content/public/app:both", | 20 "//content/public/app:both", |
| 21 "//content/public/browser", | 21 "//content/public/browser:browser_sources", |
| 22 "//content/public/common", | 22 "//content/public/common:common_sources", |
| 23 "//net:test_support", | 23 "//net:test_support", |
| 24 "//skia", | 24 "//skia", |
| 25 "//storage/common", | 25 "//storage/common", |
| 26 "//testing/gmock", | 26 "//testing/gmock", |
| 27 "//testing/gtest", | 27 "//testing/gtest", |
| 28 "//ui/accessibility:ax_gen", | 28 "//ui/accessibility:ax_gen", |
| 29 "//ui/base", | 29 "//ui/base", |
| 30 "//ui/base:test_support", | 30 "//ui/base:test_support", |
| 31 "//ui/events:dom4_keycode_converter", | 31 "//ui/events:dom4_keycode_converter", |
| 32 "//ui/events:events_base", | 32 "//ui/events:events_base", |
| 33 "//ui/events:test_support", | 33 "//ui/events:test_support", |
| 34 "//ui/events:gesture_detection", | 34 "//ui/events:gesture_detection", |
| 35 "//ui/gfx:test_support", | 35 "//ui/gfx:test_support", |
| 36 "//ui/gl", | 36 "//ui/gl", |
| 37 "//ui/resources", | 37 "//ui/resources", |
| 38 "//url", | 38 "//url", |
| 39 ] | 39 ] |
| 40 | 40 |
| 41 if (!is_ios) { | 41 if (!is_ios) { |
| 42 sources = rebase_path(content_tests_gypi_values.test_support_content_sources
, | 42 sources = rebase_path(content_tests_gypi_values.test_support_content_sources
, |
| 43 ".", "//content") | 43 ".", "//content") |
| 44 | 44 |
| 45 deps += [ | 45 deps += [ |
| 46 "//content/browser/speech/proto", | 46 "//content/browser/speech/proto", |
| 47 "//content/child", | 47 "//content/public/child:child_sources", |
| 48 "//content/gpu", | 48 "//content/gpu", |
| 49 "//content/public/renderer", | 49 "//content/public/renderer:renderer_sources", |
| 50 "//content/public/utility", | 50 "//content/public/utility:utility_sources", |
| 51 "//cc", | 51 "//cc", |
| 52 "//cc:test_support", | 52 "//cc:test_support", |
| 53 "//media", | 53 "//media", |
| 54 "//ppapi:ppapi_host", | 54 "//ppapi:ppapi_host", |
| 55 "//ppapi:ppapi_proxy", | 55 "//ppapi:ppapi_proxy", |
| 56 "//ppapi:ppapi_shared", | 56 "//ppapi:ppapi_shared", |
| 57 "//ppapi:ppapi_unittest_shared", | 57 "//ppapi:ppapi_unittest_shared", |
| 58 "//storage/browser", | 58 "//storage/browser", |
| 59 "//storage/common", | 59 "//storage/common", |
| 60 "//third_party/WebKit/public:blink", | 60 "//third_party/WebKit/public:blink", |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 | 164 |
| 165 if (is_android) { | 165 if (is_android) { |
| 166 #deps += [ "test_support_content_jni_headers" ] TODO(GYP) | 166 #deps += [ "test_support_content_jni_headers" ] TODO(GYP) |
| 167 } | 167 } |
| 168 } | 168 } |
| 169 | 169 |
| 170 } # !is_ios | 170 } # !is_ios |
| 171 | 171 |
| 172 # TODO(GYP): Unit test targets | 172 # TODO(GYP): Unit test targets |
| 173 | 173 |
| OLD | NEW |