diff options
| -rw-r--r-- | Android.bp | 1 | ||||
| -rw-r--r-- | android/variable.go | 8 | ||||
| -rw-r--r-- | scripts/microfactory.bash | 2 |
3 files changed, 10 insertions, 1 deletions
@@ -37,6 +37,7 @@ bootstrap_go_package { "blueprint-bootstrap", "soong", "soong-env", + "soong-lineage", ], srcs: [ "android/androidmk.go", diff --git a/android/variable.go b/android/variable.go index e643c0eb..a30a423e 100644 --- a/android/variable.go +++ b/android/variable.go @@ -20,6 +20,8 @@ import ( "runtime" "strings" + "lineage/soong/android" + "github.com/google/blueprint/proptools" ) @@ -124,6 +126,9 @@ type variableProperties struct { Static_libs []string Srcs []string } + + // include Lineage variables + Lineage android.Product_variables } `android:"arch_variant"` } @@ -287,6 +292,9 @@ type productVariables struct { ProductHiddenAPIStubsTest []string `json:",omitempty"` TargetFSConfigGen []string `json:",omitempty"` + + // include Lineage variables + Lineage android.ProductVariables } func boolPtr(v bool) *bool { diff --git a/scripts/microfactory.bash b/scripts/microfactory.bash index 4bb6058a..b8bb81db 100644 --- a/scripts/microfactory.bash +++ b/scripts/microfactory.bash @@ -59,7 +59,7 @@ function soong_build_go BUILDDIR=$(getoutdir) \ SRCDIR=${TOP} \ BLUEPRINTDIR=${TOP}/build/blueprint \ - EXTRA_ARGS="-pkg-path android/soong=${TOP}/build/soong -pkg-path github.com/golang/protobuf=${TOP}/external/golang-protobuf" \ + EXTRA_ARGS="-pkg-path android/soong=${TOP}/build/soong -pkg-path lineage/soong=${TOP}/vendor/lineage/build/soong -pkg-path github.com/golang/protobuf=${TOP}/external/golang-protobuf" \ build_go $@ } |
