+36
−0
+10
−0
+6
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
When a product adds a path requirement, the build system will verify that all its artifacts are produced inside these paths, and fail otherwise. The paths are all relative to PRODUCT_OUT, and the macro also supports giving a whitelist, for known existing offenders in the hierarchy. The build will fail if redundant whitelist entries are present. Example invocation: _paths := $(TARGET_COPY_OUT_SYSTEM)/ _whitelist := root/init root/init.rc $(call require-artifacts-in-path $(_paths), $(_whitelist)) Bug: 80410283 Test: Downstream with a new product definition. Change-Id: I235de681f65254087a42e345af69b2113b682072