diff options
author | 2017-10-18 06:10:06 +0000 | |
---|---|---|
committer | 2017-10-18 06:10:06 +0000 | |
commit | 0531e5c6474265698841f07d40f2e84f5f13d547 (patch) | |
tree | ebec742dff5c2f0e2d1037c390a1fb8fc4e12d00 /tools/bit/main.cpp | |
parent | a0df3496d33ed6ead766d99f68587379856bd8e9 (diff) | |
parent | e994b4b584a23be4574b725f6b5e654535f8e1d0 (diff) |
Merge "Use soong_ui directly, instead of make"
am: e994b4b584
Change-Id: I406a02af2d5fd1accf5c53609af00f416669e18f
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); |