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