diff options
author | Nan Zhang <nanzhang@google.com> | 2017-02-27 10:12:13 -0800 |
---|---|---|
committer | Nan Zhang <nanzhang@google.com> | 2017-05-05 13:27:56 -0700 |
commit | db0b9a3cf3c9965929c988f1292f892bfc5deec5 (patch) | |
tree | fe145e5c2d864983915eaf98e1f8e4648e40c355 /Android.bp | |
parent | 7c34c4c8eba1ec0d5b8cf50926e40aee3291604e (diff) | |
download | build_soong-db0b9a3cf3c9965929c988f1292f892bfc5deec5.tar.gz build_soong-db0b9a3cf3c9965929c988f1292f892bfc5deec5.tar.bz2 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 { pluginFor: ["soong_build"], } +bootstrap_go_package { + name: "soong-python", + pkgPath: "android/soong/python", + deps: [ + "blueprint", + "soong-android", + ], + srcs: [ + "python/binary.go", + "python/builder.go", + "python/library.go", + "python/python.go", + ], + testSrcs: [ + "python/python_test.go", + ], + pluginFor: ["soong_build"], +} + // // Defaults to enable various configurations of host bionic // |