| // Copyright 2020 The Chromium OS Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // The Android Studio build file. |
| // The build rules must be in sync with BUILD.gn. |
| buildscript { |
| repositories { |
| jcenter() |
| google() |
| } |
| dependencies { |
| classpath 'com.android.tools.build:gradle:3.5.1' |
| } |
| } |
| |
| allprojects { |
| repositories { |
| jcenter() |
| google() |
| } |
| } |
| |
| apply plugin: 'com.android.application' |
| android { |
| compileSdkVersion 28 |
| buildToolsVersion "29.0.1" |
| |
| defaultConfig { |
| applicationId "org.chromium.arc.testapp.arcaudiotest" |
| minSdkVersion 28 //Tast test will run only on P and later. |
| } |
| compileOptions { |
| sourceCompatibility JavaVersion.VERSION_1_8 |
| targetCompatibility JavaVersion.VERSION_1_8 |
| } |
| sourceSets { |
| main { |
| manifest.srcFile 'AndroidManifest.xml' |
| java.srcDirs = ['src'] |
| resources.srcDirs = ['src'] |
| aidl.srcDirs = ['src'] |
| renderscript.srcDirs = ['src'] |
| res.srcDirs = ['res'] |
| assets.srcDirs = ['assets'] |
| } |
| } |
| buildTypes { |
| release { |
| minifyEnabled false |
| proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' |
| } |
| } |
| } |