Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix path conflicts in chip_data_model in some projects
The chip_data_model template builds a library that contains 2 files named encoder.cpp and two files name attribute-size.cpp. While this is not a problem with pigweed's toolchain definitions because different directories are used, it can cause a path conflict if a project defines a toolchain that places all of a library's .o files in the same directory: ERROR at //third_party/connectedhomeip/repo/src/app/chip_data_model.gni:59:3: Duplicate object file source_set(_data_model_name) { ^----------------------------- The target //third_party/connectedhomeip/repo/src/controller/data_model:data_model generates two object files with the same name: obj/third_party/connectedhomeip/repo/src/controller/data_model/data_model/attribute-size.o Rename some files so that all files in the same library have distinct filenames, which should be compatible with most reasonable toolchain definitions. Change-Id: I75f755cd4231563a57eca1e5286527c9ea88149e
- Loading branch information