diff options
author | Nan Zhang | 2017-02-27 12:12:13 -0600 |
---|---|---|
committer | Nan Zhang | 2017-05-05 15:27:56 -0500 |
commit | db0b9a3cf3c9965929c988f1292f892bfc5deec5 (patch) | |
tree | fe145e5c2d864983915eaf98e1f8e4648e40c355 /Android.bp | |
parent | 7c34c4c8eba1ec0d5b8cf50926e40aee3291604e (diff) | |
download | platform-build-soong-db0b9a3cf3c9965929c988f1292f892bfc5deec5.tar.gz platform-build-soong-db0b9a3cf3c9965929c988f1292f892bfc5deec5.tar.xz platform-build-soong-db0b9a3cf3c9965929c988f1292f892bfc5deec5.zip |
Supported python build in host side.
The base module handles all the common functionalites, such as version
compatibilty check, version variations split, source file format check,
source/data file duplicate check.
The library/binary module focuses on how to generate binary build actions,
such as setting up stub script, zipping, filling in __init__.py in
runfiles dir tree.
Bug: b/31676493
Test: go test under python package
Change-Id: I06608369f350f7195873d459e1c8d1bdb811e77e
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -209,6 +209,25 @@ bootstrap_go_package { | |||
209 | pluginFor: ["soong_build"], | 209 | pluginFor: ["soong_build"], |
210 | } | 210 | } |
211 | 211 | ||
212 | bootstrap_go_package { | ||
213 | name: "soong-python", | ||
214 | pkgPath: "android/soong/python", | ||
215 | deps: [ | ||
216 | "blueprint", | ||
217 | "soong-android", | ||
218 | ], | ||
219 | srcs: [ | ||
220 | "python/binary.go", | ||
221 | "python/builder.go", | ||
222 | "python/library.go", | ||
223 | "python/python.go", | ||
224 | ], | ||
225 | testSrcs: [ | ||
226 | "python/python_test.go", | ||
227 | ], | ||
228 | pluginFor: ["soong_build"], | ||
229 | } | ||
230 | |||
212 | // | 231 | // |
213 | // Defaults to enable various configurations of host bionic | 232 | // Defaults to enable various configurations of host bionic |
214 | // | 233 | // |