• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "frameworks_native_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["frameworks_native_license"],
8}
9
10cc_library_shared {
11    name: "libsurfacereplayer",
12    srcs: [
13        "BufferQueueScheduler.cpp",
14        "Event.cpp",
15        "Replayer.cpp",
16    ],
17    cppflags: [
18        "-Werror",
19        "-Wno-unused-parameter",
20        "-Wno-format",
21	"-Wno-c++98-compat-pedantic",
22	"-Wno-float-conversion",
23	"-Wno-disabled-macro-expansion",
24	"-Wno-float-equal",
25	"-Wno-sign-conversion",
26	"-Wno-padded",
27    ],
28    static_libs: [
29        "libtrace_proto",
30    ],
31    shared_libs: [
32        "libEGL",
33        "libGLESv2",
34        "libbinder",
35        "liblog",
36        "libcutils",
37        "libgui",
38        "libui",
39        "libutils",
40        "libprotobuf-cpp-lite",
41        "libbase",
42        "libnativewindow",
43    ],
44    export_include_dirs: [
45        ".",
46    ],
47}
48
49cc_binary {
50    name: "surfacereplayer",
51    srcs: [
52        "Main.cpp",
53    ],
54    shared_libs: [
55        "libprotobuf-cpp-lite",
56        "libsurfacereplayer",
57        "libutils",
58        "libgui",
59    ],
60    static_libs: [
61        "libtrace_proto",
62    ],
63    cppflags: [
64        "-Werror",
65        "-Wno-unused-parameter",
66	"-Wno-c++98-compat-pedantic",
67	"-Wno-float-conversion",
68	"-Wno-disabled-macro-expansion",
69	"-Wno-float-equal",
70    ],
71}
72