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_native_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["frameworks_native_license"], 8} 9 10vintf_fragment { 11 name: "android.frameworks.stats-service.xml", 12 src: "android.frameworks.stats-service.xml", 13} 14 15cc_library_shared { 16 name: "libstatshidl", 17 srcs: [ 18 "StatsAidl.cpp", 19 "StatsHal.cpp", 20 ], 21 cflags: [ 22 "-Wall", 23 "-Werror", 24 ], 25 shared_libs: [ 26 "[email protected]", 27 "android.frameworks.stats-V2-ndk", 28 "libbinder_ndk", 29 "libexpresslog", 30 "libhidlbase", 31 "liblog", 32 "libstatslog", 33 "libstatssocket", 34 "libutils", 35 ], 36 export_include_dirs: [ 37 "include/", 38 ], 39 export_shared_lib_headers: [ 40 "[email protected]", 41 "android.frameworks.stats-V2-ndk", 42 ], 43 local_include_dirs: [ 44 "include/stats", 45 ], 46 vintf_fragment_modules: [ 47 "android.frameworks.stats-service.xml", 48 ], 49} 50