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> 
4 files changed
tree: d7e9c2b275d8d4145c5dbbfd9699eb3c55600df5
  1. devices/
  2. devices_test/
  3. proto/
  4. util/
  5. DIR_METADATA
  6. empty_features.star
  7. generate_include_file.sh
  8. Makefile
  9. OWNERS
  10. PRESUBMIT.cfg
  11. README.md
README.md

feature-management

This directory code to generate the feature database needed by libsegmentation library.

Please see its README.md for general information on this project.