• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    default_applicable_licenses: ["frameworks_native_cmds_cmd_license"],
3}
4
5// Added automatically by a large-scale-change
6// See: http://go/android-license-faq
7license {
8    name: "frameworks_native_cmds_cmd_license",
9    visibility: [":__subpackages__"],
10    license_kinds: [
11        "SPDX-license-identifier-Apache-2.0",
12    ],
13    license_text: [
14        "NOTICE",
15    ],
16}
17
18cc_library_static {
19    name: "libcmd",
20
21    srcs: ["cmd.cpp"],
22    export_include_dirs: ["."],
23
24    shared_libs: [
25        "libutils",
26        "liblog",
27        "libselinux",
28        "libbinder",
29    ],
30
31    cflags: [
32        "-Wall",
33        "-Werror",
34        "-DXP_UNIX",
35    ],
36}
37
38cc_binary {
39    name: "cmd",
40
41    srcs: ["main.cpp"],
42
43    static_libs: [
44        "libcmd",
45    ],
46
47    shared_libs: [
48        "libutils",
49        "liblog",
50        "libselinux",
51        "libbinder",
52    ],
53
54    cflags: [
55        "-Wall",
56        "-Werror",
57        "-DXP_UNIX",
58    ],
59}
60