platform_build_soong/cmd
Lukacs T. Berki f0b3b94bb3 Make GENERATE_BAZEL_FILES=true correct.
This is achieved by writing soong.environment.used in Main() instead of
as a side effect of a singleton. This makes a difference because build
actions are not generated when GENERATE_BAZEL_FILES=true is set,
therefore the side effect did not happen.

Arguably, Main() is made worse by this change, but I don't want to
tackle the problem of readably determining which mode soong_build is
running in in this change.

Test: Presubmits + the additional test.
Change-Id: I66af2429aedf008762173eaaa55b828b4cf4328b
2021-03-23 15:18:22 +01:00
..
dep_fixer Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
diff_target_files Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
extract_apks Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
extract_jar_packages Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
extract_linker Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
fileslist Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
host_bionic_inject Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
javac_wrapper Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
merge_zips Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
multiproduct_kati Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
path_interposer Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
pom2bp Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
pom2mk Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
sbox Fix sbox in chdir mode 2021-03-16 16:53:23 -07:00
soong_build Make GENERATE_BAZEL_FILES=true correct. 2021-03-23 15:18:22 +01:00
soong_ui Embed minibp into soong_ui. 2021-03-17 08:35:52 +01:00
zip2zip Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
zipsync Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00