diff options
author | 2017-10-18 06:00:51 +0000 | |
---|---|---|
committer | 2017-10-18 06:00:51 +0000 | |
commit | e994b4b584a23be4574b725f6b5e654535f8e1d0 (patch) | |
tree | 01f445dbd94b92bc7ef728a85765c8f8c3afc8c8 /tools/bit/main.cpp | |
parent | d32138d78a0c2753c6473effc0657ff7cf2c0de9 (diff) | |
parent | a40118d7b6f70f44eaf4a47a32808088fd039f71 (diff) |
Merge "Use soong_ui directly, instead of make"
Diffstat (limited to 'tools/bit/main.cpp')
-rw-r--r-- | tools/bit/main.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/bit/main.cpp b/tools/bit/main.cpp index ad23971152b2..e81898f82418 100644 --- a/tools/bit/main.cpp +++ b/tools/bit/main.cpp @@ -588,12 +588,13 @@ run_phases(vector<Target*> targets, const Options& options) const string buildProduct = get_required_env("TARGET_PRODUCT", false); const string buildVariant = get_required_env("TARGET_BUILD_VARIANT", false); const string buildType = get_required_env("TARGET_BUILD_TYPE", false); - const string buildDevice = get_build_var(buildTop, "TARGET_DEVICE", false); - const string buildId = get_build_var(buildTop, "BUILD_ID", false); - const string buildOut = get_out_dir(); chdir_or_exit(buildTop.c_str()); + const string buildDevice = get_build_var("TARGET_DEVICE", false); + const string buildId = get_build_var("BUILD_ID", false); + const string buildOut = get_out_dir(); + // Get the modules for the targets map<string,Module> modules; read_modules(buildOut, buildDevice, &modules, false); |