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

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

Issue 1162763004: Provide dummy Android UI thread with looper for C++ unit tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add BUILD.gn changes Created 5 years, 6 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 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/rules.gni") 8 import("//build/config/android/rules.gni")
9 } 9 }
10 10
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 "test_shortcut_win.cc", 105 "test_shortcut_win.cc",
106 "test_shortcut_win.h", 106 "test_shortcut_win.h",
107 "test_simple_task_runner.cc", 107 "test_simple_task_runner.cc",
108 "test_simple_task_runner.h", 108 "test_simple_task_runner.h",
109 "test_suite.cc", 109 "test_suite.cc",
110 "test_suite.h", 110 "test_suite.h",
111 "test_support_android.cc", 111 "test_support_android.cc",
112 "test_support_android.h", 112 "test_support_android.h",
113 "test_support_ios.h", 113 "test_support_ios.h",
114 "test_support_ios.mm", 114 "test_support_ios.mm",
115 "test_ui_thread_android.cc",
116 "test_ui_thread_android.h",
115 "thread_test_helper.cc", 117 "thread_test_helper.cc",
116 "thread_test_helper.h", 118 "thread_test_helper.h",
117 "trace_event_analyzer.cc", 119 "trace_event_analyzer.cc",
118 "trace_event_analyzer.h", 120 "trace_event_analyzer.h",
119 "trace_to_file.cc", 121 "trace_to_file.cc",
120 "trace_to_file.h", 122 "trace_to_file.h",
121 "user_action_tester.cc", 123 "user_action_tester.cc",
122 "user_action_tester.h", 124 "user_action_tester.h",
123 "values_test_util.cc", 125 "values_test_util.cc",
124 "values_test_util.h", 126 "values_test_util.h",
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 deps = [ 198 deps = [
197 "//base", 199 "//base",
198 ] 200 ]
199 } 201 }
200 } 202 }
201 203
202 if (is_android) { 204 if (is_android) {
203 generate_jni("base_unittests_jni_headers") { 205 generate_jni("base_unittests_jni_headers") {
204 sources = [ 206 sources = [
205 "android/java/src/org/chromium/base/ContentUriTestUtils.java", 207 "android/java/src/org/chromium/base/ContentUriTestUtils.java",
208 "android/java/src/org/chromium/base/TestUiThread.java",
206 ] 209 ]
207 jni_package = "base" 210 jni_package = "base"
208 } 211 }
209 } 212 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698