summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2017-10-16 14:29:03 -0700
committerDan Willemsen <dwillemsen@google.com>2017-10-16 14:29:17 -0700
commitd4bb7dccd4eb0262166ae61f5a084841b2435738 (patch)
tree2304859e04c39a178cf049ca298e9daa25a6b7fc /src
parent90baa4f79c047b0af04ae6da364c239f09d941d1 (diff)
downloadboringssl-d4bb7dccd4eb0262166ae61f5a084841b2435738.tar.gz
Use target.linux for all linux kernel based targets
Now in Android.bp files, target.linux applies to all targets running a linux kernel (android, linux_glibc, linux_bionic). So common flags/sources/etc can be combined instead of copying them to each target. Test: m Test: mmma external/boringssl Change-Id: Ie98f6fe70a0c603d89d39f92246cb2e1d39108d6
Diffstat (limited to 'src')
-rw-r--r--src/util/generate_build_files.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/util/generate_build_files.py b/src/util/generate_build_files.py
index da63ea98..738484d4 100644
--- a/src/util/generate_build_files.py
+++ b/src/util/generate_build_files.py
@@ -106,21 +106,13 @@ class Android(object):
if arch == 'aarch64':
arch = 'arm64'
- blueprint.write(' android_%s: {\n' % arch)
+ blueprint.write(' linux_%s: {\n' % arch)
blueprint.write(' srcs: [\n')
for f in sorted(asm_files):
blueprint.write(' "%s",\n' % f)
blueprint.write(' ],\n')
blueprint.write(' },\n')
- if arch == 'x86' or arch == 'x86_64':
- blueprint.write(' linux_glibc_%s: {\n' % arch)
- blueprint.write(' srcs: [\n')
- for f in sorted(asm_files):
- blueprint.write(' "%s",\n' % f)
- blueprint.write(' ],\n')
- blueprint.write(' },\n')
-
blueprint.write(' },\n')
blueprint.write('}\n\n')