Refactor post_process_props.py

The script is refactored to not parse lines everytime a prop is looked
up or updated.

Also it is now built using python_binary_host.

Bug: 117892318
Test: m

Change-Id: I1677ca5aa919c54b7b0740fdc52e1399009f9a12
This commit is contained in:
Jiyong Park
2020-05-20 18:33:43 +09:00
parent 58dd353a07
commit ae55638f75
3 changed files with 81 additions and 58 deletions

View File

@@ -24,3 +24,16 @@ python_binary_host {
},
},
}
python_binary_host {
name: "post_process_props",
srcs: ["post_process_props.py"],
version: {
py2: {
enabled: false,
},
py3: {
enabled: true,
},
},
}