1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "frameworks_base_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["frameworks_base_license"], 8} 9 10cc_library_shared { 11 name: "libravenwoodbivalenttest_jni", 12 host_supported: true, 13 14 cflags: [ 15 "-Wall", 16 "-Werror", 17 "-Wno-unused-parameter", 18 "-Wthread-safety", 19 ], 20 21 srcs: [ 22 "jni/*.cpp", 23 ], 24 25 shared_libs: [ 26 "libbase", 27 "liblog", 28 "libnativehelper", 29 "libutils", 30 "libcutils", 31 ], 32} 33 34android_ravenwood_test { 35 name: "RavenwoodBivalentTest", 36 37 static_libs: [ 38 "androidx.annotation_annotation", 39 "androidx.test.ext.junit", 40 "androidx.test.rules", 41 ], 42 srcs: [ 43 "test/**/*.java", 44 ], 45 jni_libs: [ 46 "libravenwoodbivalenttest_jni", 47 ], 48 auto_gen_config: true, 49} 50 51android_test { 52 name: "RavenwoodBivalentTest_device", 53 54 srcs: [ 55 "test/**/*.java", 56 ], 57 static_libs: [ 58 "junit", 59 "truth", 60 61 "androidx.annotation_annotation", 62 "androidx.test.ext.junit", 63 "androidx.test.rules", 64 65 "ravenwood-junit", 66 ], 67 jni_libs: [ 68 "libravenwoodbivalenttest_jni", 69 ], 70 test_suites: [ 71 "device-tests", 72 ], 73 optimize: { 74 enabled: false, 75 }, 76} 77