1cc_defaults { 2 name: "dumpsys_defaults", 3 4 cflags: [ 5 "-Wall", 6 "-Werror", 7 ], 8 9 srcs: [ 10 "dumpsys.cpp", 11 ], 12 13 shared_libs: [ 14 "libbase", 15 "libutils", 16 "liblog", 17 "libbinder", 18 ], 19 20 clang: true, 21} 22 23// 24// Static library used in testing and executable 25// 26 27cc_library_static { 28 name: "libdumpsys", 29 30 defaults: ["dumpsys_defaults"], 31 32 export_include_dirs: ["."], 33} 34 35 36// 37// Executable 38// 39 40cc_binary { 41 name: "dumpsys", 42 43 defaults: ["dumpsys_defaults"], 44 45 srcs: [ 46 "main.cpp", 47 ], 48} 49 50subdirs = ["tests"] 51