platform_build_soong/ui/build
Jingwen Chen cda22c9bb9 Refactor 'in_make' to mean Kati is not skipped.
In Nougat and before, Make wrote a marker file to indicate that
soong_build was invoked from Make to change certain behaviors of Soong
at build time.
https://cs.android.com/android/platform/superproject/+/android-7.1.2_r36:build/core/soong.mk;l=70-73;drc=ae18638b0406ad107b0882a02a13cdd8b92f2a4e

Things have changed, and now soong_build is invoked from soong_ui, which
supports a --skip-make configuration flag:
https://cs.android.com/android/platform/superproject/+/master:build/soong/ui/build/build.go;l=31-33;drc=680387bf1d3ce7cbc77f535be7c42cec411b1687

Thus, the various remnants of 'EmbeddedInMake' and 'inMake'
configuration are misleading, since soong_build is no longer invoked
from Make. This CL refactors all instances to actually mean that
Kati is enabled (not skipped with --skip-make), and will run after
soong_build finishes, so Kati-specific behavior like the AndroidMk
singleton should run.

Test: TH presubmit

Change-Id: I576ab8e54f99f5c8ddf9feaf9a828019b279e266
2020-11-23 00:29:18 -05:00
..
paths Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
sandbox/darwin Revert "Revert "Revert "Revert "Add path interposer"""" 2018-05-31 14:59:33 -07:00
Android.bp Add code to enable USE_BAZEL=1 m functionality in AOSP. 2020-10-26 09:23:24 +00:00
bazel.go soong_ui's bazel.go: document/comment with tiny refactoring. 2020-11-17 03:46:23 -05:00
build.go Refactor 'in_make' to mean Kati is not skipped. 2020-11-23 00:29:18 -05:00
cleanbuild.go Add odm_dlkm and vendor_dlkm to the installclean list 2020-10-14 11:32:23 -07:00
cleanbuild_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
config.go Integrate bazelenv.sh environment variables into soong_ui environment. 2020-11-17 18:58:03 -05:00
config_darwin.go Create a highmem pool and put metalava into it 2020-01-24 11:44:23 -08:00
config_linux.go Create a highmem pool and put metalava into it 2020-01-24 11:44:23 -08:00
config_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
context.go Rename time to event in Soong metrics system. 2020-10-21 08:54:56 -07:00
dumpvars.go Remove obsolete PDK build functionality 2020-08-11 01:11:44 +00:00
environment.go Create a highmem pool and put metalava into it 2020-01-24 11:44:23 -08:00
environment_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
exec.go Collect useful resource information of each executed process in soong_ui. 2020-11-04 23:35:43 +00:00
finder.go soong_ui finder.go: improve comments/documentation. 2020-11-17 19:48:31 -05:00
goma.go Add dist_dir to goma trigger 2019-07-23 16:16:15 -04:00
kati.go soong_ui kati.go: write more comments. 2020-11-18 22:16:08 -05:00
ninja.go soong_ui ninja.go: comment and refactor. 2020-11-21 07:37:28 -05:00
path.go soong_ui path.go: improve comments. 2020-11-18 22:13:23 -05:00
proc_sync.go Make soong lock file sync time configurable.. 2019-05-24 17:10:48 -04:00
proc_sync_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
rbe.go Add warning about out-directory usage with RBE builds 2020-10-08 02:50:24 -04:00
rbe_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
sandbox_darwin.go Implement linux sandboxing with nsjail 2019-01-15 13:47:31 -08:00
sandbox_linux.go nsjail: Always remount /tmp before src/out/dist 2020-05-01 16:26:56 -07:00
signal.go Improve signal handling in soong_ui 2017-02-22 10:44:19 -08:00
soong.go Integrate bazelenv.sh environment variables into soong_ui environment. 2020-11-17 18:58:03 -05:00
test_build.go Add dependency on dexpreopt.config to soong_build doc generation. 2020-11-04 01:51:40 -05:00
upload.go Inclusive fix: renaming dumb terminal to simple terminal. 2020-07-28 20:25:03 +00:00
upload_test.go Use the build start time from Soong main UI for metrics build timestamp. 2020-07-14 17:23:23 +00:00
util.go Dist build.ninja and Android.bp.list 2020-06-25 12:50:00 -07:00
util_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00