summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2016-07-15 09:28:31 -0700
committerDan Willemsen <dwillemsen@google.com>2016-07-20 15:44:25 -0700
commit2458a418d021dc5e96fec93ac807c25c4c55cee8 (patch)
treee1ea051f3230a030ce8be789a8687f555797fe29 /src
parent21986fbbffc52d777b872d0d1ceb9c654501b7d2 (diff)
downloadboringssl-2458a418d021dc5e96fec93ac807c25c4c55cee8.tar.gz
Build native tests
Change-Id: I95dcd3704a2d7b5eeb789d599e74a6b27b83adaf
Diffstat (limited to 'src')
-rw-r--r--src/util/generate_build_files.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/util/generate_build_files.py b/src/util/generate_build_files.py
index f545d7d0..cbae9de9 100644
--- a/src/util/generate_build_files.py
+++ b/src/util/generate_build_files.py
@@ -138,6 +138,22 @@ class Android(object):
for f in sorted(files['tool']):
blueprint.write(' "%s",\n' % f)
blueprint.write(' ],\n')
+ blueprint.write('}\n\n')
+
+ blueprint.write('cc_defaults {\n')
+ blueprint.write(' name: "boringssl_test_support_sources",\n')
+ blueprint.write(' srcs: [\n')
+ for f in sorted(files['test_support']):
+ blueprint.write(' "%s",\n' % f)
+ blueprint.write(' ],\n')
+ blueprint.write('}\n\n')
+
+ blueprint.write('cc_defaults {\n')
+ blueprint.write(' name: "boringssl_tests_sources",\n')
+ blueprint.write(' srcs: [\n')
+ for f in sorted(files['test']):
+ blueprint.write(' "%s",\n' % f)
+ blueprint.write(' ],\n')
blueprint.write('}\n')
# Legacy Android.mk format, only used by Trusty in new branches