• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1From 93395bf49f856abac5ab06d4bcaa7cdbf76a77fc Mon Sep 17 00:00:00 2001
2From: Cassidy Burden <cburden@google.com>
3Date: Tue, 9 Aug 2016 09:38:41 -0700
4Subject: [PATCH] FOR BINARY SEARCH TOOL: Add arm7 target
5
6Add arm7 target to build.gradle file. This is so the bisection tool only
7has to triage the object files generated for our specific device.
8Without this target we would have to binary search across object files
9meant for x86 targets (that we can't even test on our ARM device).
10---
11 Teapot/app/build.gradle | 7 ++++++-
12 1 file changed, 6 insertions(+), 1 deletion(-)
13
14diff --git a/Teapot/app/build.gradle b/Teapot/app/build.gradle
15index 78cf54d..c322114 100644
16--- a/Teapot/app/build.gradle
17+++ b/Teapot/app/build.gradle
18@@ -29,7 +29,7 @@ model {
19             cppFlags.addAll(['-I' + "${ndkDir}/sources/android/cpufeatures",
20                              '-I' + file('src/main/jni/ndk_helper')])
21             cppFlags.addAll(['-std=c++11', '-Wall',
22-                             '-fno-exceptions', '-fno-rtti'])
23+                             '-fno-exceptions', '-fno-rtti', '-gsplit-dwarf'])
24             ldLibs.addAll(['android', 'log', 'EGL', 'GLESv2','atomic'])
25         }
26         sources {
27@@ -51,5 +51,10 @@ model {
28                 proguardFiles.add(file('proguard-rules.txt'))
29             }
30         }
31+	productFlavors{
32+            create("arm7") {
33+                ndk.abiFilters.add("armeabi-v7a")
34+            }
35+	}
36     }
37 }
38--
392.8.0.rc3.226.g39d4020
40
41