diff --git a/pw_bytes/Android.bp b/pw_bytes/Android.bp new file mode 100644 index 0000000000..f0d366dbf3 --- /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 0000000000..59d8f29807 --- /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 0000000000..f1dca27e30 --- /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 0000000000..0f70ca1754 --- /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 0000000000..59fcbb9045 --- /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 0000000000..f3179789b7 --- /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"], +}