Files
android_external_libcxx/test/libcxx/android/build.py
Dan Albert 8234f20ae7 Update the test configs to match the new layout.
Everything can be broken out into modules now, so there's not need to
keep the whole world in one file. This also brings us to the point
where we no longer require changes to any files in test/ compared to
upstream, only new files.

Change-Id: I3da27e12e6e2890355013c51567415436c4b517b
2015-01-09 11:35:20 -08:00

14 lines
343 B
Python

import os
import subprocess
def mm(path, android_build_top):
env = os.environ
env['ONE_SHOT_MAKEFILE'] = os.path.join(path, 'Android.mk')
cmd = [
'make', '-C', android_build_top, '-f', 'build/core/main.mk',
'all_modules', '-B'
]
return not subprocess.Popen(cmd, stdout=None, stderr=None, env=env).wait()