xref: /aosp_15_r20/system/extras/tests/framebuffer/Android.bp (revision 288bf5226967eb3dac5cce6c939ccc2a7f2b4fe5)
1*288bf522SAndroid Build Coastguard Workerpackage {
2*288bf522SAndroid Build Coastguard Worker    // See: http://go/android-license-faq
3*288bf522SAndroid Build Coastguard Worker    // A large-scale-change added 'default_applicable_licenses' to import
4*288bf522SAndroid Build Coastguard Worker    // all of the 'license_kinds' from "system_extras_tests_license"
5*288bf522SAndroid Build Coastguard Worker    // to get the below license kinds:
6*288bf522SAndroid Build Coastguard Worker    //   SPDX-license-identifier-Apache-2.0
7*288bf522SAndroid Build Coastguard Worker    default_applicable_licenses: ["system_extras_tests_license"],
8*288bf522SAndroid Build Coastguard Worker}
9*288bf522SAndroid Build Coastguard Worker
10*288bf522SAndroid Build Coastguard Workercc_binary {
11*288bf522SAndroid Build Coastguard Worker    name: "test-fb-refresh",
12*288bf522SAndroid Build Coastguard Worker    srcs: ["refresh.c"],
13*288bf522SAndroid Build Coastguard Worker    shared_libs: ["libcutils"],
14*288bf522SAndroid Build Coastguard Worker    cflags: [
15*288bf522SAndroid Build Coastguard Worker        "-Wall",
16*288bf522SAndroid Build Coastguard Worker        "-Werror",
17*288bf522SAndroid Build Coastguard Worker        "-Wno-unused-parameter",
18*288bf522SAndroid Build Coastguard Worker    ],
19*288bf522SAndroid Build Coastguard Worker}
20*288bf522SAndroid Build Coastguard Worker
21*288bf522SAndroid Build Coastguard Workercc_binary {
22*288bf522SAndroid Build Coastguard Worker    name: "test-fb-simple",
23*288bf522SAndroid Build Coastguard Worker    srcs: ["fb_test.c"],
24*288bf522SAndroid Build Coastguard Worker    static_executable: true,
25*288bf522SAndroid Build Coastguard Worker    static_libs: ["libc"],
26*288bf522SAndroid Build Coastguard Worker    cflags: [
27*288bf522SAndroid Build Coastguard Worker        "-Wall",
28*288bf522SAndroid Build Coastguard Worker        "-Werror",
29*288bf522SAndroid Build Coastguard Worker        "-Wno-unused-parameter",
30*288bf522SAndroid Build Coastguard Worker    ],
31*288bf522SAndroid Build Coastguard Worker}
32