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/android/rules.gni") | 5 import("//build/config/android/rules.gni") |
6 | 6 |
7 source_set("native_test_support") { | 7 source_set("native_test_support") { |
8 testonly = true | 8 testonly = true |
9 sources = [ | 9 sources = [ |
10 "main_runner.cc", | 10 "main_runner.cc", |
(...skipping 22 matching lines...) Expand all Loading... |
33 ":native_test_support", | 33 ":native_test_support", |
34 "//base", | 34 "//base", |
35 ] | 35 ] |
36 } | 36 } |
37 | 37 |
38 android_library("native_main_runner_java") { | 38 android_library("native_main_runner_java") { |
39 testonly = true | 39 testonly = true |
40 java_files = [ "java/src/org/chromium/native_test/MainRunner.java" ] | 40 java_files = [ "java/src/org/chromium/native_test/MainRunner.java" ] |
41 deps = [ | 41 deps = [ |
42 "//base:base_java", | 42 "//base:base_java", |
| 43 "//mojo/public/java:system_java", |
43 ] | 44 ] |
44 } | 45 } |
45 | 46 |
46 android_library("native_test_java") { | 47 android_library("native_test_java") { |
47 testonly = true | 48 testonly = true |
48 deps = [ | 49 deps = [ |
49 ":native_main_runner_java", | 50 ":native_main_runner_java", |
50 "//base:base_java", | 51 "//base:base_java", |
51 "//base:base_java_test_support", | 52 "//base:base_java_test_support", |
52 "//testing/android/appurify_support:appurify_support_java", | 53 "//testing/android/appurify_support:appurify_support_java", |
53 "//testing/android/reporter:reporter_java", | 54 "//testing/android/reporter:reporter_java", |
54 ] | 55 ] |
55 java_files = [ | 56 java_files = [ |
56 "java/src/org/chromium/native_test/NativeBrowserTestActivity.java", | 57 "java/src/org/chromium/native_test/NativeBrowserTestActivity.java", |
57 "java/src/org/chromium/native_test/NativeTest.java", | 58 "java/src/org/chromium/native_test/NativeTest.java", |
58 "java/src/org/chromium/native_test/NativeTestInstrumentationTestRunner.java"
, | 59 "java/src/org/chromium/native_test/NativeTestInstrumentationTestRunner.java"
, |
59 "java/src/org/chromium/native_test/NativeUnitTest.java", | 60 "java/src/org/chromium/native_test/NativeUnitTest.java", |
60 "java/src/org/chromium/native_test/NativeUnitTestActivity.java", | 61 "java/src/org/chromium/native_test/NativeUnitTestActivity.java", |
61 "java/src/org/chromium/native_test/NativeUnitTestNativeActivity.java", | 62 "java/src/org/chromium/native_test/NativeUnitTestNativeActivity.java", |
62 ] | 63 ] |
63 } | 64 } |
64 | 65 |
65 generate_jni("native_test_jni_headers") { | 66 generate_jni("native_test_jni_headers") { |
66 sources = [ | 67 sources = [ |
67 "java/src/org/chromium/native_test/MainRunner.java", | 68 "java/src/org/chromium/native_test/MainRunner.java", |
68 "java/src/org/chromium/native_test/NativeTest.java", | 69 "java/src/org/chromium/native_test/NativeTest.java", |
69 ] | 70 ] |
70 jni_package = "testing" | 71 jni_package = "testing" |
| 72 deps = [ |
| 73 "//mojo/public/java:system_java", |
| 74 ] |
71 } | 75 } |
OLD | NEW |