commit | 6e24e8bb32aa3eca824177776f6cb47ba033c040 | [log] [tgz] |
---|---|---|
author | Yong Hong <yhong@chromium.org> | Sun Dec 03 19:15:14 2023 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 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 <gwendal@chromium.org> Tested-by: Yong Hong <yhong@chromium.org> Commit-Queue: Yong Hong <yhong@chromium.org>
This directory code to generate the feature database needed by libsegmentation library.
Please see its README.md for general information on this project.