xref: /aosp_15_r20/frameworks/base/cmds/screencap/Android.bp (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
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_base_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["frameworks_base_license"],
8}
9
10cc_binary {
11    name: "screencap",
12
13    srcs: ["screencap.cpp"],
14
15    shared_libs: [
16        "libcutils",
17        "libutils",
18        "libbinder",
19        "libjnigraphics",
20        "libhwui",
21        "libui",
22        "libgui",
23    ],
24
25    cflags: [
26        "-Wall",
27        "-Werror",
28        "-Wunused",
29        "-Wunreachable-code",
30    ],
31}
32