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") |
(...skipping 1640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1651 ldflags = [ "-Wl,--gc-sections" ] | 1651 ldflags = [ "-Wl,--gc-sections" ] |
1652 } else { | 1652 } else { |
1653 sources += rebase_path( | 1653 sources += rebase_path( |
1654 chrome_tests_unit_gypi_values.chrome_unit_tests_non_android_sources, | 1654 chrome_tests_unit_gypi_values.chrome_unit_tests_non_android_sources, |
1655 ".", | 1655 ".", |
1656 "//chrome") | 1656 "//chrome") |
1657 sources -= | 1657 sources -= |
1658 [ "../browser/download/download_request_infobar_delegate_unittest.cc" ] | 1658 [ "../browser/download/download_request_infobar_delegate_unittest.cc" ] |
1659 } | 1659 } |
1660 | 1660 |
1661 if (!is_ios) { | 1661 if (!is_ios && !is_android) { |
1662 deps += [ ":unit_tests_js" ] | 1662 deps += [ ":unit_tests_js" ] |
1663 if (!is_android) { | 1663 sources += rebase_path( |
1664 sources += rebase_path( | 1664 chrome_tests_unit_gypi_values.chrome_unit_tests_non_mobile_sources, |
1665 chrome_tests_unit_gypi_values.chrome_unit_tests_non_mobile_sources
, | 1665 ".", |
1666 ".", | 1666 "//chrome") |
1667 "//chrome") | |
1668 } | |
1669 } | 1667 } |
1670 | 1668 |
1671 if (is_ios || is_chromeos) { | 1669 if (is_ios || is_chromeos) { |
1672 sources -= [ "../browser/signin/chrome_signin_status_metrics_provider_delega
te_unittest.cc" ] | 1670 sources -= [ "../browser/signin/chrome_signin_status_metrics_provider_delega
te_unittest.cc" ] |
1673 } | 1671 } |
1674 if (enable_background) { | 1672 if (enable_background) { |
1675 sources += rebase_path( | 1673 sources += rebase_path( |
1676 chrome_tests_unit_gypi_values.chrome_unit_tests_background_sources, | 1674 chrome_tests_unit_gypi_values.chrome_unit_tests_background_sources, |
1677 ".", | 1675 ".", |
1678 "//chrome") | 1676 "//chrome") |
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2241 if (is_android) { | 2239 if (is_android) { |
2242 android_library("unit_tests_java") { | 2240 android_library("unit_tests_java") { |
2243 DEPRECATED_java_in_dir = "//chrome/test/android/unit_tests_apk/src" | 2241 DEPRECATED_java_in_dir = "//chrome/test/android/unit_tests_apk/src" |
2244 deps = [ | 2242 deps = [ |
2245 "//base:base_java", | 2243 "//base:base_java", |
2246 "//chrome/android:chrome_java", | 2244 "//chrome/android:chrome_java", |
2247 "//content/public/android:content_java", | 2245 "//content/public/android:content_java", |
2248 ] | 2246 ] |
2249 } | 2247 } |
2250 } | 2248 } |
OLD | NEW |