blob: 82a00e40ef861d849fb94be0eff864461afd1065 [file] [log] [blame]
Bob Badourd7984cc2021-02-12 20:51:13 -08001package {
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 "hardware_libhardware_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["hardware_libhardware_license"],
8}
9
Dan Willemsen86e247a2017-12-18 21:10:37 -080010cc_library_static {
11 name: "libcnativewindow",
12 srcs: [
13 "cnativewindow.c",
14 "util.c",
15 ],
16 cflags: [
17 "-Wall",
18 "-Werror",
19 "-Wno-unused-parameter",
20 ],
21 shared_libs: [
22 "libEGL",
23 "libGLESv2",
24 "libdl",
25 "libhardware",
26 "libnativewindow",
27 ],
28}
29
30cc_binary {
31 name: "hwc-test-arrows",
32 srcs: ["test-arrows.c"],
33 static_libs: ["libcnativewindow"],
34 shared_libs: [
35 "libEGL",
36 "libGLESv2",
37 "libdl",
38 "libhardware",
39 "libnativewindow",
40 ],
41 cflags: [
42 "-DGL_GLEXT_PROTOTYPES",
43 "-Wall",
44 "-Werror",
45 ],
46}