aboutsummaryrefslogtreecommitdiffstats
path: root/python/androidmk.go
Commit message (Collapse)AuthorAgeFilesLines
* Add missing dependencies for python_testLogan Chien2019-01-291-0/+1
| | | | | | | | | This commit adds missing shared lib dependencies for `python_test` modules with embedded launcher. Bug: 119086738 Test: CHECK_ELF_FIELS=true make check-elf-files Change-Id: I26f8e1eb9086930093f60c7daa54469850fab32d
* Autogen python test config.yelinhsieh2019-01-141-0/+5
| | | | | | | | | | | | | Feature request from developer, autogen python test config. Bug:118442443 Test: $source build/envsetup.sh ; lunch $sed -i '/test_config/d' tools/acloud/Android.bp $make acloud_test $[ -f $ANDROID_HOST_OUT_TESTCASES/acloud_test/acloud_test.config ] && echo "Found" || echo "Not found" Change-Id: I196230581b456afe03e67f9cd84c028d18ba08d9
* Support 'test_config' into soong modulesJulien Desprez2018-08-071-0/+5
| | | | | | Test: make general-tests Bug: 110982517 Change-Id: Ib2eab2653fdfce6f699b85c9fbc64558b6d40363
* Revert "Revert "Add libc++.so as install dependencies for hermetic Python.""Nan Zhang2018-05-231-0/+1
| | | | | | | | | | This reverts commit bfb0aed2dd78ee1850e54928ed02614beaf943a7. Reason for revert: <LOCAL_REQUIRED_MODULES overrides the "required:" property in Android.bp> Test: m -j sepolicy_tests Bug: b/80140289 Change-Id: I4e51007a7d4dda69cbf4f31253e9a56d3f5e35c7
* Revert "Add libc++.so as install dependencies for hermetic Python."Artem Iglikov2018-05-231-2/+0
| | | | | | | | This reverts commit ff7d3972189d0f0b5c678b2b4673a78f017dd55f. Reason for revert: breaks a few targets Change-Id: I3f26bfda9e276730accff558333f910a1dc017e8
* Add libc++.so as install dependencies for hermetic Python.Nan Zhang2018-05-221-0/+2
| | | | | | Bug: b/80140289 Test: m clean && m test_me Change-Id: I3acbf1bac3b866b37f9ec69584dc9be7a5ad1d89
* Revert "Revert "Change Python in Soong to support device side build.""Nan Zhang2017-12-011-3/+3
| | | | | | | | This reverts commit 0a32e5936b4c87bc705d06fa2d4f6fed1f58d602. Reason for revert: <libsqlite was missing for darwin_x86_64 before> Change-Id: I2e13e849a503a705ffad425df292380f2f73954e
* Revert "Change Python in Soong to support device side build."Nan Zhang2017-12-011-3/+3
| | | | | | | | This reverts commit 3bba05962dc4329c6e3d28544775db591574ba7b. Reason for revert: <revert mac builds> Change-Id: I25f1380573d69f7e111287624a2d4a3d95fdd86b
* Change Python in Soong to support device side build.Nan Zhang2017-11-301-3/+3
| | | | | | | | | | | | | | | | | | Add python_test to generate executables for both host and device side. And change python_library_host to python_library. installation for python device test will be under target/product/generic_arm[64]/data/nativetest[64]. Bug: b/69114465 Test: m clean && m -j Device Test: adb root; adb push nan_devicetest /data; adb shell; ./nan_devicetest print(sys.path) ['/data/nan_devicetest/runfiles', '/data/nan_devicetest', '/data/nan_devicetest/internal', '/data/nan_devicetest/internal/stdlib'] Change-Id: If8317070a3aa1b6dab2e84b8df2d037f495d7247
* Add support for test_suites for python_binary_host and python_test_hostNan Zhang2017-11-071-0/+14
| | | | | | Test: manually add this property, and then check Android-aosp_arm.mk Bug: b/35394669 Change-Id: Iddaf677839714daf4f8913ff4bf9e944d38c18db
* <Hermetic> Replace Soong Python bootstrap process with embeddedNan Zhang2017-09-051-8/+8
| | | | | | | | | | | | | | | | | | | | launcher. For Python2, we bundle embedded launcher as bootstrapper within every .par file. This feature is only enabled for linux_x86_64 for now. We provide a user flag: hermetic_enabled within bp file. By default, Pyhon2 still use classic bootstrapping way to construct .par file and relys on host interpreter. Once embedded_launcher is enabled, launcher will be used to bootstrap .par file and execute user program. For Python3, the launcher will be ready soon, and for now it still relys on classic bootstrapping. Test: Real example is used to test. Bug: b/63018041 Change-Id: I28deba413d8ad3af407595e46f77d663e79a3705
* Remove error from AndroidMkDataProvider.AndroidMkColin Cross2017-08-111-2/+4
| | | | | | | | It's never anything except nil, and it unnecessarily complicates the implementations. Test: m -j checkbuild Change-Id: I3e3b7251f32ffa84dbdfd0448faf248c306ca808
* Remove error from AndroidMkData.ExtraColin Cross2017-08-111-2/+1
| | | | | | | | It's never anything except nil, and it unnecessarily complicates the implementations. Test: m -j checkbuild Change-Id: I8a117a86aa39aeb07d9d8d0686ef869c52784f19
* Add python_test_host module.Nan Zhang2017-05-171-0/+74
bug: 31676493 Test: created py_test modules in real folder. and ran 'mma'. Change-Id: I22aa2fad74b11e4a31ea7a4c4a4f0ea64cd3fc94