Commit Graph

3 Commits

Author SHA1 Message Date
Logan Chien
40109df43b vndk-def: Add several workarounds to dataset tool
This commit add several workarounds (which were applied manually in the
past) to dataset update tool.

Test: Compute the latest eligible list with update_dateset.py.
Change-Id: Ifa05f702434354e239f582a935733d652b2341ff
2017-12-11 09:54:34 +08:00
Logan Chien
32f89a67fe vndk-def: Add regex matching to tag file reader
This commit add regular expression support to tag file reader and stop
hard coding SP-HAL in vndk_definition_tool.py.

Test: ./tests/run.py
Test: Run vndk_definition_tool.py for a device and all outputs are same
Change-Id: Iae2631a965045e80c7373970e3f1e61209f3006a
2017-11-13 18:55:45 +08:00
Logan Chien
551b5fdc69 vndk-def: Add eligible list update tool
This commit adds a tool to update eligible list datasets from
make_vars-$(TARGET).mk and module-info.json.

Test: ./tools/update_dataset.py \
  -o out.csv \
  --make-vars ${OUT_DIR}/soong/make_vars-$(TARGET).mk \
  --module-info ${ANDROID_PRODUCT_OUT}/module-info.json \
  old-eligible-list.csv

Change-Id: Ic6e79b835528703f164db81e8545a90651bbbdc7
2017-08-22 09:31:58 +08:00