summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp29
-rw-r--r--android/config.h0
2 files changed, 29 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..e37836e
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,29 @@
+package {
+ default_applicable_licenses: ["external_obstack_license"],
+}
+
+license {
+ name: "external_obstack_license",
+ license_kinds: ["SPDX-license-identifier-LGPL-2.1"],
+ license_text: ["LICENSE"],
+}
+
+cc_library_host_static {
+ name: "libobstack",
+ enabled: false,
+ target: {
+ musl: {
+ enabled: true,
+ },
+ },
+ srcs: [
+ "libiberty/obstack.c",
+ ],
+ local_include_dirs: ["android"],
+ export_include_dirs: [
+ "include",
+ ],
+ visibility: [
+ "//external/elfutils:__subpackages__",
+ ],
+}
diff --git a/android/config.h b/android/config.h
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/android/config.h