summaryrefslogtreecommitdiff
path: root/aconfig/codegen/Android.bp
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2023-11-16 17:05:47 -0800
committer Yu Liu <yudiliu@google.com> 2023-11-28 12:37:02 -0800
commiteae7b36699477c9c781669f553a7c085e415ac1e (patch)
tree7c19e74a9068e7f638060497f079cdca6ae473d8 /aconfig/codegen/Android.bp
parent62093cf7fc83d4d002e9b802a5f6292bf7954744 (diff)
Add container property to aconfig_declarations.
Bug: 311155208 Test: Unit test Change-Id: I7b187138856d0144203961e82b6dad5e2f8eed9d
Diffstat (limited to 'aconfig/codegen/Android.bp')
-rw-r--r--aconfig/codegen/Android.bp32
1 files changed, 32 insertions, 0 deletions
diff --git a/aconfig/codegen/Android.bp b/aconfig/codegen/Android.bp
new file mode 100644
index 000000000..494f7e693
--- /dev/null
+++ b/aconfig/codegen/Android.bp
@@ -0,0 +1,32 @@
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
+bootstrap_go_package {
+ name: "soong-aconfig-codegen",
+ pkgPath: "android/soong/aconfig/codegen",
+ deps: [
+ "blueprint",
+ "blueprint-pathtools",
+ "sbox_proto",
+ "soong",
+ "soong-aconfig",
+ "soong-android",
+ "soong-bazel",
+ "soong-java",
+ "soong-rust",
+ ],
+ srcs: [
+ "cc_aconfig_library.go",
+ "init.go",
+ "java_aconfig_library.go",
+ "rust_aconfig_library.go",
+ "testing.go",
+ ],
+ testSrcs: [
+ "java_aconfig_library_test.go",
+ "cc_aconfig_library_test.go",
+ "rust_aconfig_library_test.go",
+ ],
+ pluginFor: ["soong_build"],
+}