Files
build/core
Anton Hansson 837425b0c0 Add a new macro for products to make artifact path requirements.
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
2018-06-13 18:48:53 +01:00
..
2018-03-20 15:26:27 -07:00
2018-05-11 02:23:20 +00:00
2018-06-12 15:49:12 -07:00
2018-04-16 23:05:10 +00:00
2018-04-05 15:25:59 -07:00
2017-06-14 07:57:54 +00:00
2018-06-05 15:06:25 -07:00
2018-05-11 02:22:54 +00:00
2018-03-08 13:50:21 -08:00
2018-05-11 02:23:20 +00:00