blob: e1e9ef5dae0625dce3ff876735efdce77abddd63 [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
Eric Erfanianccca3152017-02-22 16:32:36 -080010# The base directory for Dialer sources.
11BASE_DIR := java/com/android
Jay Shrauner0f68a712014-07-16 16:13:57 -070012
Eric Erfanianccca3152017-02-22 16:32:36 -080013# Primary dialer module sources.
14SRC_DIRS := \
15 $(BASE_DIR)/contacts/common \
16 $(BASE_DIR)/dialer \
17 $(BASE_DIR)/incallui \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070018 $(BASE_DIR)/voicemail
19
20# Exclude files incompatible with AOSP.
21EXCLUDE_FILES := \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070022 $(BASE_DIR)/incallui/calllocation/impl/AuthException.java \
23 $(BASE_DIR)/incallui/calllocation/impl/CallLocationImpl.java \
24 $(BASE_DIR)/incallui/calllocation/impl/CallLocationModule.java \
25 $(BASE_DIR)/incallui/calllocation/impl/DownloadMapImageTask.java \
26 $(BASE_DIR)/incallui/calllocation/impl/GoogleLocationSettingHelper.java \
27 $(BASE_DIR)/incallui/calllocation/impl/HttpFetcher.java \
28 $(BASE_DIR)/incallui/calllocation/impl/LocationFragment.java \
29 $(BASE_DIR)/incallui/calllocation/impl/LocationHelper.java \
30 $(BASE_DIR)/incallui/calllocation/impl/LocationPresenter.java \
31 $(BASE_DIR)/incallui/calllocation/impl/LocationUrlBuilder.java \
32 $(BASE_DIR)/incallui/calllocation/impl/ReverseGeocodeTask.java \
33 $(BASE_DIR)/incallui/calllocation/impl/TrafficStatsTags.java \
34 $(BASE_DIR)/incallui/maps/impl/MapsImpl.java \
35 $(BASE_DIR)/incallui/maps/impl/MapsModule.java \
36 $(BASE_DIR)/incallui/maps/impl/StaticMapFragment.java
Chiao Cheng94b10b52012-08-17 16:59:12 -070037
Eric Erfanianccca3152017-02-22 16:32:36 -080038# All Dialers resources.
39# find . -type d -name "res" | uniq | sort
40RES_DIRS := \
41 assets/product/res \
42 assets/quantum/res \
43 $(BASE_DIR)/contacts/common/res \
44 $(BASE_DIR)/dialer/app/res \
45 $(BASE_DIR)/dialer/app/voicemail/error/res \
46 $(BASE_DIR)/dialer/blocking/res \
47 $(BASE_DIR)/dialer/callcomposer/camera/camerafocus/res \
48 $(BASE_DIR)/dialer/callcomposer/cameraui/res \
49 $(BASE_DIR)/dialer/callcomposer/res \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070050 $(BASE_DIR)/dialer/calldetails/res \
Eric Erfanian8369df02017-05-03 10:27:13 -070051 $(BASE_DIR)/dialer/calllog/ui/res \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070052 $(BASE_DIR)/dialer/calllogutils/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080053 $(BASE_DIR)/dialer/common/res \
Eric Erfanian8369df02017-05-03 10:27:13 -070054 $(BASE_DIR)/dialer/contactsfragment/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080055 $(BASE_DIR)/dialer/dialpadview/res \
56 $(BASE_DIR)/dialer/interactions/res \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070057 $(BASE_DIR)/dialer/notification/res \
58 $(BASE_DIR)/dialer/oem/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080059 $(BASE_DIR)/dialer/phonenumberutil/res \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070060 $(BASE_DIR)/dialer/postcall/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080061 $(BASE_DIR)/dialer/shortcuts/res \
Eric Erfaniand8046e52017-04-06 09:41:50 -070062 $(BASE_DIR)/dialer/speeddial/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080063 $(BASE_DIR)/dialer/theme/res \
64 $(BASE_DIR)/dialer/util/res \
65 $(BASE_DIR)/dialer/voicemailstatus/res \
66 $(BASE_DIR)/dialer/widget/res \
67 $(BASE_DIR)/incallui/answer/impl/affordance/res \
68 $(BASE_DIR)/incallui/answer/impl/answermethod/res \
69 $(BASE_DIR)/incallui/answer/impl/hint/res \
70 $(BASE_DIR)/incallui/answer/impl/res \
71 $(BASE_DIR)/incallui/audioroute/res \
72 $(BASE_DIR)/incallui/autoresizetext/res \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070073 $(BASE_DIR)/incallui/calllocation/impl/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080074 $(BASE_DIR)/incallui/commontheme/res \
75 $(BASE_DIR)/incallui/contactgrid/res \
76 $(BASE_DIR)/incallui/hold/res \
77 $(BASE_DIR)/incallui/incall/impl/res \
78 $(BASE_DIR)/incallui/res \
79 $(BASE_DIR)/incallui/sessiondata/res \
80 $(BASE_DIR)/incallui/video/impl/res \
Eric Erfaniand8046e52017-04-06 09:41:50 -070081 $(BASE_DIR)/incallui/video/protocol/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080082 $(BASE_DIR)/incallui/wifi/res \
Eric Erfanian8369df02017-05-03 10:27:13 -070083 $(BASE_DIR)/voicemail/impl/res \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070084
Ta-wei Yen90a13e92016-01-11 13:00:53 -080085
Eric Erfanianccca3152017-02-22 16:32:36 -080086# Dialer manifest files to merge.
87# find . -type f -name "AndroidManifest.xml" | uniq | sort
88DIALER_MANIFEST_FILES += \
89 $(BASE_DIR)/contacts/common/AndroidManifest.xml \
90 $(BASE_DIR)/dialer/app/AndroidManifest.xml \
91 $(BASE_DIR)/dialer/app/manifests/activities/AndroidManifest.xml \
92 $(BASE_DIR)/dialer/app/voicemail/error/AndroidManifest.xml \
93 $(BASE_DIR)/dialer/backup/AndroidManifest.xml \
94 $(BASE_DIR)/dialer/blocking/AndroidManifest.xml \
95 $(BASE_DIR)/dialer/callcomposer/AndroidManifest.xml \
96 $(BASE_DIR)/dialer/callcomposer/camera/AndroidManifest.xml \
97 $(BASE_DIR)/dialer/callcomposer/camera/camerafocus/AndroidManifest.xml \
98 $(BASE_DIR)/dialer/callcomposer/cameraui/AndroidManifest.xml \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070099 $(BASE_DIR)/dialer/calldetails/AndroidManifest.xml \
Eric Erfanian8369df02017-05-03 10:27:13 -0700100 $(BASE_DIR)/dialer/calllog/ui/AndroidManifest.xml \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700101 $(BASE_DIR)/dialer/calllogutils/AndroidManifest.xml \
Eric Erfanianccca3152017-02-22 16:32:36 -0800102 $(BASE_DIR)/dialer/common/AndroidManifest.xml \
Eric Erfanian8369df02017-05-03 10:27:13 -0700103 $(BASE_DIR)/dialer/contactsfragment/AndroidManifest.xml \
Eric Erfanianccca3152017-02-22 16:32:36 -0800104 $(BASE_DIR)/dialer/dialpadview/AndroidManifest.xml \
105 $(BASE_DIR)/dialer/interactions/AndroidManifest.xml \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700106 $(BASE_DIR)/dialer/notification/AndroidManifest.xml \
107 $(BASE_DIR)/dialer/oem/AndroidManifest.xml \
Eric Erfanianccca3152017-02-22 16:32:36 -0800108 $(BASE_DIR)/dialer/phonenumberutil/AndroidManifest.xml \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700109 $(BASE_DIR)/dialer/postcall/AndroidManifest.xml \
Eric Erfanianccca3152017-02-22 16:32:36 -0800110 $(BASE_DIR)/dialer/shortcuts/AndroidManifest.xml \
111 $(BASE_DIR)/dialer/simulator/impl/AndroidManifest.xml \
Eric Erfaniand8046e52017-04-06 09:41:50 -0700112 $(BASE_DIR)/dialer/speeddial/AndroidManifest.xml \
Eric Erfanianccca3152017-02-22 16:32:36 -0800113 $(BASE_DIR)/dialer/theme/AndroidManifest.xml \
114 $(BASE_DIR)/dialer/util/AndroidManifest.xml \
115 $(BASE_DIR)/dialer/voicemailstatus/AndroidManifest.xml \
116 $(BASE_DIR)/dialer/widget/AndroidManifest.xml \
117 $(BASE_DIR)/incallui/AndroidManifest.xml \
118 $(BASE_DIR)/incallui/answer/impl/affordance/AndroidManifest.xml \
119 $(BASE_DIR)/incallui/answer/impl/AndroidManifest.xml \
120 $(BASE_DIR)/incallui/answer/impl/answermethod/AndroidManifest.xml \
121 $(BASE_DIR)/incallui/answer/impl/hint/AndroidManifest.xml \
122 $(BASE_DIR)/incallui/audioroute/AndroidManifest.xml \
123 $(BASE_DIR)/incallui/autoresizetext/AndroidManifest.xml \
124 $(BASE_DIR)/incallui/commontheme/AndroidManifest.xml \
125 $(BASE_DIR)/incallui/contactgrid/AndroidManifest.xml \
126 $(BASE_DIR)/incallui/hold/AndroidManifest.xml \
127 $(BASE_DIR)/incallui/incall/impl/AndroidManifest.xml \
128 $(BASE_DIR)/incallui/sessiondata/AndroidManifest.xml \
129 $(BASE_DIR)/incallui/video/impl/AndroidManifest.xml \
Eric Erfaniand8046e52017-04-06 09:41:50 -0700130 $(BASE_DIR)/incallui/video/protocol/AndroidManifest.xml \
Eric Erfanianccca3152017-02-22 16:32:36 -0800131 $(BASE_DIR)/incallui/wifi/AndroidManifest.xml \
Eric Erfanian8369df02017-05-03 10:27:13 -0700132 $(BASE_DIR)/voicemail/impl/AndroidManifest.xml \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700133
Chiao Cheng94b10b52012-08-17 16:59:12 -0700134
Eric Erfanianccca3152017-02-22 16:32:36 -0800135# Merge all manifest files.
136LOCAL_FULL_LIBS_MANIFEST_FILES := \
137 $(addprefix $(LOCAL_PATH)/, $(DIALER_MANIFEST_FILES))
138LOCAL_SRC_FILES := $(call all-java-files-under, $(SRC_DIRS))
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700139LOCAL_SRC_FILES := $(filter-out $(EXCLUDE_FILES),$(LOCAL_SRC_FILES))
Eric Erfanian8369df02017-05-03 10:27:13 -0700140LOCAL_SRC_FILES += $(call all-proto-files-under, $(SRC_DIRS))
141LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)
142
Eric Erfanianccca3152017-02-22 16:32:36 -0800143LOCAL_RESOURCE_DIR := \
144 $(addprefix $(LOCAL_PATH)/, $(RES_DIRS)) \
Kirill Grouchnikovcb066862017-05-09 08:42:08 -0700145 $(SUPPORT_LIBRARY_ROOT)/core-ui/res \
146 $(SUPPORT_LIBRARY_ROOT)/design/res \
147 $(SUPPORT_LIBRARY_ROOT)/transition/res \
148 $(SUPPORT_LIBRARY_ROOT)/v7/appcompat/res \
149 $(SUPPORT_LIBRARY_ROOT)/v7/cardview/res \
150 $(SUPPORT_LIBRARY_ROOT)/v7/recyclerview/res
Eric Erfanianccca3152017-02-22 16:32:36 -0800151
152# We specify each package explicitly to glob resource files.
Chiao Cheng94b10b52012-08-17 16:59:12 -0700153LOCAL_AAPT_FLAGS := \
Eric Erfanianccca3152017-02-22 16:32:36 -0800154 --auto-add-overlay \
Kirill Grouchnikovcb066862017-05-09 08:42:08 -0700155 --extra-packages android.support.coreui \
Eric Erfanianccca3152017-02-22 16:32:36 -0800156 --extra-packages com.android.contacts.common \
157 --extra-packages com.android.dialer.app \
158 --extra-packages com.android.dialer.app.voicemail.error \
159 --extra-packages com.android.dialer.blocking \
160 --extra-packages com.android.dialer.callcomposer \
161 --extra-packages com.android.dialer.callcomposer \
162 --extra-packages com.android.dialer.callcomposer.camera \
163 --extra-packages com.android.dialer.callcomposer.camera.camerafocus \
164 --extra-packages com.android.dialer.callcomposer.cameraui \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700165 --extra-packages com.android.dialer.calldetails \
Eric Erfanian8369df02017-05-03 10:27:13 -0700166 --extra-packages com.android.dialer.calllog.ui \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700167 --extra-packages com.android.dialer.calllogutils \
Eric Erfanianccca3152017-02-22 16:32:36 -0800168 --extra-packages com.android.dialer.common \
Eric Erfanian8369df02017-05-03 10:27:13 -0700169 --extra-packages com.android.dialer.contactsfragment \
Eric Erfanianccca3152017-02-22 16:32:36 -0800170 --extra-packages com.android.dialer.dialpadview \
171 --extra-packages com.android.dialer.interactions \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700172 --extra-packages com.android.dialer.notification \
173 --extra-packages com.android.dialer.oem \
Eric Erfanianccca3152017-02-22 16:32:36 -0800174 --extra-packages com.android.dialer.phonenumberutil \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700175 --extra-packages com.android.dialer.postcall \
Eric Erfanianccca3152017-02-22 16:32:36 -0800176 --extra-packages com.android.dialer.shortcuts \
Eric Erfaniand8046e52017-04-06 09:41:50 -0700177 --extra-packages com.android.dialer.speeddial \
Eric Erfanianccca3152017-02-22 16:32:36 -0800178 --extra-packages com.android.dialer.util \
179 --extra-packages com.android.dialer.voicemailstatus \
180 --extra-packages com.android.dialer.widget \
181 --extra-packages com.android.incallui \
182 --extra-packages com.android.incallui.answer.impl \
183 --extra-packages com.android.incallui.answer.impl.affordance \
184 --extra-packages com.android.incallui.answer.impl.affordance \
185 --extra-packages com.android.incallui.answer.impl.answermethod \
186 --extra-packages com.android.incallui.answer.impl.hint \
187 --extra-packages com.android.incallui.audioroute \
188 --extra-packages com.android.incallui.autoresizetext \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700189 --extra-packages com.android.incallui.calllocation \
190 --extra-packages com.android.incallui.calllocation.impl \
Eric Erfanianccca3152017-02-22 16:32:36 -0800191 --extra-packages com.android.incallui.commontheme \
192 --extra-packages com.android.incallui.contactgrid \
193 --extra-packages com.android.incallui.hold \
194 --extra-packages com.android.incallui.incall.impl \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700195 --extra-packages com.android.incallui.maps.impl \
Eric Erfanianccca3152017-02-22 16:32:36 -0800196 --extra-packages com.android.incallui.sessiondata \
197 --extra-packages com.android.incallui.video \
198 --extra-packages com.android.incallui.video.impl \
199 --extra-packages com.android.incallui.wifi \
200 --extra-packages com.android.phone.common \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700201 --extra-packages com.android.voicemail \
202 --extra-packages com.android.voicemail.impl \
203 --extra-packages com.android.voicemail.impl.fetch \
204 --extra-packages com.android.voicemail.impl.settings \
205 --extra-packages com.android.voicemail.settings \
Eric Erfanianccca3152017-02-22 16:32:36 -0800206 --extra-packages me.leolin.shortcutbadger
Chiao Cheng94b10b52012-08-17 16:59:12 -0700207
Chiao Cheng94b10b52012-08-17 16:59:12 -0700208LOCAL_STATIC_JAVA_LIBRARIES := \
Eric Erfanianccca3152017-02-22 16:32:36 -0800209 android-common \
Eric Erfanianccca3152017-02-22 16:32:36 -0800210 com.android.vcard \
Eric Erfaniancdb1edf2017-03-29 10:20:40 -0700211 dialer-commons-io-target \
Eric Erfanian90508232017-03-24 09:31:16 -0700212 dialer-dagger2-target \
213 dialer-disklrucache-target \
214 dialer-gifdecoder-target \
215 dialer-glide-target \
216 dialer-guava-target \
217 dialer-javax-annotation-api-target \
218 dialer-javax-inject-target \
219 dialer-libshortcutbadger-target \
Eric Erfanian8369df02017-05-03 10:27:13 -0700220 dialer-mime4j-core-target \
221 dialer-mime4j-dom-target \
Eric Erfanianccca3152017-02-22 16:32:36 -0800222 jsr305 \
223 libphonenumber \
Eric Erfaniancdb1edf2017-03-29 10:20:40 -0700224 volley \
Chiao Cheng94b10b52012-08-17 16:59:12 -0700225
Alan Viveretteb5870be2017-04-26 11:15:10 -0400226LOCAL_STATIC_ANDROID_LIBRARIES := \
227 android-support-design \
228 android-support-transition \
229 android-support-v13 \
230 android-support-v4 \
231 android-support-v7-appcompat \
232 android-support-v7-cardview \
233 android-support-v7-recyclerview \
234
Eric Erfanianccca3152017-02-22 16:32:36 -0800235LOCAL_JAVA_LIBRARIES := \
Eric Erfanian90508232017-03-24 09:31:16 -0700236 org.apache.http.legacy \
237 dialer-auto-value \
Eric Erfanianccca3152017-02-22 16:32:36 -0800238
239# Libraries needed by the compiler (JACK) to generate code.
240PROCESSOR_LIBRARIES_TARGET := \
Eric Erfanian90508232017-03-24 09:31:16 -0700241 dialer-dagger2-compiler \
Eric Erfanianccca3152017-02-22 16:32:36 -0800242 dialer-dagger2 \
243 dialer-dagger2-producers \
244 dialer-guava \
245 dialer-javax-annotation-api \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700246 dialer-javax-inject \
Eric Erfanian90508232017-03-24 09:31:16 -0700247 dialer-auto-value \
Eric Erfanianccca3152017-02-22 16:32:36 -0800248
249# Resolve the jar paths.
250PROCESSOR_JARS := $(call java-lib-deps, $(PROCESSOR_LIBRARIES_TARGET))
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700251# Necessary for annotation processors to work correctly.
Eric Erfanianccca3152017-02-22 16:32:36 -0800252LOCAL_ADDITIONAL_DEPENDENCIES += $(PROCESSOR_JARS)
253
254LOCAL_JACK_FLAGS += --processorpath $(call normalize-path-list,$(PROCESSOR_JARS))
Eric Erfanian90508232017-03-24 09:31:16 -0700255LOCAL_JAVACFLAGS += -processorpath $(call normalize-path-list,$(PROCESSOR_JARS))
Chiao Cheng94b10b52012-08-17 16:59:12 -0700256
Eric Erfanian90508232017-03-24 09:31:16 -0700257# Proguard includes
258LOCAL_PROGUARD_FLAG_FILES := \
259 java/com/android/dialer/common/proguard.flags \
260 java/com/android/dialer/proguard/proguard_base.flags \
261 java/com/android/dialer/proguard/proguard.flags \
262 java/com/android/dialer/proguard/proguard_release.flags \
263 java/com/android/incallui/answer/impl/proguard.flags
Colin Crossf939e092017-04-05 22:13:40 -0700264LOCAL_PROGUARD_ENABLED := custom
265
266ifdef LOCAL_JACK_ENABLED
267# Bug: 37077388
268LOCAL_PROGUARD_ENABLED += optimization
269endif
Chiao Cheng94b10b52012-08-17 16:59:12 -0700270
Ta-wei Yen6640e552017-04-21 15:33:24 -0700271LOCAL_SDK_VERSION := system_current
Eric Erfanianccca3152017-02-22 16:32:36 -0800272LOCAL_MODULE_TAGS := optional
273LOCAL_PACKAGE_NAME := Dialer
274LOCAL_CERTIFICATE := shared
275LOCAL_PRIVILEGED_MODULE := true
Eric Erfanian8369df02017-05-03 10:27:13 -0700276LOCAL_USE_AAPT2 := true
277
278# b/37483961 - Jack Not Compiling Dagger Class Properly
279LOCAL_JACK_ENABLED := javac_frontend
280
Chiao Cheng94b10b52012-08-17 16:59:12 -0700281include $(BUILD_PACKAGE)
282
Eric Erfanianccca3152017-02-22 16:32:36 -0800283# Cleanup local state
284BASE_DIR :=
285SRC_DIRS :=
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700286EXCLUDE_FILES :=
Eric Erfanianccca3152017-02-22 16:32:36 -0800287RES_DIRS :=
288DIALER_MANIFEST_FILES :=
289PROCESSOR_LIBRARIES_TARGET :=
290PROCESSOR_JARS :=
291
292# Create references to prebuilt libraries.
293include $(CLEAR_VARS)
294
295LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \
Eric Erfanian8369df02017-05-03 10:27:13 -0700296 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 -0700297 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 -0700298 dialer-dagger2:../../../prebuilts/tools/common/m2/repository/com/google/dagger/dagger/2.7/dagger-2.7$(COMMON_JAVA_PACKAGE_SUFFIX) \
299 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 -0700300 dialer-guava:../../../prebuilts/tools/common/m2/repository/com/google/guava/guava/20.0/guava-20.0$(COMMON_JAVA_PACKAGE_SUFFIX) \
301 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) \
302 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 -0800303
304include $(BUILD_MULTI_PREBUILT)
305
Eric Erfanian90508232017-03-24 09:31:16 -0700306# Enumerate target prebuilts to avoid linker warnings like
307# Dialer (java:sdk) should not link to dialer-guava (java:platform)
308include $(CLEAR_VARS)
309
310LOCAL_MODULE_CLASS := JAVA_LIBRARIES
311LOCAL_MODULE := dialer-guava-target
312LOCAL_SDK_VERSION := current
313LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/com/google/guava/guava/20.0/guava-20.0$(COMMON_JAVA_PACKAGE_SUFFIX)
314LOCAL_UNINSTALLABLE_MODULE := true
315
316include $(BUILD_PREBUILT)
317
318include $(CLEAR_VARS)
319
320LOCAL_MODULE_CLASS := JAVA_LIBRARIES
321LOCAL_MODULE := dialer-dagger2-target
322LOCAL_SDK_VERSION := current
Eric Erfanian8369df02017-05-03 10:27:13 -0700323LOCAL_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 -0700324LOCAL_UNINSTALLABLE_MODULE := true
325
326include $(BUILD_PREBUILT)
327
328include $(CLEAR_VARS)
329
330LOCAL_MODULE_CLASS := JAVA_LIBRARIES
331LOCAL_MODULE := dialer-disklrucache-target
332LOCAL_SDK_VERSION := current
333LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/disklrucache/1.0.0-SNAPSHOT/disklrucache-1.0.0-SNAPSHOT$(COMMON_JAVA_PACKAGE_SUFFIX)
334LOCAL_UNINSTALLABLE_MODULE := true
335
336include $(BUILD_PREBUILT)
337
338include $(CLEAR_VARS)
339
340LOCAL_MODULE_CLASS := JAVA_LIBRARIES
341LOCAL_MODULE := dialer-gifdecoder-target
342LOCAL_SDK_VERSION := current
343LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/gifdecoder/1.0.0-SNAPSHOT/gifdecoder-1.0.0-SNAPSHOT$(COMMON_JAVA_PACKAGE_SUFFIX)
344LOCAL_UNINSTALLABLE_MODULE := true
345
346include $(BUILD_PREBUILT)
347
348include $(CLEAR_VARS)
349
350LOCAL_MODULE_CLASS := JAVA_LIBRARIES
351LOCAL_MODULE := dialer-glide-target
352LOCAL_SDK_VERSION := current
353LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/glide/4.0.0-SNAPSHOT/glide-4.0.0-SNAPSHOT$(COMMON_JAVA_PACKAGE_SUFFIX)
354LOCAL_UNINSTALLABLE_MODULE := true
355
356include $(BUILD_PREBUILT)
357
358include $(CLEAR_VARS)
359
360LOCAL_MODULE_CLASS := JAVA_LIBRARIES
361LOCAL_MODULE := dialer-javax-annotation-api-target
362LOCAL_SDK_VERSION := current
363LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2$(COMMON_JAVA_PACKAGE_SUFFIX)
364LOCAL_UNINSTALLABLE_MODULE := true
365
366include $(BUILD_PREBUILT)
367
368include $(CLEAR_VARS)
369
370LOCAL_MODULE_CLASS := JAVA_LIBRARIES
371LOCAL_MODULE := dialer-libshortcutbadger-target
372LOCAL_SDK_VERSION := current
373LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/me/leolin/ShortcutBadger/1.1.13/ShortcutBadger-1.1.13$(COMMON_JAVA_PACKAGE_SUFFIX)
374LOCAL_UNINSTALLABLE_MODULE := true
375
376include $(BUILD_PREBUILT)
377
378include $(CLEAR_VARS)
379
380LOCAL_MODULE_CLASS := JAVA_LIBRARIES
381LOCAL_MODULE := dialer-javax-inject-target
382LOCAL_SDK_VERSION := current
383LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/javax/inject/javax.inject/1/javax.inject-1$(COMMON_JAVA_PACKAGE_SUFFIX)
384LOCAL_UNINSTALLABLE_MODULE := true
385
386include $(BUILD_PREBUILT)
387
Eric Erfanianccca3152017-02-22 16:32:36 -0800388include $(CLEAR_VARS)
Eric Erfaniancdb1edf2017-03-29 10:20:40 -0700389
Eric Erfaniancdb1edf2017-03-29 10:20:40 -0700390LOCAL_MODULE_CLASS := JAVA_LIBRARIES
391LOCAL_MODULE := dialer-commons-io-target
392LOCAL_SDK_VERSION := current
393LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/commons-io/commons-io/2.4/commons-io-2.4$(COMMON_JAVA_PACKAGE_SUFFIX)
394LOCAL_UNINSTALLABLE_MODULE := true
395
396include $(BUILD_PREBUILT)
397
398include $(CLEAR_VARS)
Eric Erfanian8369df02017-05-03 10:27:13 -0700399
400LOCAL_MODULE_CLASS := JAVA_LIBRARIES
401LOCAL_MODULE := dialer-mime4j-core-target
402LOCAL_SDK_VERSION := current
403LOCAL_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)
404LOCAL_UNINSTALLABLE_MODULE := true
405
406include $(BUILD_PREBUILT)
407
408include $(CLEAR_VARS)
409
410LOCAL_MODULE_CLASS := JAVA_LIBRARIES
411LOCAL_MODULE := dialer-mime4j-dom-target
412LOCAL_SDK_VERSION := current
413LOCAL_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)
414LOCAL_UNINSTALLABLE_MODULE := true
415
416include $(BUILD_PREBUILT)
417
418include $(CLEAR_VARS)