aboutsummaryrefslogtreecommitdiffstats
path: root/python/androidmk.go
diff options
context:
space:
mode:
authorNan Zhang <nanzhang@google.com>2018-05-22 14:18:30 -0700
committerNan Zhang <nanzhang@google.com>2018-05-22 14:18:30 -0700
commitff7d3972189d0f0b5c678b2b4673a78f017dd55f (patch)
tree57b248d55b3fd5acfd85a5e15c32c9be440abe3a /python/androidmk.go
parent9bf049dcbbc2aa7af4f71aced8972912a66d20f7 (diff)
downloadbuild_soong-ff7d3972189d0f0b5c678b2b4673a78f017dd55f.tar.gz
build_soong-ff7d3972189d0f0b5c678b2b4673a78f017dd55f.tar.bz2
build_soong-ff7d3972189d0f0b5c678b2b4673a78f017dd55f.zip
Add libc++.so as install dependencies for hermetic Python.
Bug: b/80140289 Test: m clean && m test_me Change-Id: I3acbf1bac3b866b37f9ec69584dc9be7a5ad1d89
Diffstat (limited to 'python/androidmk.go')
-rw-r--r--python/androidmk.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/androidmk.go b/python/androidmk.go
index 5fa01abb..b2d3b011 100644
--- a/python/androidmk.go
+++ b/python/androidmk.go
@@ -85,5 +85,7 @@ func (installer *pythonInstaller) AndroidMk(base *Module, ret *android.AndroidMk
fmt.Fprintln(w, "LOCAL_MODULE_SUFFIX := "+filepath.Ext(file))
fmt.Fprintln(w, "LOCAL_MODULE_PATH := $(OUT_DIR)/"+filepath.Clean(dir))
fmt.Fprintln(w, "LOCAL_MODULE_STEM := "+stem)
+ fmt.Fprintln(w, "LOCAL_REQUIRED_MODULES := libc++")
+
})
}