diff options
| author | 2017-10-18 06:33:44 +0000 | |
|---|---|---|
| committer | 2017-10-18 06:33:44 +0000 | |
| commit | aeff5b880b095e148e0243907d384d6f1d0a4c20 (patch) | |
| tree | 9160a56f4005b21303fcc85dbc8ecdc6566a5e3c /tools/bit/main.cpp | |
| parent | 7fb9a4d538b3691328f2f703a0bacbe2fd1f70bb (diff) | |
| parent | bfc9e71e0d851204d9f0f380b7f2def51875b657 (diff) | |
Merge "Use soong_ui directly, instead of make" am: e994b4b584 am: 0531e5c647 am: 98fc198f1f
am: bfc9e71e0d
Change-Id: I5ef2f58b01632438702ac3bebb19b61000016dfe
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 a8a4cfcab351..a71cea1c44f9 100644 --- a/tools/bit/main.cpp +++ b/tools/bit/main.cpp @@ -623,12 +623,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); |