Support cross-compiling
This commit is contained in:
parent
fdf7452ba9
commit
3d88d56965
6 changed files with 214 additions and 74 deletions
|
@ -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', '.',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue