Bob Badour | d7984cc | 2021-02-12 20:51:13 -0800 | [diff] [blame] | 1 | package { |
| 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 Willemsen | 86e247a | 2017-12-18 21:10:37 -0800 | [diff] [blame] | 10 | cc_library_static { |
| 11 | name: "static-hal-check", |
| 12 | srcs: [ |
| 13 | "struct-size.cpp", |
| 14 | "struct-offset.cpp", |
| 15 | "struct-last.cpp", |
| 16 | ], |
| 17 | shared_libs: ["libhardware"], |
| 18 | cflags: [ |
| 19 | "-O0", |
| 20 | "-Wall", |
| 21 | "-Werror", |
| 22 | ], |
| 23 | |
Steven Moreland | c4abc9d | 2023-07-18 20:53:58 +0000 | [diff] [blame] | 24 | vendor: true, |
| 25 | |
Dan Willemsen | 86e247a | 2017-12-18 21:10:37 -0800 | [diff] [blame] | 26 | include_dirs: ["system/media/camera/include"], |
| 27 | } |