From 319b081862b976989494a01962333cff8b7b12ad Mon Sep 17 00:00:00 2001 From: "Torne (Richard Coles)" Date: Thu, 30 Jan 2014 10:55:31 +0000 Subject: 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 --- chromium/tools/merge_from_chromium.py | 8 ++++++++ 1 file changed, 8 insertions(+) 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: -- cgit v1.2.3