summaryrefslogtreecommitdiff
path: root/toolchain-extras/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain-extras/Android.bp')
-rw-r--r--toolchain-extras/Android.bp41
1 files changed, 41 insertions, 0 deletions
diff --git a/toolchain-extras/Android.bp b/toolchain-extras/Android.bp
new file mode 100644
index 00000000..727f9795
--- /dev/null
+++ b/toolchain-extras/Android.bp
@@ -0,0 +1,41 @@
+cc_defaults {
+ name: "libprofile-defaults",
+ srcs: [
+ "profile-extras.cpp",
+ ],
+ native_coverage: false,
+}
+
+cc_library_static {
+ name: "libprofile-extras",
+ defaults: ["libprofile-defaults",],
+
+ vendor_available: true,
+ vndk: {
+ enabled: true,
+ },
+ recovery_available: true,
+
+ stl: "none",
+ system_shared_libs: [],
+ header_libs: ["libc_headers"],
+}
+
+cc_library_static {
+ name: "libprofile-extras_ndk",
+ defaults: ["libprofile-defaults",],
+
+ sdk_version: "minimum",
+}
+
+cc_test {
+ name: "libprofile-extras-test",
+ srcs: [
+ "profile-extras-test.cpp"
+ ],
+ static_libs: [
+ "libprofile-extras",
+ ],
+ ldflags: ["-uinit_profile_extras"],
+ native_coverage: false,
+}