I'm trying to integrate two BSPs into the same Pie based branch, and I'm
trying to do essentially this:
/ (AOSP root dir)
|
+- hardware/qcom/msm8998
| |
| + Android.bp containing soong_namespace { imports
["hardware/qcom/msm8998", "vendor/qcom/msm8998"], }
| |
| + Android.bp containing bootstrap_go_package soong-msm8998-test-module
|
+- hardware/qcom/msm8996
| |
| \
| * Android.bp containing soong_namespace { imports
["hardware/qcom/msm8996", "vendor/qcom/msm8996"], }
|
...
When compiling, this yields the following error:
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l
out/.module_paths/Android.bp.list -b out/soong -n out -d
out/soong/build.ninja.d -o out/soong/build.ninja Android.bp
error: vendor/mediatek/proprietary/hardware/gralloc_extra/Android.bp:1:1:
"soong-msm8998-test-module" depends on undefined module "soong-android"
Module "soong-msm8998-test-module" depends on undefined module "soong-cc"
Module "soong-msm8998-test-module" is defined in namespace
"hardware/qcom/msm8998" which can read these 0 namespaces: []
Module "soong-android" can be found in these namespaces: ["."]
Interestingly enough, the root namespace is supposed to be included by
default in the build/soong/android/namespace.go file. Is this something
that is intended to work, or is it something that is out of scope for the
build system?
--
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
---
You received this message because you are subscribed to the Google Groups
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.