sonyxperiadev / device-sony-common

70 stars 141 forks source link

[common] [R] Add blueprint guard (soong_namespace) around all packages #831

Closed MarijnS95 closed 3 years ago

MarijnS95 commented 3 years ago

Place all blueprint-defined packages in common (mostly prebuilt_etc) under a namespace so that external devices cannot see nor are affected by these targets being defined. For example a device defined outside of Sony cannot redefine a target or copy rule that provides the same file as our prebuilt packages.

This is pretty much analogous to the build-guard in the top-level Android.mk in this repository.

Build-tested on PDX206.