summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSailesh Nepal <sail@google.com>2016-02-22 20:47:42 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-02-22 20:47:42 +0000
commit43c1be9d2b9b8b42d76c603c57a5ab459b0066da (patch)
tree55b155d064c9a127f470b0a386ffcb14ee3c554d
parentb64b56dd457d5f3bd32f4933808eb3f4629e0e83 (diff)
parent7c5959bfe138a20701ae57f67b0f9cc5813bebee (diff)
Add gradle build file for Dialer
am: 7c5959bfe1 * commit '7c5959bfe138a20701ae57f67b0f9cc5813bebee': Add gradle build file for Dialer
-rw-r--r--InCallUI/AndroidManifest.xml24
-rw-r--r--InCallUI/build.gradle14
-rw-r--r--InCallUI/res/values/colors.xml3
-rw-r--r--build.gradle34
4 files changed, 75 insertions, 0 deletions
diff --git a/InCallUI/AndroidManifest.xml b/InCallUI/AndroidManifest.xml
new file mode 100644
index 000000000..5c758edaa
--- /dev/null
+++ b/InCallUI/AndroidManifest.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (C) 2016 The Android Open Source Project
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
+ ~ you may not use this file except in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License
+ -->
+
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.incallui">
+ <uses-sdk
+ android:minSdkVersion="23"
+ android:targetSdkVersion="23" />
+</manifest>
+
diff --git a/InCallUI/build.gradle b/InCallUI/build.gradle
new file mode 100644
index 000000000..b55d46396
--- /dev/null
+++ b/InCallUI/build.gradle
@@ -0,0 +1,14 @@
+apply plugin: 'com.android.library'
+
+android {
+ sourceSets.main {
+ manifest.srcFile 'AndroidManifest.xml'
+ res.srcDirs = ['res']
+ }
+}
+
+dependencies {
+ compile 'com.android.support:support-v4:23.1.+'
+ compile project(':PhoneCommon')
+ compile project(':ContactsCommon')
+}
diff --git a/InCallUI/res/values/colors.xml b/InCallUI/res/values/colors.xml
index 60a017c21..5e4eeeed6 100644
--- a/InCallUI/res/values/colors.xml
+++ b/InCallUI/res/values/colors.xml
@@ -119,4 +119,7 @@
<color name="person_contact_context_message_background_color">@color/incall_call_banner_subtext_color</color>
<color name="person_contact_context_detail_text_color">@color/incall_call_banner_subtext_color</color>
<color name="business_contact_context_text_color">@color/incall_call_banner_subtext_color</color>
+
+ <!-- White background for dialer -->
+ <color name="background_dialer_white">#ffffff</color>
</resources>
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 000000000..7e3424b3c
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,34 @@
+apply plugin: 'com.android.application'
+
+android {
+ defaultConfig {
+ minSdkVersion 23
+ targetSdkVersion 23
+ multiDexEnabled true
+ }
+
+ sourceSets.main {
+ java.srcDirs = ['src', 'src-pre-N', 'InCallUI/src']
+ manifest.srcFile 'AndroidManifest.xml'
+ res.srcDirs = ['res']
+ }
+}
+
+dependencies {
+ compile 'com.android.support:support-v4:23.1.+'
+ compile 'com.android.support:support-v13:23.1.+'
+ compile 'com.android.support:appcompat-v7:23.1.+'
+ compile 'com.android.support:cardview-v7:23.1.+'
+ compile 'com.android.support:design:23.1.+'
+ compile 'com.android.support:recyclerview-v7:23.1.+'
+
+ compile project(':android-common')
+ compile project(':guava')
+ compile project(':libphonenumber')
+ compile project(':jsr305')
+ compile project(':vcard')
+
+ compile project(':ContactsCommon')
+ compile project(':PhoneCommon')
+ compile project(':InCallUI')
+}