| commit | 6e24e8bb32aa3eca824177776f6cb47ba033c040 | [log] [tgz] |
|---|---|---|
| author | Yong Hong <[email protected]> | Sun Dec 03 19:15:14 2023 |
| committer | Chromeos LUCI <[email protected]> | Fri Dec 08 09:13:07 2023 |
| tree | d7e9c2b275d8d4145c5dbbfd9699eb3c55600df5 | |
| parent | f100ea8020b19182deb57fbbb69b1bd2aaf64dc8 [diff] |
Add protobuf for test data
It introduces `DeviceSelectionSample` and `SelectionSampleBundle`
in `device_selection.proto` to hold sample HWIDs to validate
the device selection matching mechanism.
In addition, it also revises the installation utilities to load the
test data from private overlays while building.
BUG=b:314654314
TEST=create a sample `device_selection_sample.textproto` \
then run `emerge-<board> feature-management-bsp` \
then run `emerge-<board> feature-management-data` \
then manually verify the corresponding `_pb.h` file is installed
Cq-Depend: chromium:5076839
Change-Id: I193800f5788fbfa5fe7d4640557effaa86a73336
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/feature-management/+/5076838
Reviewed-by: Gwendal Grignou <[email protected]>
Tested-by: Yong Hong <[email protected]>
Commit-Queue: Yong Hong <[email protected]>
This directory code to generate the feature database needed by libsegmentation library.
Please see its README.md for general information on this project.