diff options
author | Torne (Richard Coles) <torne@google.com> | 2014-01-30 10:55:31 +0000 |
---|---|---|
committer | Torne (Richard Coles) <torne@google.com> | 2014-01-30 10:55:31 +0000 |
commit | 319b081862b976989494a01962333cff8b7b12ad (patch) | |
tree | f93a9805b23cb06a60721e5e6044883435d0a823 | |
parent | f9b4aa3a6b7f77e10cd575e360b2f791e29c193b (diff) | |
download | android_frameworks_webview-319b081862b976989494a01962333cff8b7b12ad.tar.gz android_frameworks_webview-319b081862b976989494a01962333cff8b7b12ad.tar.bz2 android_frameworks_webview-319b081862b976989494a01962333cff8b7b12ad.zip |
Merge scripts: duplicate arm makefile for arm64.
To support multiarch arm/arm64 builds, copy the top-level makefile so
that the same makefiles will be used for arm64 as are currently used for
arm.
Change-Id: I79bff65dd57e6528ab543b090203553849c665e4
-rwxr-xr-x | chromium/tools/merge_from_chromium.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chromium/tools/merge_from_chromium.py b/chromium/tools/merge_from_chromium.py index a2cdb04..812af1b 100755 --- a/chromium/tools/merge_from_chromium.py +++ b/chromium/tools/merge_from_chromium.py @@ -21,6 +21,7 @@ import logging import optparse import os import re +import shutil import sys import urllib2 @@ -293,6 +294,13 @@ def _GenerateMakefiles(version, unattended): raise merge_common.TemporaryMergeError('Makefile generation failed: ' + str(e)) + # Copy ARM makefile to ARM64 to allow multiarch builds + for host in ['linux', 'darwin']: + shutil.copy(os.path.join(merge_common.REPOSITORY_ROOT, + 'GypAndroid.%s-arm.mk' % host), + os.path.join(merge_common.REPOSITORY_ROOT, + 'GypAndroid.%s-arm64.mk' % host)) + for path in merge_common.ALL_PROJECTS: dest_dir = os.path.join(merge_common.REPOSITORY_ROOT, path) # git add doesn't have an --ignore-unmatch so we have to do this instead: |