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 # GYP: //testing/android/native_test.gyp:native_test_support | 7 # GYP: //testing/android/native_test.gyp:native_test_support |
8 source_set("native_test_support") { | 8 source_set("native_test_support") { |
9 testonly = true | 9 testonly = true |
10 sources = [ | 10 sources = [ |
(...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 # GYP: //testing/android/native_test.gyp:native_test_java | 38 # GYP: //testing/android/native_test.gyp:native_test_java |
39 android_library("native_test_java") { | 39 android_library("native_test_java") { |
40 testonly = true | 40 testonly = true |
41 deps = [ | 41 deps = [ |
42 "//base:base_java", | 42 "//base:base_java", |
| 43 "//base:base_java_test_support", |
43 "//testing/android/appurify_support:appurify_support_java", | 44 "//testing/android/appurify_support:appurify_support_java", |
44 "//testing/android/reporter:reporter_java", | 45 "//testing/android/reporter:reporter_java", |
45 ] | 46 ] |
46 srcjar_deps = [ "//base:base_native_libraries_gen" ] | 47 srcjar_deps = [ "//base:base_native_libraries_gen" ] |
47 java_files = [ | 48 java_files = [ |
48 "java/src/org/chromium/native_test/NativeBrowserTestActivity.java", | 49 "java/src/org/chromium/native_test/NativeBrowserTestActivity.java", |
49 "java/src/org/chromium/native_test/NativeTest.java", | 50 "java/src/org/chromium/native_test/NativeTest.java", |
50 "java/src/org/chromium/native_test/NativeTestInstrumentationTestRunner.java"
, | 51 "java/src/org/chromium/native_test/NativeTestInstrumentationTestRunner.java"
, |
51 "java/src/org/chromium/native_test/NativeUnitTest.java", | 52 "java/src/org/chromium/native_test/NativeUnitTest.java", |
52 "java/src/org/chromium/native_test/NativeUnitTestActivity.java", | 53 "java/src/org/chromium/native_test/NativeUnitTestActivity.java", |
53 "java/src/org/chromium/native_test/NativeUnitTestNativeActivity.java", | 54 "java/src/org/chromium/native_test/NativeUnitTestNativeActivity.java", |
54 ] | 55 ] |
55 jar_excluded_patterns = [ "*/NativeLibraries.class" ] | 56 jar_excluded_patterns = [ "*/NativeLibraries.class" ] |
56 } | 57 } |
57 | 58 |
58 # GYP: //testing/android/native_test.gyp:native_test_jni_headers | 59 # GYP: //testing/android/native_test.gyp:native_test_jni_headers |
59 generate_jni("native_test_jni_headers") { | 60 generate_jni("native_test_jni_headers") { |
60 sources = [ | 61 sources = [ |
61 "java/src/org/chromium/native_test/NativeTest.java", | 62 "java/src/org/chromium/native_test/NativeTest.java", |
62 ] | 63 ] |
63 jni_package = "testing" | 64 jni_package = "testing" |
64 } | 65 } |
OLD | NEW |