| 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/compiler/compiler.gni") | 6 import("//build/config/compiler/compiler.gni") |
| 7 import("//build/config/crypto.gni") | 7 import("//build/config/crypto.gni") |
| 8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
| 9 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
| 10 import("//chrome/chrome_tests.gni") | 10 import("//chrome/chrome_tests.gni") |
| 11 import("//chrome/common/features.gni") | 11 import("//chrome/common/features.gni") |
| 12 import("//chrome/test/base/js2gtest.gni") | 12 import("//chrome/test/base/js2gtest.gni") |
| 13 import("//testing/test.gni") | 13 import("//testing/test.gni") |
| 14 | 14 |
| 15 if (is_android) { | 15 if (is_android) { |
| 16 import("//build/config/android/rules.gni") | 16 import("//build/config/android/rules.gni") |
| 17 } | 17 } |
| 18 | 18 |
| 19 # This target exists to reference other test executables to bring these files | 19 # This target exists to reference other test executables to bring these files |
| 20 # into the build. | 20 # into the build. |
| 21 group("test") { | 21 group("test") { |
| 22 testonly = true | 22 testonly = true |
| 23 } | 23 } |
| 24 | 24 |
| 25 # GYP version: chrome/chrome_tests_unit.gypi:test_support_common | 25 # GYP version: chrome/chrome_tests_unit.gypi:test_support_common |
| 26 source_set("test_support") { | 26 # |
| 27 # Use a static library here because many test binaries depend on this but don't |
| 28 # require many files from it. This makes linking more efficient. |
| 29 static_library("test_support") { |
| 27 defines = [] | 30 defines = [] |
| 28 testonly = true | 31 testonly = true |
| 29 | 32 |
| 30 sources = [ | 33 sources = [ |
| 31 "base/chrome_process_util.cc", | 34 "base/chrome_process_util.cc", |
| 32 "base/chrome_process_util.h", | 35 "base/chrome_process_util.h", |
| 33 "base/chrome_process_util_mac.cc", | 36 "base/chrome_process_util_mac.cc", |
| 34 "base/chrome_render_view_host_test_harness.cc", | 37 "base/chrome_render_view_host_test_harness.cc", |
| 35 "base/chrome_render_view_host_test_harness.h", | 38 "base/chrome_render_view_host_test_harness.h", |
| 36 "base/chrome_test_launcher.cc", | 39 "base/chrome_test_launcher.cc", |
| (...skipping 2340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2377 if (is_android) { | 2380 if (is_android) { |
| 2378 android_library("unit_tests_java") { | 2381 android_library("unit_tests_java") { |
| 2379 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap
k/ChromeNativeTestApplication.java" ] | 2382 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap
k/ChromeNativeTestApplication.java" ] |
| 2380 deps = [ | 2383 deps = [ |
| 2381 "//base:base_java", | 2384 "//base:base_java", |
| 2382 "//chrome/android:chrome_java", | 2385 "//chrome/android:chrome_java", |
| 2383 "//content/public/android:content_java", | 2386 "//content/public/android:content_java", |
| 2384 ] | 2387 ] |
| 2385 } | 2388 } |
| 2386 } | 2389 } |
| OLD | NEW |