diff options
| author | Zi Wang <mrziwang@google.com> | 2024-02-07 16:13:31 -0800 |
|---|---|---|
| committer | Zi Wang <mrziwang@google.com> | 2024-02-07 18:27:57 -0800 |
| commit | e4527f3010b3fd6f33948a15a9b4fdc944da34f0 (patch) | |
| tree | 971848ef5d42f54abf11ae3a35631981eaa9d6a3 /aconfig/codegen/java_aconfig_library_test.go | |
| parent | babff88cb8e3d751dbf23cfff5b3d2ff48850a41 (diff) | |
Add property Exportable to aconfig_declarations
Only when aconfig_declarations explicitly set this property true,
its flags will be repackaged.
If a java_aconfig_library has mode "exported", its corresponding
aconfig_declarations must have exportable prop set to true.
Test: Added unit tests and CI
Bug: 310504781
Ignore-AOSP-First: this change will be cherry picked to aosp
Change-Id: Ie9526e3755a6e7d142b377d5dd85a1bc60ffabc5
Diffstat (limited to 'aconfig/codegen/java_aconfig_library_test.go')
| -rw-r--r-- | aconfig/codegen/java_aconfig_library_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/aconfig/codegen/java_aconfig_library_test.go b/aconfig/codegen/java_aconfig_library_test.go index 85d2675d2..de45b5cc3 100644 --- a/aconfig/codegen/java_aconfig_library_test.go +++ b/aconfig/codegen/java_aconfig_library_test.go @@ -176,6 +176,7 @@ func testCodegenMode(t *testing.T, bpMode string, ruleMode string) { name: "my_aconfig_declarations", package: "com.example.package", srcs: ["foo.aconfig"], + exportable: true, } java_aconfig_library { |
