| 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 2156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2167 "//chrome") | 2167 "//chrome") |
| 2168 } | 2168 } |
| 2169 if (safe_browsing_mode == 1 && enable_extensions) { | 2169 if (safe_browsing_mode == 1 && enable_extensions) { |
| 2170 sources += [ "../browser/extensions/blacklist_unittest.cc" ] | 2170 sources += [ "../browser/extensions/blacklist_unittest.cc" ] |
| 2171 } | 2171 } |
| 2172 if (enable_app_list) { | 2172 if (enable_app_list) { |
| 2173 sources += rebase_path( | 2173 sources += rebase_path( |
| 2174 chrome_tests_unit_gypi_values.chrome_unit_tests_app_list_sources, | 2174 chrome_tests_unit_gypi_values.chrome_unit_tests_app_list_sources, |
| 2175 ".", | 2175 ".", |
| 2176 "//chrome") | 2176 "//chrome") |
| 2177 if (is_mac) { | |
| 2178 # This assumes the AppList is views-based but Mac only links browser parts | |
| 2179 # for the Cocoa implementation." | |
| 2180 sources -= [ "../browser/ui/app_list/app_list_shower_views_unittest.cc" ] | |
| 2181 } | |
| 2182 deps += [ "//ui/app_list:test_support" ] | 2177 deps += [ "//ui/app_list:test_support" ] |
| 2183 } | 2178 } |
| 2184 if (enable_app_list && is_chromeos) { | 2179 if (enable_app_list && is_chromeos) { |
| 2185 sources += rebase_path( | 2180 sources += rebase_path( |
| 2186 chrome_tests_unit_gypi_values.chrome_unit_tests_app_list_chromeos_so
urces, | 2181 chrome_tests_unit_gypi_values.chrome_unit_tests_app_list_chromeos_so
urces, |
| 2187 ".", | 2182 ".", |
| 2188 "//chrome") | 2183 "//chrome") |
| 2189 deps += [ "//components/arc:arc_test_support" ] | 2184 deps += [ "//components/arc:arc_test_support" ] |
| 2190 } | 2185 } |
| 2191 if (enable_plugins && !enable_plugin_installation) { | 2186 if (enable_plugins && !enable_plugin_installation) { |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2347 if (is_android) { | 2342 if (is_android) { |
| 2348 android_library("unit_tests_java") { | 2343 android_library("unit_tests_java") { |
| 2349 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap
k/ChromeNativeTestApplication.java" ] | 2344 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap
k/ChromeNativeTestApplication.java" ] |
| 2350 deps = [ | 2345 deps = [ |
| 2351 "//base:base_java", | 2346 "//base:base_java", |
| 2352 "//chrome/android:chrome_java", | 2347 "//chrome/android:chrome_java", |
| 2353 "//content/public/android:content_java", | 2348 "//content/public/android:content_java", |
| 2354 ] | 2349 ] |
| 2355 } | 2350 } |
| 2356 } | 2351 } |
| OLD | NEW |