Support cross-compiling

This commit is contained in:
Cheng Zhao 2015-07-01 07:47:21 +00:00
parent fdf7452ba9
commit 3d88d56965
6 changed files with 214 additions and 74 deletions

View file

@ -44,7 +44,7 @@ def run_gyp(target_arch, component):
defines = [
'-Dlibchromiumcontent_component={0}'.format(component),
'-Dtarget_arch={0}'.format(target_arch),
'-Dhost_arch={0}'.format(target_arch),
'-Dhost_arch=x64',
'-Dlibrary=static_library',
]
return subprocess.call([python, gyp, '-f', 'ninja', '--depth', '.',