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
14 lines
343 B
Python
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()
|