platform_build_soong/python
Nan Zhang cba97e69ab Fix invalid memory error for python binary build
The root cause is we didn't check if the optionalpath is valid or not,
the registerbuildation function directly invoke the path var and
cause the invalid memory error. We just return if the launcher doesn't
exist.

The ctx.VisitDirectDepsWithTag() also handles allowmissingdependency so
we are ok if launcher doesn't exist.

Test: N/A
Bug: b/116698229, b/67510844
Change-Id: I40941079a64d7797ab879fc5edaa29e835b493a0
2018-09-26 16:57:24 -07:00
..
scripts Fix embedded_launcher can't find files 2018-06-04 12:32:55 -07:00
androidmk.go Support 'test_config' into soong modules 2018-08-07 15:51:21 -07:00
binary.go Fix invalid memory error for python binary build 2018-09-26 16:57:24 -07:00
builder.go Fix invalid memory error for python binary build 2018-09-26 16:57:24 -07:00
defaults.go Add support for python_defaults modules 2017-09-05 17:31:24 -07:00
installer.go Revert "Revert "Change Python in Soong to support device side build."" 2017-12-01 20:00:31 +00:00
library.go Revert "Revert "Change Python in Soong to support device side build."" 2017-12-01 20:00:31 +00:00
proto.go Fix Protobuf importing issue for embedded Python 2018-05-23 03:33:36 +00:00
python.go Fix go vet issues 2018-07-22 21:18:45 -07:00
python_test.go Fix embedded_launcher can't find files 2018-06-04 12:32:55 -07:00
test.go Support 'test_config' into soong modules 2018-08-07 15:51:21 -07:00