1cc_library_shared { 2 name: "libsurfacereplayer", 3 clang: true, 4 srcs: [ 5 "BufferQueueScheduler.cpp", 6 "Event.cpp", 7 "Replayer.cpp", 8 ], 9 cppflags: [ 10 "-Werror", 11 "-Wno-unused-parameter", 12 "-Wno-format", 13 "-Wno-c++98-compat-pedantic", 14 "-Wno-float-conversion", 15 "-Wno-disabled-macro-expansion", 16 "-Wno-float-equal", 17 "-Wno-sign-conversion", 18 "-Wno-padded", 19 "-std=c++14", 20 ], 21 static_libs: [ 22 "libtrace_proto", 23 ], 24 shared_libs: [ 25 "libEGL", 26 "libGLESv2", 27 "libbinder", 28 "liblog", 29 "libcutils", 30 "libgui", 31 "libui", 32 "libutils", 33 "libprotobuf-cpp-lite", 34 "libbase", 35 "libnativewindow", 36 ], 37 export_include_dirs: [ 38 ".", 39 ], 40} 41 42cc_binary { 43 name: "surfacereplayer", 44 clang: true, 45 srcs: [ 46 "Main.cpp", 47 ], 48 shared_libs: [ 49 "libprotobuf-cpp-lite", 50 "libsurfacereplayer", 51 "libutils", 52 "libgui", 53 ], 54 static_libs: [ 55 "libtrace_proto", 56 ], 57 cppflags: [ 58 "-Werror", 59 "-Wno-unused-parameter", 60 "-Wno-c++98-compat-pedantic", 61 "-Wno-float-conversion", 62 "-Wno-disabled-macro-expansion", 63 "-Wno-float-equal", 64 "-std=c++14", 65 ], 66} 67