Yunkai Lim | 0d85013 | 2023-07-26 06:21:30 +0000 | [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 "system_security_license" |
| 5 | // to get the below license kinds: |
| 6 | // SPDX-license-identifier-Apache-2.0 |
| 7 | default_applicable_licenses: ["system_security_license"], |
| 8 | } |
| 9 | |
| 10 | cc_binary { |
| 11 | name: "fsverity_init", |
| 12 | srcs: [ |
| 13 | "fsverity_init.cpp", |
| 14 | ], |
| 15 | static_libs: [ |
Victor Hsieh | 0da66a5 | 2023-10-16 16:15:59 -0700 | [diff] [blame] | 16 | "aconfig_fsverity_init_c_lib", |
Yunkai Lim | 0d85013 | 2023-07-26 06:21:30 +0000 | [diff] [blame] | 17 | "libmini_keyctl_static", |
| 18 | ], |
| 19 | shared_libs: [ |
| 20 | "libbase", |
| 21 | "libkeyutils", |
| 22 | "liblog", |
| 23 | ], |
Oriol Prieto Gasco | 85d84ff | 2024-02-03 02:39:40 +0000 | [diff] [blame] | 24 | cflags: [ |
| 25 | "-Werror", |
| 26 | "-Wall", |
| 27 | "-Wextra", |
| 28 | ], |
Yunkai Lim | 0d85013 | 2023-07-26 06:21:30 +0000 | [diff] [blame] | 29 | } |
Victor Hsieh | 0da66a5 | 2023-10-16 16:15:59 -0700 | [diff] [blame] | 30 | |
| 31 | aconfig_declarations { |
| 32 | name: "aconfig_fsverity_init", |
| 33 | package: "android.security.flag", |
Oriol Prieto Gasco | 85d84ff | 2024-02-03 02:39:40 +0000 | [diff] [blame] | 34 | container: "system", |
Victor Hsieh | 0da66a5 | 2023-10-16 16:15:59 -0700 | [diff] [blame] | 35 | srcs: ["flags.aconfig"], |
| 36 | } |
| 37 | |
| 38 | cc_aconfig_library { |
| 39 | name: "aconfig_fsverity_init_c_lib", |
| 40 | aconfig_declarations: "aconfig_fsverity_init", |
| 41 | } |