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 "external_tensorflow_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["external_tensorflow_license"], 8} 9 10cc_test { 11 name: "TfliteGeneratedNnapiTest", 12 sdk_version: "current", 13 srcs: [ 14 "generated_examples_zip_test.cc", 15 "message.cc", 16 "parse_testdata.cc", 17 "split.cc", 18 "tflite_driver.cc", 19 "tokenize.cc", 20 ], 21 data: [ 22 "models.tar", 23 "test_manifest.txt", 24 ], 25 include_dirs: [ 26 "external/flatbuffers/include", 27 "external/tensorflow", 28 ], 29 cflags: [ 30 "-DPLATFORM_POSIX_ANDROID", 31 "-Wall", 32 "-Werror", 33 "-Wextra", 34 "-Wno-extern-c-compat", 35 "-Wno-sign-compare", 36 "-Wno-unused-parameter", 37 "-Wno-unused-private-field", 38 ], 39 stl: "libc++_static", 40 static_libs: [ 41 "libgmock_ndk", 42 "libruy_static", 43 "libtflite_static", 44 ], 45 shared_libs: [ 46 "liblog", 47 ], 48} 49