aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pw_bytes/Android.bp19
-rw-r--r--pw_polyfill/Android.bp19
-rw-r--r--pw_preprocessor/Android.bp19
-rw-r--r--pw_span/Android.bp20
-rw-r--r--pw_tokenizer/Android.bp30
-rw-r--r--pw_varint/Android.bp25
6 files changed, 132 insertions, 0 deletions
diff --git a/pw_bytes/Android.bp b/pw_bytes/Android.bp
new file mode 100644
index 000000000..f0d366dbf
--- /dev/null
+++ b/pw_bytes/Android.bp
@@ -0,0 +1,19 @@
+// Copyright 2022 The Pigweed Authors
+//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not
+// use this file except in compliance with the License. You may obtain a copy of
+// the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+// License for the specific language governing permissions and limitations under
+// the License.
+
+cc_library_headers {
+ name: "pw_bytes_headers",
+ vendor_available: true,
+ export_include_dirs: ["public"],
+}
diff --git a/pw_polyfill/Android.bp b/pw_polyfill/Android.bp
new file mode 100644
index 000000000..59d8f2980
--- /dev/null
+++ b/pw_polyfill/Android.bp
@@ -0,0 +1,19 @@
+// Copyright 2022 The Pigweed Authors
+//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not
+// use this file except in compliance with the License. You may obtain a copy of
+// the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+// License for the specific language governing permissions and limitations under
+// the License.
+
+cc_library_headers {
+ name: "pw_polyfill_headers",
+ vendor_available: true,
+ export_include_dirs: ["public"],
+}
diff --git a/pw_preprocessor/Android.bp b/pw_preprocessor/Android.bp
new file mode 100644
index 000000000..f1dca27e3
--- /dev/null
+++ b/pw_preprocessor/Android.bp
@@ -0,0 +1,19 @@
+// Copyright 2022 The Pigweed Authors
+//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not
+// use this file except in compliance with the License. You may obtain a copy of
+// the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+// License for the specific language governing permissions and limitations under
+// the License.
+
+cc_library_headers {
+ name: "pw_preprocessor_headers",
+ vendor_available: true,
+ export_include_dirs: ["public"],
+}
diff --git a/pw_span/Android.bp b/pw_span/Android.bp
new file mode 100644
index 000000000..0f70ca175
--- /dev/null
+++ b/pw_span/Android.bp
@@ -0,0 +1,20 @@
+// Copyright 2022 The Pigweed Authors
+//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not
+// use this file except in compliance with the License. You may obtain a copy of
+// the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+// License for the specific language governing permissions and limitations under
+// the License.
+
+cc_library_headers {
+ name: "pw_span_headers",
+ vendor_available: true,
+ cpp_std: "c++20",
+ export_include_dirs: ["public"],
+}
diff --git a/pw_tokenizer/Android.bp b/pw_tokenizer/Android.bp
new file mode 100644
index 000000000..59fcbb904
--- /dev/null
+++ b/pw_tokenizer/Android.bp
@@ -0,0 +1,30 @@
+// Copyright 2022 The Pigweed Authors
+//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not
+// use this file except in compliance with the License. You may obtain a copy of
+// the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+// License for the specific language governing permissions and limitations under
+// the License.
+
+cc_library_static {
+ name: "pw_detokenizer",
+ cpp_std: "c++20",
+ vendor_available: true,
+ export_include_dirs: ["public"],
+ srcs: [
+ "detokenize.cc",
+ "decode.cc",
+ ],
+ header_libs: [
+ "pw_bytes_headers",
+ "pw_polyfill_headers",
+ "pw_preprocessor_headers",
+ ],
+ static_libs: ["pw_varint"],
+}
diff --git a/pw_varint/Android.bp b/pw_varint/Android.bp
new file mode 100644
index 000000000..f3179789b
--- /dev/null
+++ b/pw_varint/Android.bp
@@ -0,0 +1,25 @@
+// Copyright 2022 The Pigweed Authors
+//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not
+// use this file except in compliance with the License. You may obtain a copy of
+// the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+// License for the specific language governing permissions and limitations under
+// the License.
+
+cc_library_static {
+ name: "pw_varint",
+ cpp_std: "c++20",
+ vendor_available: true,
+ export_include_dirs: ["public"],
+ header_libs: [
+ "pw_preprocessor_headers",
+ "pw_polyfill_headers",
+ ],
+ srcs: ["varint.cc"],
+}