blob: bd9e63fc7881a2df6282d9b4ceb5f6e0a1205b11 [file] [log] [blame]
Eric Erfanianccca3152017-02-22 16:32:36 -08001# Local modifications:
Eric Erfanian9a090c82017-03-16 19:22:24 -07002# * removed com.google.android.backup.api_key. This should be added to
3# the manifest in the top level directory.
4# * removed com.google.android.geo.API_KEY key. This should be added to
5# the manifest files in java/com/android/incallui/calllocation/impl/
6# and /java/com/android/incallui/maps/impl/
Chiao Cheng94b10b52012-08-17 16:59:12 -07007LOCAL_PATH:= $(call my-dir)
8include $(CLEAR_VARS)
9
Yorke Leea20df312015-10-30 12:22:20 -070010ifeq ($(TARGET_BUILD_APPS),)
11support_library_root_dir := frameworks/support
12else
13support_library_root_dir := prebuilts/sdk/current/support
14endif
15
Eric Erfanianccca3152017-02-22 16:32:36 -080016# The base directory for Dialer sources.
17BASE_DIR := java/com/android
Jay Shrauner0f68a712014-07-16 16:13:57 -070018
Eric Erfanianccca3152017-02-22 16:32:36 -080019# Primary dialer module sources.
20SRC_DIRS := \
21 $(BASE_DIR)/contacts/common \
22 $(BASE_DIR)/dialer \
23 $(BASE_DIR)/incallui \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070024 $(BASE_DIR)/voicemail
25
26# Exclude files incompatible with AOSP.
27EXCLUDE_FILES := \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070028 $(BASE_DIR)/incallui/calllocation/impl/AuthException.java \
29 $(BASE_DIR)/incallui/calllocation/impl/CallLocationImpl.java \
30 $(BASE_DIR)/incallui/calllocation/impl/CallLocationModule.java \
31 $(BASE_DIR)/incallui/calllocation/impl/DownloadMapImageTask.java \
32 $(BASE_DIR)/incallui/calllocation/impl/GoogleLocationSettingHelper.java \
33 $(BASE_DIR)/incallui/calllocation/impl/HttpFetcher.java \
34 $(BASE_DIR)/incallui/calllocation/impl/LocationFragment.java \
35 $(BASE_DIR)/incallui/calllocation/impl/LocationHelper.java \
36 $(BASE_DIR)/incallui/calllocation/impl/LocationPresenter.java \
37 $(BASE_DIR)/incallui/calllocation/impl/LocationUrlBuilder.java \
38 $(BASE_DIR)/incallui/calllocation/impl/ReverseGeocodeTask.java \
39 $(BASE_DIR)/incallui/calllocation/impl/TrafficStatsTags.java \
40 $(BASE_DIR)/incallui/maps/impl/MapsImpl.java \
41 $(BASE_DIR)/incallui/maps/impl/MapsModule.java \
42 $(BASE_DIR)/incallui/maps/impl/StaticMapFragment.java
Chiao Cheng94b10b52012-08-17 16:59:12 -070043
Paul Duffin922b1082017-05-05 15:05:47 +010044# Exclude testing only class, not used anywhere here
45EXCLUDE_FILES += \
46 $(BASE_DIR)/contacts/common/format/testing/SpannedTestUtils.java
47
Eric Erfanianccca3152017-02-22 16:32:36 -080048# All Dialers resources.
49# find . -type d -name "res" | uniq | sort
50RES_DIRS := \
51 assets/product/res \
52 assets/quantum/res \
53 $(BASE_DIR)/contacts/common/res \
54 $(BASE_DIR)/dialer/app/res \
55 $(BASE_DIR)/dialer/app/voicemail/error/res \
56 $(BASE_DIR)/dialer/blocking/res \
57 $(BASE_DIR)/dialer/callcomposer/camera/camerafocus/res \
58 $(BASE_DIR)/dialer/callcomposer/cameraui/res \
59 $(BASE_DIR)/dialer/callcomposer/res \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070060 $(BASE_DIR)/dialer/calldetails/res \
Eric Erfanian8369df02017-05-03 10:27:13 -070061 $(BASE_DIR)/dialer/calllog/ui/res \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070062 $(BASE_DIR)/dialer/calllogutils/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080063 $(BASE_DIR)/dialer/common/res \
Eric Erfanian8369df02017-05-03 10:27:13 -070064 $(BASE_DIR)/dialer/contactsfragment/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080065 $(BASE_DIR)/dialer/dialpadview/res \
66 $(BASE_DIR)/dialer/interactions/res \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070067 $(BASE_DIR)/dialer/notification/res \
68 $(BASE_DIR)/dialer/oem/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080069 $(BASE_DIR)/dialer/phonenumberutil/res \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070070 $(BASE_DIR)/dialer/postcall/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080071 $(BASE_DIR)/dialer/shortcuts/res \
Eric Erfaniand8046e52017-04-06 09:41:50 -070072 $(BASE_DIR)/dialer/speeddial/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080073 $(BASE_DIR)/dialer/theme/res \
74 $(BASE_DIR)/dialer/util/res \
75 $(BASE_DIR)/dialer/voicemailstatus/res \
76 $(BASE_DIR)/dialer/widget/res \
77 $(BASE_DIR)/incallui/answer/impl/affordance/res \
78 $(BASE_DIR)/incallui/answer/impl/answermethod/res \
79 $(BASE_DIR)/incallui/answer/impl/hint/res \
80 $(BASE_DIR)/incallui/answer/impl/res \
81 $(BASE_DIR)/incallui/audioroute/res \
82 $(BASE_DIR)/incallui/autoresizetext/res \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070083 $(BASE_DIR)/incallui/calllocation/impl/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080084 $(BASE_DIR)/incallui/commontheme/res \
85 $(BASE_DIR)/incallui/contactgrid/res \
86 $(BASE_DIR)/incallui/hold/res \
87 $(BASE_DIR)/incallui/incall/impl/res \
88 $(BASE_DIR)/incallui/res \
89 $(BASE_DIR)/incallui/sessiondata/res \
90 $(BASE_DIR)/incallui/video/impl/res \
Eric Erfaniand8046e52017-04-06 09:41:50 -070091 $(BASE_DIR)/incallui/video/protocol/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080092 $(BASE_DIR)/incallui/wifi/res \
Eric Erfanian8369df02017-05-03 10:27:13 -070093 $(BASE_DIR)/voicemail/impl/res \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070094
Ta-wei Yen90a13e92016-01-11 13:00:53 -080095
Eric Erfanianccca3152017-02-22 16:32:36 -080096# Dialer manifest files to merge.
97# find . -type f -name "AndroidManifest.xml" | uniq | sort
98DIALER_MANIFEST_FILES += \
99 $(BASE_DIR)/contacts/common/AndroidManifest.xml \
100 $(BASE_DIR)/dialer/app/AndroidManifest.xml \
101 $(BASE_DIR)/dialer/app/manifests/activities/AndroidManifest.xml \
102 $(BASE_DIR)/dialer/app/voicemail/error/AndroidManifest.xml \
103 $(BASE_DIR)/dialer/backup/AndroidManifest.xml \
104 $(BASE_DIR)/dialer/blocking/AndroidManifest.xml \
105 $(BASE_DIR)/dialer/callcomposer/AndroidManifest.xml \
106 $(BASE_DIR)/dialer/callcomposer/camera/AndroidManifest.xml \
107 $(BASE_DIR)/dialer/callcomposer/camera/camerafocus/AndroidManifest.xml \
108 $(BASE_DIR)/dialer/callcomposer/cameraui/AndroidManifest.xml \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700109 $(BASE_DIR)/dialer/calldetails/AndroidManifest.xml \
Eric Erfanian8369df02017-05-03 10:27:13 -0700110 $(BASE_DIR)/dialer/calllog/ui/AndroidManifest.xml \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700111 $(BASE_DIR)/dialer/calllogutils/AndroidManifest.xml \
Eric Erfanianccca3152017-02-22 16:32:36 -0800112 $(BASE_DIR)/dialer/common/AndroidManifest.xml \
Eric Erfanian8369df02017-05-03 10:27:13 -0700113 $(BASE_DIR)/dialer/contactsfragment/AndroidManifest.xml \
Eric Erfanianccca3152017-02-22 16:32:36 -0800114 $(BASE_DIR)/dialer/dialpadview/AndroidManifest.xml \
115 $(BASE_DIR)/dialer/interactions/AndroidManifest.xml \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700116 $(BASE_DIR)/dialer/notification/AndroidManifest.xml \
117 $(BASE_DIR)/dialer/oem/AndroidManifest.xml \
Eric Erfanianccca3152017-02-22 16:32:36 -0800118 $(BASE_DIR)/dialer/phonenumberutil/AndroidManifest.xml \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700119 $(BASE_DIR)/dialer/postcall/AndroidManifest.xml \
Eric Erfanianccca3152017-02-22 16:32:36 -0800120 $(BASE_DIR)/dialer/shortcuts/AndroidManifest.xml \
121 $(BASE_DIR)/dialer/simulator/impl/AndroidManifest.xml \
Eric Erfaniand8046e52017-04-06 09:41:50 -0700122 $(BASE_DIR)/dialer/speeddial/AndroidManifest.xml \
Eric Erfanianccca3152017-02-22 16:32:36 -0800123 $(BASE_DIR)/dialer/theme/AndroidManifest.xml \
124 $(BASE_DIR)/dialer/util/AndroidManifest.xml \
125 $(BASE_DIR)/dialer/voicemailstatus/AndroidManifest.xml \
126 $(BASE_DIR)/dialer/widget/AndroidManifest.xml \
127 $(BASE_DIR)/incallui/AndroidManifest.xml \
128 $(BASE_DIR)/incallui/answer/impl/affordance/AndroidManifest.xml \
129 $(BASE_DIR)/incallui/answer/impl/AndroidManifest.xml \
130 $(BASE_DIR)/incallui/answer/impl/answermethod/AndroidManifest.xml \
131 $(BASE_DIR)/incallui/answer/impl/hint/AndroidManifest.xml \
132 $(BASE_DIR)/incallui/audioroute/AndroidManifest.xml \
133 $(BASE_DIR)/incallui/autoresizetext/AndroidManifest.xml \
134 $(BASE_DIR)/incallui/commontheme/AndroidManifest.xml \
135 $(BASE_DIR)/incallui/contactgrid/AndroidManifest.xml \
136 $(BASE_DIR)/incallui/hold/AndroidManifest.xml \
137 $(BASE_DIR)/incallui/incall/impl/AndroidManifest.xml \
138 $(BASE_DIR)/incallui/sessiondata/AndroidManifest.xml \
139 $(BASE_DIR)/incallui/video/impl/AndroidManifest.xml \
Eric Erfaniand8046e52017-04-06 09:41:50 -0700140 $(BASE_DIR)/incallui/video/protocol/AndroidManifest.xml \
Eric Erfanianccca3152017-02-22 16:32:36 -0800141 $(BASE_DIR)/incallui/wifi/AndroidManifest.xml \
Eric Erfanian8369df02017-05-03 10:27:13 -0700142 $(BASE_DIR)/voicemail/impl/AndroidManifest.xml \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700143
Chiao Cheng94b10b52012-08-17 16:59:12 -0700144
Eric Erfanianccca3152017-02-22 16:32:36 -0800145# Merge all manifest files.
146LOCAL_FULL_LIBS_MANIFEST_FILES := \
147 $(addprefix $(LOCAL_PATH)/, $(DIALER_MANIFEST_FILES))
148LOCAL_SRC_FILES := $(call all-java-files-under, $(SRC_DIRS))
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700149LOCAL_SRC_FILES := $(filter-out $(EXCLUDE_FILES),$(LOCAL_SRC_FILES))
Eric Erfanian8369df02017-05-03 10:27:13 -0700150LOCAL_SRC_FILES += $(call all-proto-files-under, $(SRC_DIRS))
151LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)
152
Eric Erfanianccca3152017-02-22 16:32:36 -0800153LOCAL_RESOURCE_DIR := \
154 $(addprefix $(LOCAL_PATH)/, $(RES_DIRS)) \
155 $(support_library_root_dir)/design/res \
Eric Erfanian90508232017-03-24 09:31:16 -0700156 $(support_library_root_dir)/transition/res \
Eric Erfanianccca3152017-02-22 16:32:36 -0800157 $(support_library_root_dir)/v7/appcompat/res \
158 $(support_library_root_dir)/v7/cardview/res \
159 $(support_library_root_dir)/v7/recyclerview/res
160
161# We specify each package explicitly to glob resource files.
Chiao Cheng94b10b52012-08-17 16:59:12 -0700162LOCAL_AAPT_FLAGS := \
Eric Erfanianccca3152017-02-22 16:32:36 -0800163 --auto-add-overlay \
Eric Erfanianccca3152017-02-22 16:32:36 -0800164 --extra-packages com.android.contacts.common \
165 --extra-packages com.android.dialer.app \
166 --extra-packages com.android.dialer.app.voicemail.error \
167 --extra-packages com.android.dialer.blocking \
168 --extra-packages com.android.dialer.callcomposer \
169 --extra-packages com.android.dialer.callcomposer \
170 --extra-packages com.android.dialer.callcomposer.camera \
171 --extra-packages com.android.dialer.callcomposer.camera.camerafocus \
172 --extra-packages com.android.dialer.callcomposer.cameraui \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700173 --extra-packages com.android.dialer.calldetails \
Eric Erfanian8369df02017-05-03 10:27:13 -0700174 --extra-packages com.android.dialer.calllog.ui \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700175 --extra-packages com.android.dialer.calllogutils \
Eric Erfanianccca3152017-02-22 16:32:36 -0800176 --extra-packages com.android.dialer.common \
Eric Erfanian8369df02017-05-03 10:27:13 -0700177 --extra-packages com.android.dialer.contactsfragment \
Eric Erfanianccca3152017-02-22 16:32:36 -0800178 --extra-packages com.android.dialer.dialpadview \
179 --extra-packages com.android.dialer.interactions \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700180 --extra-packages com.android.dialer.notification \
181 --extra-packages com.android.dialer.oem \
Eric Erfanianccca3152017-02-22 16:32:36 -0800182 --extra-packages com.android.dialer.phonenumberutil \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700183 --extra-packages com.android.dialer.postcall \
Eric Erfanianccca3152017-02-22 16:32:36 -0800184 --extra-packages com.android.dialer.shortcuts \
Eric Erfaniand8046e52017-04-06 09:41:50 -0700185 --extra-packages com.android.dialer.speeddial \
Eric Erfanianccca3152017-02-22 16:32:36 -0800186 --extra-packages com.android.dialer.util \
187 --extra-packages com.android.dialer.voicemailstatus \
188 --extra-packages com.android.dialer.widget \
189 --extra-packages com.android.incallui \
190 --extra-packages com.android.incallui.answer.impl \
191 --extra-packages com.android.incallui.answer.impl.affordance \
192 --extra-packages com.android.incallui.answer.impl.affordance \
193 --extra-packages com.android.incallui.answer.impl.answermethod \
194 --extra-packages com.android.incallui.answer.impl.hint \
195 --extra-packages com.android.incallui.audioroute \
196 --extra-packages com.android.incallui.autoresizetext \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700197 --extra-packages com.android.incallui.calllocation \
198 --extra-packages com.android.incallui.calllocation.impl \
Eric Erfanianccca3152017-02-22 16:32:36 -0800199 --extra-packages com.android.incallui.commontheme \
200 --extra-packages com.android.incallui.contactgrid \
201 --extra-packages com.android.incallui.hold \
202 --extra-packages com.android.incallui.incall.impl \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700203 --extra-packages com.android.incallui.maps.impl \
Eric Erfanianccca3152017-02-22 16:32:36 -0800204 --extra-packages com.android.incallui.sessiondata \
205 --extra-packages com.android.incallui.video \
206 --extra-packages com.android.incallui.video.impl \
207 --extra-packages com.android.incallui.wifi \
208 --extra-packages com.android.phone.common \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700209 --extra-packages com.android.voicemail \
210 --extra-packages com.android.voicemail.impl \
211 --extra-packages com.android.voicemail.impl.fetch \
212 --extra-packages com.android.voicemail.impl.settings \
213 --extra-packages com.android.voicemail.settings \
Eric Erfanianccca3152017-02-22 16:32:36 -0800214 --extra-packages me.leolin.shortcutbadger
Chiao Cheng94b10b52012-08-17 16:59:12 -0700215
Chiao Cheng94b10b52012-08-17 16:59:12 -0700216LOCAL_STATIC_JAVA_LIBRARIES := \
Eric Erfanianccca3152017-02-22 16:32:36 -0800217 android-common \
Eric Erfanianccca3152017-02-22 16:32:36 -0800218 com.android.vcard \
Eric Erfaniancdb1edf2017-03-29 10:20:40 -0700219 dialer-commons-io-target \
Eric Erfanian90508232017-03-24 09:31:16 -0700220 dialer-dagger2-target \
221 dialer-disklrucache-target \
222 dialer-gifdecoder-target \
223 dialer-glide-target \
224 dialer-guava-target \
225 dialer-javax-annotation-api-target \
226 dialer-javax-inject-target \
227 dialer-libshortcutbadger-target \
Eric Erfanian8369df02017-05-03 10:27:13 -0700228 dialer-mime4j-core-target \
229 dialer-mime4j-dom-target \
Eric Erfanianccca3152017-02-22 16:32:36 -0800230 jsr305 \
231 libphonenumber \
Eric Erfaniancdb1edf2017-03-29 10:20:40 -0700232 volley \
Chiao Cheng94b10b52012-08-17 16:59:12 -0700233
Alan Viveretteb5870be2017-04-26 11:15:10 -0400234LOCAL_STATIC_ANDROID_LIBRARIES := \
235 android-support-design \
236 android-support-transition \
237 android-support-v13 \
238 android-support-v4 \
239 android-support-v7-appcompat \
240 android-support-v7-cardview \
241 android-support-v7-recyclerview \
242
Eric Erfanianccca3152017-02-22 16:32:36 -0800243LOCAL_JAVA_LIBRARIES := \
Eric Erfanian90508232017-03-24 09:31:16 -0700244 org.apache.http.legacy \
245 dialer-auto-value \
Eric Erfanianccca3152017-02-22 16:32:36 -0800246
247# Libraries needed by the compiler (JACK) to generate code.
248PROCESSOR_LIBRARIES_TARGET := \
Eric Erfanian90508232017-03-24 09:31:16 -0700249 dialer-dagger2-compiler \
Eric Erfanianccca3152017-02-22 16:32:36 -0800250 dialer-dagger2 \
251 dialer-dagger2-producers \
252 dialer-guava \
253 dialer-javax-annotation-api \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700254 dialer-javax-inject \
Eric Erfanian90508232017-03-24 09:31:16 -0700255 dialer-auto-value \
Eric Erfanianccca3152017-02-22 16:32:36 -0800256
257# Resolve the jar paths.
258PROCESSOR_JARS := $(call java-lib-deps, $(PROCESSOR_LIBRARIES_TARGET))
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700259# Necessary for annotation processors to work correctly.
Eric Erfanianccca3152017-02-22 16:32:36 -0800260LOCAL_ADDITIONAL_DEPENDENCIES += $(PROCESSOR_JARS)
261
262LOCAL_JACK_FLAGS += --processorpath $(call normalize-path-list,$(PROCESSOR_JARS))
Eric Erfanian90508232017-03-24 09:31:16 -0700263LOCAL_JAVACFLAGS += -processorpath $(call normalize-path-list,$(PROCESSOR_JARS))
Chiao Cheng94b10b52012-08-17 16:59:12 -0700264
Eric Erfanian90508232017-03-24 09:31:16 -0700265# Proguard includes
266LOCAL_PROGUARD_FLAG_FILES := \
267 java/com/android/dialer/common/proguard.flags \
268 java/com/android/dialer/proguard/proguard_base.flags \
269 java/com/android/dialer/proguard/proguard.flags \
270 java/com/android/dialer/proguard/proguard_release.flags \
271 java/com/android/incallui/answer/impl/proguard.flags
Colin Crossf939e092017-04-05 22:13:40 -0700272LOCAL_PROGUARD_ENABLED := custom
273
274ifdef LOCAL_JACK_ENABLED
275# Bug: 37077388
276LOCAL_PROGUARD_ENABLED += optimization
277endif
Chiao Cheng94b10b52012-08-17 16:59:12 -0700278
Ta-wei Yen6640e552017-04-21 15:33:24 -0700279LOCAL_SDK_VERSION := system_current
Eric Erfanianccca3152017-02-22 16:32:36 -0800280LOCAL_MODULE_TAGS := optional
281LOCAL_PACKAGE_NAME := Dialer
282LOCAL_CERTIFICATE := shared
283LOCAL_PRIVILEGED_MODULE := true
Eric Erfanian8369df02017-05-03 10:27:13 -0700284LOCAL_USE_AAPT2 := true
285
286# b/37483961 - Jack Not Compiling Dagger Class Properly
287LOCAL_JACK_ENABLED := javac_frontend
288
Chiao Cheng94b10b52012-08-17 16:59:12 -0700289include $(BUILD_PACKAGE)
290
Eric Erfanianccca3152017-02-22 16:32:36 -0800291# Cleanup local state
292BASE_DIR :=
293SRC_DIRS :=
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700294EXCLUDE_FILES :=
Eric Erfanianccca3152017-02-22 16:32:36 -0800295RES_DIRS :=
296DIALER_MANIFEST_FILES :=
297PROCESSOR_LIBRARIES_TARGET :=
298PROCESSOR_JARS :=
299
300# Create references to prebuilt libraries.
301include $(CLEAR_VARS)
302
303LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \
Eric Erfanian8369df02017-05-03 10:27:13 -0700304 dialer-dagger2-compiler:../../../prebuilts/tools/common/m2/repository/com/google/dagger/dagger-compiler/2.7/dagger-compiler-2.7$(COMMON_JAVA_PACKAGE_SUFFIX) \
Eric Erfanian90508232017-03-24 09:31:16 -0700305 dialer-auto-value:../../../prebuilts/tools/common/m2/repository/com/google/auto/value/auto-value/1.3/auto-value-1.3$(COMMON_JAVA_PACKAGE_SUFFIX) \
Eric Erfanian8369df02017-05-03 10:27:13 -0700306 dialer-dagger2:../../../prebuilts/tools/common/m2/repository/com/google/dagger/dagger/2.7/dagger-2.7$(COMMON_JAVA_PACKAGE_SUFFIX) \
307 dialer-dagger2-producers:../../../prebuilts/tools/common/m2/repository/com/google/dagger/dagger-producers/2.7/dagger-producers-2.7$(COMMON_JAVA_PACKAGE_SUFFIX) \
Eric Erfanian90508232017-03-24 09:31:16 -0700308 dialer-guava:../../../prebuilts/tools/common/m2/repository/com/google/guava/guava/20.0/guava-20.0$(COMMON_JAVA_PACKAGE_SUFFIX) \
309 dialer-javax-annotation-api:../../../prebuilts/tools/common/m2/repository/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2$(COMMON_JAVA_PACKAGE_SUFFIX) \
310 dialer-javax-inject:../../../prebuilts/tools/common/m2/repository/javax/inject/javax.inject/1/javax.inject-1$(COMMON_JAVA_PACKAGE_SUFFIX)
Eric Erfanianccca3152017-02-22 16:32:36 -0800311
312include $(BUILD_MULTI_PREBUILT)
313
Eric Erfanian90508232017-03-24 09:31:16 -0700314# Enumerate target prebuilts to avoid linker warnings like
315# Dialer (java:sdk) should not link to dialer-guava (java:platform)
316include $(CLEAR_VARS)
317
318LOCAL_MODULE_CLASS := JAVA_LIBRARIES
319LOCAL_MODULE := dialer-guava-target
320LOCAL_SDK_VERSION := current
321LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/com/google/guava/guava/20.0/guava-20.0$(COMMON_JAVA_PACKAGE_SUFFIX)
322LOCAL_UNINSTALLABLE_MODULE := true
323
324include $(BUILD_PREBUILT)
325
326include $(CLEAR_VARS)
327
328LOCAL_MODULE_CLASS := JAVA_LIBRARIES
329LOCAL_MODULE := dialer-dagger2-target
330LOCAL_SDK_VERSION := current
Eric Erfanian8369df02017-05-03 10:27:13 -0700331LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/com/google/dagger/dagger/2.7/dagger-2.7$(COMMON_JAVA_PACKAGE_SUFFIX)
Eric Erfanian90508232017-03-24 09:31:16 -0700332LOCAL_UNINSTALLABLE_MODULE := true
333
334include $(BUILD_PREBUILT)
335
336include $(CLEAR_VARS)
337
338LOCAL_MODULE_CLASS := JAVA_LIBRARIES
339LOCAL_MODULE := dialer-disklrucache-target
340LOCAL_SDK_VERSION := current
341LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/disklrucache/1.0.0-SNAPSHOT/disklrucache-1.0.0-SNAPSHOT$(COMMON_JAVA_PACKAGE_SUFFIX)
342LOCAL_UNINSTALLABLE_MODULE := true
343
344include $(BUILD_PREBUILT)
345
346include $(CLEAR_VARS)
347
348LOCAL_MODULE_CLASS := JAVA_LIBRARIES
349LOCAL_MODULE := dialer-gifdecoder-target
350LOCAL_SDK_VERSION := current
351LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/gifdecoder/1.0.0-SNAPSHOT/gifdecoder-1.0.0-SNAPSHOT$(COMMON_JAVA_PACKAGE_SUFFIX)
352LOCAL_UNINSTALLABLE_MODULE := true
353
354include $(BUILD_PREBUILT)
355
356include $(CLEAR_VARS)
357
358LOCAL_MODULE_CLASS := JAVA_LIBRARIES
359LOCAL_MODULE := dialer-glide-target
360LOCAL_SDK_VERSION := current
361LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/glide/4.0.0-SNAPSHOT/glide-4.0.0-SNAPSHOT$(COMMON_JAVA_PACKAGE_SUFFIX)
362LOCAL_UNINSTALLABLE_MODULE := true
363
364include $(BUILD_PREBUILT)
365
366include $(CLEAR_VARS)
367
368LOCAL_MODULE_CLASS := JAVA_LIBRARIES
369LOCAL_MODULE := dialer-javax-annotation-api-target
370LOCAL_SDK_VERSION := current
371LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2$(COMMON_JAVA_PACKAGE_SUFFIX)
372LOCAL_UNINSTALLABLE_MODULE := true
373
374include $(BUILD_PREBUILT)
375
376include $(CLEAR_VARS)
377
378LOCAL_MODULE_CLASS := JAVA_LIBRARIES
379LOCAL_MODULE := dialer-libshortcutbadger-target
380LOCAL_SDK_VERSION := current
381LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/me/leolin/ShortcutBadger/1.1.13/ShortcutBadger-1.1.13$(COMMON_JAVA_PACKAGE_SUFFIX)
382LOCAL_UNINSTALLABLE_MODULE := true
383
384include $(BUILD_PREBUILT)
385
386include $(CLEAR_VARS)
387
388LOCAL_MODULE_CLASS := JAVA_LIBRARIES
389LOCAL_MODULE := dialer-javax-inject-target
390LOCAL_SDK_VERSION := current
391LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/javax/inject/javax.inject/1/javax.inject-1$(COMMON_JAVA_PACKAGE_SUFFIX)
392LOCAL_UNINSTALLABLE_MODULE := true
393
394include $(BUILD_PREBUILT)
395
Eric Erfanianccca3152017-02-22 16:32:36 -0800396include $(CLEAR_VARS)
Eric Erfaniancdb1edf2017-03-29 10:20:40 -0700397
Eric Erfaniancdb1edf2017-03-29 10:20:40 -0700398LOCAL_MODULE_CLASS := JAVA_LIBRARIES
399LOCAL_MODULE := dialer-commons-io-target
400LOCAL_SDK_VERSION := current
401LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/commons-io/commons-io/2.4/commons-io-2.4$(COMMON_JAVA_PACKAGE_SUFFIX)
402LOCAL_UNINSTALLABLE_MODULE := true
403
404include $(BUILD_PREBUILT)
405
406include $(CLEAR_VARS)
Eric Erfanian8369df02017-05-03 10:27:13 -0700407
408LOCAL_MODULE_CLASS := JAVA_LIBRARIES
409LOCAL_MODULE := dialer-mime4j-core-target
410LOCAL_SDK_VERSION := current
411LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/org/apache/james/apache-mime4j-core/0.7.2/apache-mime4j-core-0.7.2$(COMMON_JAVA_PACKAGE_SUFFIX)
412LOCAL_UNINSTALLABLE_MODULE := true
413
414include $(BUILD_PREBUILT)
415
416include $(CLEAR_VARS)
417
418LOCAL_MODULE_CLASS := JAVA_LIBRARIES
419LOCAL_MODULE := dialer-mime4j-dom-target
420LOCAL_SDK_VERSION := current
421LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/org/apache/james/apache-mime4j-dom/0.7.2/apache-mime4j-dom-0.7.2$(COMMON_JAVA_PACKAGE_SUFFIX)
422LOCAL_UNINSTALLABLE_MODULE := true
423
424include $(BUILD_PREBUILT)
425
426include $(CLEAR_VARS)