1 2package { 3 default_applicable_licenses: ["Android-Apache-2.0"], 4} 5 6cc_library_shared { 7 name: "libmemtrack-pixel", 8 vendor: true, 9 srcs: [ 10 "Memtrack.cpp", 11 "GpuSysfsReader.cpp", 12 "filesystem.cpp", 13 ], 14 export_include_dirs: [ 15 "include", 16 ], 17 shared_libs: [ 18 "android.hardware.memtrack-V1-ndk_platform", 19 "libbase", 20 "libbinder_ndk", 21 "liblog", 22 ], 23 cppflags: [ 24 "-Wall", 25 "-Werror", 26 "-Wformat", 27 "-Wthread-safety", 28 "-Wunused", 29 "-Wunreachable-code", 30 ], 31 visibility: [ 32 "//hardware/google/graphics/common/memtrack-pixel/service:__pkg__" 33 ], 34} 35