Revert "Change Python in Soong to support device side build."

This reverts commit 3bba05962d.

Reason for revert: <revert mac builds>

Change-Id: I25f1380573d69f7e111287624a2d4a3d95fdd86b
This commit is contained in:
Nan Zhang
2017-12-01 06:19:27 +00:00
parent 3bba05962d
commit 0a32e5936b
6 changed files with 16 additions and 57 deletions

View File

@@ -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()
}