diff options
| author | 2021-03-23 11:46:47 +0100 | |
|---|---|---|
| committer | 2021-03-23 15:18:22 +0100 | |
| commit | f0b3b94bb3e6fa9b4f307a6dfadd29ae665891a1 (patch) | |
| tree | 048ab031ab48262729010ff29aa43d9ff68ef2ea /sdk/java_sdk_test.go | |
| parent | c29088b727c372eb21ccbfbe0db3ff3a50b699a1 (diff) | |
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
Diffstat (limited to 'sdk/java_sdk_test.go')
0 files changed, 0 insertions, 0 deletions