Home | History | Annotate | Download | only in ndk
      1 From 93395bf49f856abac5ab06d4bcaa7cdbf76a77fc Mon Sep 17 00:00:00 2001
      2 From: Cassidy Burden <cburden (a] google.com>
      3 Date: Tue, 9 Aug 2016 09:38:41 -0700
      4 Subject: [PATCH] FOR BINARY SEARCH TOOL: Add arm7 target
      5 
      6 Add arm7 target to build.gradle file. This is so the bisection tool only
      7 has to triage the object files generated for our specific device.
      8 Without this target we would have to binary search across object files
      9 meant 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 
     14 diff --git a/Teapot/app/build.gradle b/Teapot/app/build.gradle
     15 index 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 -- 
     39 2.8.0.rc3.226.g39d4020
     40 
     41