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

Unified 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: Fix trybot compilation failure. 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 side-by-side diff with in-line comments
Download patch
Index: base/test/BUILD.gn
diff --git a/base/test/BUILD.gn b/base/test/BUILD.gn
index 2733189c84443fc8bce61144c5438460590d4d93..47472dd4fb35dbddf708d9f907c9474f3fc911d9 100644
--- a/base/test/BUILD.gn
+++ b/base/test/BUILD.gn
@@ -27,6 +27,10 @@ static_library("test_support") {
testonly = true
sources = [
"../trace_event/trace_config_memory_test_util.h",
+ "android/java_handler_thread_for_testing.cc",
+ "android/java_handler_thread_for_testing.h",
+ "android/test_system_message_handler_link_android.cc",
+ "android/test_system_message_handler_link_android.h",
"gtest_util.cc",
"gtest_util.h",
"gtest_xml_unittest_result_printer.cc",
@@ -261,6 +265,19 @@ static_library("run_all_unittests") {
]
}
+static_library("run_all_base_unittests") {
+ # Only targets in base should depend on this, targets outside base
+ # should depend on run_all_unittests above.
+ visibility = [ "//base/*" ]
+ testonly = true
+ sources = [
+ "run_all_base_unittests.cc",
+ ]
+ deps = [
+ ":test_support",
+ ]
+}
+
if (is_linux) {
shared_library("malloc_wrapper") {
testonly = true
@@ -278,6 +295,7 @@ if (is_android) {
generate_jni("base_unittests_jni_headers") {
sources = [
"android/java/src/org/chromium/base/ContentUriTestUtils.java",
+ "android/java/src/org/chromium/base/TestSystemMessageHandler.java",
"android/java/src/org/chromium/base/TestUiThread.java",
]
jni_package = "base"
« no previous file with comments | « base/message_loop/message_pump_android.cc ('k') | base/test/android/java/src/org/chromium/base/TestSystemMessageHandler.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698