Fix tests for soong change.
Test: ./run_tests.py Bug: None Change-Id: I235225f449e3e3d0bb17c5d0c28d2acd8acfa6c9
This commit is contained in:
@@ -131,7 +131,11 @@ def get_build_cmds(bitness, host):
|
|||||||
|
|
||||||
# Generate $OUT_DIR/combined-$TARGET_PRODUCT.ninja and build the
|
# Generate $OUT_DIR/combined-$TARGET_PRODUCT.ninja and build the
|
||||||
# template target's dependencies.
|
# 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(
|
ninja_path = os.path.join(
|
||||||
out_dir, 'combined-' + os.getenv('TARGET_PRODUCT') + '.ninja')
|
out_dir, 'combined-' + os.getenv('TARGET_PRODUCT') + '.ninja')
|
||||||
|
|||||||
Reference in New Issue
Block a user