Fix tests for soong change. am: 45f1d99044 am: 32e8014cfb

am: f6f2994cdf

Change-Id: If89126637a7752aa5b199480ca0d79b53923269a
This commit is contained in:
Dan Albert
2019-08-21 19:15:21 -07:00
committed by android-build-merger

View File

@@ -131,7 +131,11 @@ def get_build_cmds(bitness, host):
# Generate $OUT_DIR/combined-$TARGET_PRODUCT.ninja and build the
# template target's dependencies.
check_call(['make', '-C', ANDROID_DIR, target])
check_call([
'bash',
os.path.join(ANDROID_DIR, 'build/soong/soong_ui.bash'), '--make-mode',
target
])
ninja_path = os.path.join(
out_dir, 'combined-' + os.getenv('TARGET_PRODUCT') + '.ninja')