Bob Badour | 4c7858c | 2021-02-12 15:40:29 -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 "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 | |
Victor Hsieh | d0a4b20 | 2019-08-26 11:26:27 -0700 | [diff] [blame] | 10 | cc_binary { |
| 11 | name: "fsverity_init", |
| 12 | srcs: [ |
Jeff Vander Stoep | 3fc82ea | 2021-11-22 14:45:42 +0100 | [diff] [blame] | 13 | "main.cpp", |
Victor Hsieh | d0a4b20 | 2019-08-26 11:26:27 -0700 | [diff] [blame] | 14 | ], |
| 15 | static_libs: [ |
| 16 | "libc++fs", |
Jeff Vander Stoep | 3fc82ea | 2021-11-22 14:45:42 +0100 | [diff] [blame] | 17 | "libfsverity_init", |
| 18 | "libmini_keyctl_static", |
| 19 | ], |
| 20 | shared_libs: [ |
| 21 | "libbase", |
| 22 | "libkeyutils", |
| 23 | "liblog", |
| 24 | ], |
| 25 | cflags: ["-Werror", "-Wall", "-Wextra"], |
| 26 | } |
| 27 | |
| 28 | cc_library { |
| 29 | name: "libfsverity_init", |
| 30 | srcs: ["fsverity_init.cpp"], |
| 31 | static_libs: [ |
| 32 | "libc++fs", |
Victor Hsieh | d0a4b20 | 2019-08-26 11:26:27 -0700 | [diff] [blame] | 33 | "libmini_keyctl_static", |
| 34 | ], |
| 35 | shared_libs: [ |
| 36 | "libbase", |
Victor Hsieh | d0a4b20 | 2019-08-26 11:26:27 -0700 | [diff] [blame] | 37 | "libkeyutils", |
| 38 | "liblog", |
Victor Hsieh | d0a4b20 | 2019-08-26 11:26:27 -0700 | [diff] [blame] | 39 | ], |
| 40 | cflags: ["-Werror", "-Wall", "-Wextra"], |
Jeff Vander Stoep | 3fc82ea | 2021-11-22 14:45:42 +0100 | [diff] [blame] | 41 | export_include_dirs: ["include"], |
| 42 | recovery_available: true, |
Victor Hsieh | d0a4b20 | 2019-08-26 11:26:27 -0700 | [diff] [blame] | 43 | } |