f0b3b94bb3
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 |
||
---|---|---|
.. | ||
dep_fixer | ||
diff_target_files | ||
extract_apks | ||
extract_jar_packages | ||
extract_linker | ||
fileslist | ||
host_bionic_inject | ||
javac_wrapper | ||
merge_zips | ||
multiproduct_kati | ||
path_interposer | ||
pom2bp | ||
pom2mk | ||
sbox | ||
soong_build | ||
soong_ui | ||
zip2zip | ||
zipsync |