Skip to content
Snippets Groups Projects
Commit f83441a3 authored by Robin Lee's avatar Robin Lee
Browse files

Put v4l2_codec2 underneath a soong namespace

It isn't currently possible for multiple soong modules in the same build
to define the same output path, even if one overrides another, so given
that the contract of codec2 involves loading libraries from some
specific paths, these paths must not have modules built into them by
default or they can not be overridden by other soc_specific code.

Change-Id: I4823f9942d69a29c53ed88c5e39c3b0cb0786973
Test: Build device using v4l2_codec2 from installclean and ensure the output has not changed
Bug: 200265668
parent b6af0e3c
No related branches found
No related tags found
No related merge requests found
...@@ -13,6 +13,15 @@ ...@@ -13,6 +13,15 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// This project defines a module named libc2plugin_store which is installed into
// $OUT/vendor/lib/libc2plugin_store.so. Although the module can be overridden,
// the output filename cannot (b/204136549).
//
// See README.md for how to use the implementation from v4l2_codec2.
soong_namespace {
// No imports
}
package { package {
default_applicable_licenses: ["external_v4l2_codec2_license"], default_applicable_licenses: ["external_v4l2_codec2_license"],
} }
...@@ -41,4 +50,4 @@ license { ...@@ -41,4 +50,4 @@ license {
license_text: [ license_text: [
"NOTICE", "NOTICE",
], ],
} }
\ No newline at end of file
ifneq ($(filter external/v4l2_codec2,$(PRODUCT_SOONG_NAMESPACES)),)
include $(call all-subdir-makefiles) include $(call all-subdir-makefiles)
endif
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment