580b93c3e8
This allows using libbuildversion in Cuttlefish, which builds many binaries for both vendor and host. On vendor executables, this gets the build id from the ro.vendor.build.version.incremental property. Bug: 206843934 Test: m -j Change-Id: I9ab11b42de3f1febf282f107c3e137592097d3c0
23 lines
522 B
Text
23 lines
522 B
Text
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
cc_library_static {
|
|
name: "libbuildversion",
|
|
host_supported: true,
|
|
recovery_available: true,
|
|
srcs: ["libbuildversion.cpp"],
|
|
export_include_dirs: ["include"],
|
|
cflags: ["-fvisibility=hidden"],
|
|
target: {
|
|
windows: {
|
|
enabled: true,
|
|
},
|
|
},
|
|
min_sdk_version: "26",
|
|
apex_available: [
|
|
"//apex_available:platform",
|
|
"//apex_available:anyapex",
|
|
],
|
|
vendor_available: true,
|
|
}
|