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: Iad86d0770011e13a6d8f3e9596e730200942e3fd
Loading
Please register or sign in to comment