aboutsummaryrefslogtreecommitdiffstats
path: root/python/library.go
diff options
context:
space:
mode:
authorNan Zhang <nanzhang@google.com>2017-12-01 06:19:27 +0000
committerNan Zhang <nanzhang@google.com>2017-12-01 06:19:27 +0000
commit0a32e5936b4c87bc705d06fa2d4f6fed1f58d602 (patch)
treeb614604c99116d2f0b66a6894cc4bce74e001613 /python/library.go
parent3bba05962dc4329c6e3d28544775db591574ba7b (diff)
downloadbuild_soong-0a32e5936b4c87bc705d06fa2d4f6fed1f58d602.tar.gz
build_soong-0a32e5936b4c87bc705d06fa2d4f6fed1f58d602.tar.bz2
build_soong-0a32e5936b4c87bc705d06fa2d4f6fed1f58d602.zip
Revert "Change Python in Soong to support device side build."
This reverts commit 3bba05962dc4329c6e3d28544775db591574ba7b. Reason for revert: <revert mac builds> Change-Id: I25f1380573d69f7e111287624a2d4a3d95fdd86b
Diffstat (limited to 'python/library.go')
-rw-r--r--python/library.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/python/library.go b/python/library.go
index 65c1352e..58ee55fb 100644
--- a/python/library.go
+++ b/python/library.go
@@ -22,7 +22,6 @@ import (
func init() {
android.RegisterModuleType("python_library_host", PythonLibraryHostFactory)
- android.RegisterModuleType("python_library", PythonLibraryFactory)
}
func PythonLibraryHostFactory() android.Module {
@@ -30,9 +29,3 @@ func PythonLibraryHostFactory() android.Module {
return module.Init()
}
-
-func PythonLibraryFactory() android.Module {
- module := newModule(android.HostAndDeviceSupported, android.MultilibBoth)
-
- return module.Init()
-}