1

What vendor settings should I apply to cc_tests? (vendor or system?)

I noticed one of my cc_tests relied on libgcov which is only available on the system, which suggests to me that maybe tests are a system only thing. If my poor understanding of what cc_test does I'm also confused about what it even means to apply vendor settings to a cc_test.

In any case, I have many modules that are vendor: true, some of them are libs that the cc_tests rely on. Should my cc_tests also be on vendor? Or should any module that needs to be accessed by a cc_test by marked vendor_available and keep my cc_test on system?

Matt
  • 1,928
  • 24
  • 44
  • Looking through the AOSP code, I see examples of tests on both system and vendor, so I think my question is more-or-less invalid. That said, I do want code coverage reports and will have to find a solution to use `libgcov` with vendor tests (either by defining my own, or something.) – Matt Oct 27 '20 at 12:20

0 Answers0