summaryrefslogtreecommitdiff
path: root/tests/hardware/Android.bp
blob: b13768401f0ea6b68eb8bcb63a4bdb79427ab343 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "hardware_libhardware_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["hardware_libhardware_license"],
}

cc_library_static {
    name: "static-hal-check",
    srcs: [
        "struct-size.cpp",
        "struct-offset.cpp",
        "struct-last.cpp",
    ],
    shared_libs: ["libhardware"],
    cflags: [
        "-O0",
        "-Wall",
        "-Werror",
    ],

    include_dirs: ["system/media/camera/include"],
}