platform_system_sepolicy/build/soong
Inseob Kim cd6164933f Implement sysprop type checker
sysprop type checker compares a sysprop_library API file and
property_contexts files, and detects if there are any mismatches of
property types. For example, the following snippets are detected.

// foo.sysprop
prop {
prop_name: "ro.foo.bar"
type: Integer
...
}

// property_contexts
ro.foo.bar u:object_r:foo_prop:s0 exact string

"ro.foo.bar" is an Integer in .sysprop file, but it's a string in
property_contexts file.

Bug: 151879375
Test: sysprop_test
Test: run "m PlatformProperties" and see existing mismatches.
Change-Id: Ieb9965d14b8c90cfc730c3d20d95a28ecaabeba4
2020-03-25 11:13:29 +09:00
..
Android.bp Implement sysprop type checker 2020-03-25 11:13:29 +09:00
cil_compat_map.go sepolicy: support /system_ext and /product mapping files 2019-10-11 12:32:12 -07:00
filegroup.go Build contexts files with Soong 2019-04-25 09:59:28 +09:00
selinux.go Build contexts files with Soong 2019-04-25 09:59:28 +09:00
selinux_contexts.go Implement sysprop type checker 2020-03-25 11:13:29 +09:00