Rename aconfig intermediate file (json -> pb)
aconfig's intermediate file ("the cache") has changed format from json
to protobuf. Rename the generated file accordingly.
Bug: 283910447
Test: m nothing # run soong tests
Change-Id: Iaff408774cfba4231dfb951b112b554466b8e884
diff --git a/device_config/device_config_definitions_test.go b/device_config/device_config_definitions_test.go
index 49afcc4..6bc6eaa 100644
--- a/device_config/device_config_definitions_test.go
+++ b/device_config/device_config_definitions_test.go
@@ -36,7 +36,7 @@
// Check that the provider has the right contents
depData := result.ModuleProvider(module, definitionsProviderKey).(definitionsProviderData)
android.AssertStringEquals(t, "namespace", depData.namespace, "com.example.package")
- if !strings.HasSuffix(depData.intermediatePath.String(), "/intermediate.json") {
+ if !strings.HasSuffix(depData.intermediatePath.String(), "/intermediate.pb") {
t.Errorf("Missing intermediates path in provider: %s", depData.intermediatePath.String())
}
}