Build with soong_ui.bash in test_compiler.py
Directly invoking make is no longer supported.
Test: test_compiler.py in master-plus-llvm branch
Change-Id: I2b0982eebc5872e60fd5f162fd4229a744f35009
diff --git a/test_compiler.py b/test_compiler.py
index 947c7cc..7966f32 100755
--- a/test_compiler.py
+++ b/test_compiler.py
@@ -232,7 +232,8 @@
modulesList = ' '.join(modules)
print 'Start building target %s and modules %s.' % (target, modulesList)
subprocess.check_call(
- ['/bin/bash', '-c', 'make ' + jobs + ' ' + modulesList],
+ ['/bin/bash', '-c', 'build/soong/soong_ui.bash --make-mode ' + jobs + \
+ ' ' + modulesList],
cwd=android_base,
env=env)