1# Interface library 2cc_library( 3 name = "gfxstream-snapshot-headers", 4 hdrs = glob(["include/**/*.h"]), 5 includes = ["include"], 6 visibility = ["//visibility:public"], 7) 8 9# Main library 10cc_library( 11 name = "aemu-snapshot", 12 srcs = [ 13 "TextureLoader.cpp", 14 "TextureSaver.cpp", 15 ], 16 hdrs = [":gfxstream-snapshot-headers"], 17 copts = [ 18 "-D_FILE_OFFSET_BITS=64", 19 "-Wno-extern-c-compat", 20 "-Wno-return-type-c-linkage", 21 ], 22 visibility = ["//visibility:public"], 23 deps = [ 24 ":gfxstream-snapshot-headers", 25 "//hardware/google/aemu/base:aemu-base-headers", 26 ], 27) 28