commit | 57bb5081d7a901fafb33f0314b4f955db2e84191 | [log] [tgz] |
---|---|---|
author | Sasha Smundak <asmundak@google.com> | Thu Apr 01 15:51:56 2021 -0700 |
committer | Sasha Smundak <asmundak@google.com> | Thu Apr 01 16:44:47 2021 -0700 |
tree | 4f867a535a47a24050b95352876d9f486894955b | |
parent | 98c8507215fcee357ee8b8dba7e6128dd794adc8 [diff] |
Always use /bin/sh to run the command. SHELL environment variable cannot be relied on because the rbcrun can be run as `env - rbcrun ...` Fixes: 184278019 Test: build/soong/soong_ui.bash --make-mode USE_BAZEL=1 TARGET_PRODUCT=aosp_arm64 TARGET_BUILD_VARIANT=userdebug droid dist platform_tests Change-Id: Id8fc7fd1ae8f2e674028ba5ffb3616f87eea6bc4
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.