Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: base/test/BUILD.gn

Issue 2169553002: Properly throw java exceptions from shouldOverrideUrlLoading (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused includes in test_support_android.cc. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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/ui.gni") 5 import("//build/config/ui.gni")
6 import("//build/config/nacl/config.gni") 6 import("//build/config/nacl/config.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
10 } 10 }
11 11
12 static_library("test_config") { 12 static_library("test_config") {
13 testonly = true 13 testonly = true
14 sources = [ 14 sources = [
15 "test_switches.cc", 15 "test_switches.cc",
16 "test_switches.h", 16 "test_switches.h",
17 "test_timeouts.cc", 17 "test_timeouts.cc",
18 "test_timeouts.h", 18 "test_timeouts.h",
19 ] 19 ]
20 deps = [ 20 deps = [
21 "//base", 21 "//base",
22 ] 22 ]
23 } 23 }
24 24
25 # GYP: //base/base.gyp:test_support_base 25 # GYP: //base/base.gyp:test_support_base
26 static_library("test_support") { 26 static_library("test_support") {
27 testonly = true 27 testonly = true
28 sources = [ 28 sources = [
29 "../trace_event/trace_config_memory_test_util.h", 29 "../trace_event/trace_config_memory_test_util.h",
30 "android/java_handler_thread_for_testing.cc",
31 "android/java_handler_thread_for_testing.h",
32 "android/test_system_message_handler_link_android.cc",
33 "android/test_system_message_handler_link_android.h",
30 "gtest_util.cc", 34 "gtest_util.cc",
31 "gtest_util.h", 35 "gtest_util.h",
32 "gtest_xml_unittest_result_printer.cc", 36 "gtest_xml_unittest_result_printer.cc",
33 "gtest_xml_unittest_result_printer.h", 37 "gtest_xml_unittest_result_printer.h",
34 "gtest_xml_util.cc", 38 "gtest_xml_util.cc",
35 "gtest_xml_util.h", 39 "gtest_xml_util.h",
36 "histogram_tester.cc", 40 "histogram_tester.cc",
37 "histogram_tester.h", 41 "histogram_tester.h",
38 "icu_test_util.cc", 42 "icu_test_util.cc",
39 "icu_test_util.h", 43 "icu_test_util.h",
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 "//base", 275 "//base",
272 "//build/config/sanitizers:deps", 276 "//build/config/sanitizers:deps",
273 ] 277 ]
274 } 278 }
275 } 279 }
276 280
277 if (is_android) { 281 if (is_android) {
278 generate_jni("base_unittests_jni_headers") { 282 generate_jni("base_unittests_jni_headers") {
279 sources = [ 283 sources = [
280 "android/java/src/org/chromium/base/ContentUriTestUtils.java", 284 "android/java/src/org/chromium/base/ContentUriTestUtils.java",
285 "android/java/src/org/chromium/base/TestSystemMessageHandler.java",
281 "android/java/src/org/chromium/base/TestUiThread.java", 286 "android/java/src/org/chromium/base/TestUiThread.java",
282 ] 287 ]
283 jni_package = "base" 288 jni_package = "base"
284 } 289 }
285 } 290 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698