Add "force-read-only" mode to xx_aconfig_library build rules
Test: added unit tests and CI Bug: 317115655 Change-Id: Ia72159ffe072f9b4997f0d4d55a7b3db5356f5ed
This commit is contained in:
@@ -227,6 +227,10 @@ func TestExportedMode(t *testing.T) {
|
||||
testCodegenMode(t, "mode: `exported`,", "exported")
|
||||
}
|
||||
|
||||
func TestForceReadOnlyMode(t *testing.T) {
|
||||
testCodegenMode(t, "mode: `force-read-only`,", "force-read-only")
|
||||
}
|
||||
|
||||
func TestUnsupportedMode(t *testing.T) {
|
||||
testCodegenModeWithError(t, "mode: `unsupported`,", "mode: \"unsupported\" is not a supported mode")
|
||||
}
|
||||
|
Reference in New Issue
Block a user