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