aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-05-11 05:03:40 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-05-11 05:03:40 +0000
commitfc6cf6b5ae7ff660fcf0e3054389bfa00a894cea (patch)
tree9e8c886716bbb9b8a88598431b58e87de1e73d0c
parent7cc5a2d074a8229fa745e3c76a20fe6ff06e0331 (diff)
parent9a0b209f2f97a4c7d425225e3e029cddaf64d9b3 (diff)
downloadfmtlib-android13-mainline-media-swcodec-release.tar.gz
Change-Id: I230a24047c3c1cfcc308bc1ddc4f658e34459103
-rw-r--r--Android.bp28
-rw-r--r--TEST_MAPPING8
2 files changed, 36 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index b5341cf6..cde68227 100644
--- a/Android.bp
+++ b/Android.bp
@@ -55,6 +55,33 @@ cc_defaults {
min_sdk_version: "29",
}
+cc_library_headers {
+ name: "fmtlib_headers",
+ export_include_dirs: ["include"],
+
+ vendor_available: true,
+ product_available: true,
+ ramdisk_available: true,
+ vendor_ramdisk_available: true,
+ recovery_available: true,
+ host_supported: true,
+ native_bridge_supported: true,
+ target: {
+ linux_bionic: {
+ enabled: true,
+ },
+ windows: {
+ enabled: true,
+ },
+ },
+ visibility: ["//system/libbase"],
+ min_sdk_version: "29",
+ apex_available: [
+ "//apex_available:anyapex",
+ "//apex_available:platform",
+ ],
+}
+
// This is built into libbase. If you want to use this library, link to libbase instead.
cc_library_static {
name: "fmtlib",
@@ -79,6 +106,7 @@ cc_library_static {
"//apex_available:anyapex",
"//apex_available:platform",
],
+ min_sdk_version: "29",
}
cc_library_static {
diff --git a/TEST_MAPPING b/TEST_MAPPING
index caeecd64..328028d6 100644
--- a/TEST_MAPPING
+++ b/TEST_MAPPING
@@ -6,5 +6,13 @@
{
"name": "fmtlib_ostream_test"
}
+ ],
+ "hwasan-postsubmit": [
+ {
+ "name": "fmtlib_test"
+ },
+ {
+ "name": "fmtlib_ostream_test"
+ }
]
}