blob: f46e4d839f3c679a7729d31a61fbc15707fb62a9 [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
Kirill Grouchnikovfa340972017-05-16 01:32:43 +000010ifeq ($(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
Eric Erfanianccca3152017-02-22 16:32:36 -080044# All Dialers resources.
45# find . -type d -name "res" | uniq | sort
46RES_DIRS := \
47 assets/product/res \
48 assets/quantum/res \
49 $(BASE_DIR)/contacts/common/res \
Eric Erfanianc857f902017-05-15 14:05:33 -070050 $(BASE_DIR)/dialer/about/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080051 $(BASE_DIR)/dialer/app/res \
52 $(BASE_DIR)/dialer/app/voicemail/error/res \
53 $(BASE_DIR)/dialer/blocking/res \
54 $(BASE_DIR)/dialer/callcomposer/camera/camerafocus/res \
55 $(BASE_DIR)/dialer/callcomposer/cameraui/res \
56 $(BASE_DIR)/dialer/callcomposer/res \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070057 $(BASE_DIR)/dialer/calldetails/res \
Eric Erfanian8369df02017-05-03 10:27:13 -070058 $(BASE_DIR)/dialer/calllog/ui/res \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070059 $(BASE_DIR)/dialer/calllogutils/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080060 $(BASE_DIR)/dialer/common/res \
Eric Erfanian8369df02017-05-03 10:27:13 -070061 $(BASE_DIR)/dialer/contactsfragment/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080062 $(BASE_DIR)/dialer/dialpadview/res \
63 $(BASE_DIR)/dialer/interactions/res \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070064 $(BASE_DIR)/dialer/notification/res \
65 $(BASE_DIR)/dialer/oem/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080066 $(BASE_DIR)/dialer/phonenumberutil/res \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070067 $(BASE_DIR)/dialer/postcall/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080068 $(BASE_DIR)/dialer/shortcuts/res \
Eric Erfaniand8046e52017-04-06 09:41:50 -070069 $(BASE_DIR)/dialer/speeddial/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080070 $(BASE_DIR)/dialer/theme/res \
71 $(BASE_DIR)/dialer/util/res \
72 $(BASE_DIR)/dialer/voicemailstatus/res \
73 $(BASE_DIR)/dialer/widget/res \
74 $(BASE_DIR)/incallui/answer/impl/affordance/res \
75 $(BASE_DIR)/incallui/answer/impl/answermethod/res \
76 $(BASE_DIR)/incallui/answer/impl/hint/res \
77 $(BASE_DIR)/incallui/answer/impl/res \
78 $(BASE_DIR)/incallui/audioroute/res \
79 $(BASE_DIR)/incallui/autoresizetext/res \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070080 $(BASE_DIR)/incallui/calllocation/impl/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080081 $(BASE_DIR)/incallui/commontheme/res \
82 $(BASE_DIR)/incallui/contactgrid/res \
83 $(BASE_DIR)/incallui/hold/res \
84 $(BASE_DIR)/incallui/incall/impl/res \
85 $(BASE_DIR)/incallui/res \
86 $(BASE_DIR)/incallui/sessiondata/res \
Eric Erfanianc857f902017-05-15 14:05:33 -070087 $(BASE_DIR)/incallui/telecomeventui/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080088 $(BASE_DIR)/incallui/video/impl/res \
Eric Erfaniand8046e52017-04-06 09:41:50 -070089 $(BASE_DIR)/incallui/video/protocol/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080090 $(BASE_DIR)/incallui/wifi/res \
Eric Erfanian8369df02017-05-03 10:27:13 -070091 $(BASE_DIR)/voicemail/impl/res \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070092
Ta-wei Yen90a13e92016-01-11 13:00:53 -080093
Eric Erfanianccca3152017-02-22 16:32:36 -080094# Dialer manifest files to merge.
95# find . -type f -name "AndroidManifest.xml" | uniq | sort
96DIALER_MANIFEST_FILES += \
97 $(BASE_DIR)/contacts/common/AndroidManifest.xml \
Eric Erfanianc857f902017-05-15 14:05:33 -070098 $(BASE_DIR)/dialer/about/AndroidManifest.xml \
Eric Erfanianccca3152017-02-22 16:32:36 -080099 $(BASE_DIR)/dialer/app/AndroidManifest.xml \
100 $(BASE_DIR)/dialer/app/manifests/activities/AndroidManifest.xml \
101 $(BASE_DIR)/dialer/app/voicemail/error/AndroidManifest.xml \
102 $(BASE_DIR)/dialer/backup/AndroidManifest.xml \
103 $(BASE_DIR)/dialer/blocking/AndroidManifest.xml \
104 $(BASE_DIR)/dialer/callcomposer/AndroidManifest.xml \
105 $(BASE_DIR)/dialer/callcomposer/camera/AndroidManifest.xml \
106 $(BASE_DIR)/dialer/callcomposer/camera/camerafocus/AndroidManifest.xml \
107 $(BASE_DIR)/dialer/callcomposer/cameraui/AndroidManifest.xml \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700108 $(BASE_DIR)/dialer/calldetails/AndroidManifest.xml \
Eric Erfanian8369df02017-05-03 10:27:13 -0700109 $(BASE_DIR)/dialer/calllog/ui/AndroidManifest.xml \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700110 $(BASE_DIR)/dialer/calllogutils/AndroidManifest.xml \
Eric Erfanianccca3152017-02-22 16:32:36 -0800111 $(BASE_DIR)/dialer/common/AndroidManifest.xml \
Eric Erfanian8369df02017-05-03 10:27:13 -0700112 $(BASE_DIR)/dialer/contactsfragment/AndroidManifest.xml \
Eric Erfanianccca3152017-02-22 16:32:36 -0800113 $(BASE_DIR)/dialer/dialpadview/AndroidManifest.xml \
114 $(BASE_DIR)/dialer/interactions/AndroidManifest.xml \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700115 $(BASE_DIR)/dialer/notification/AndroidManifest.xml \
116 $(BASE_DIR)/dialer/oem/AndroidManifest.xml \
Eric Erfanianccca3152017-02-22 16:32:36 -0800117 $(BASE_DIR)/dialer/phonenumberutil/AndroidManifest.xml \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700118 $(BASE_DIR)/dialer/postcall/AndroidManifest.xml \
Eric Erfanianccca3152017-02-22 16:32:36 -0800119 $(BASE_DIR)/dialer/shortcuts/AndroidManifest.xml \
120 $(BASE_DIR)/dialer/simulator/impl/AndroidManifest.xml \
Eric Erfaniand8046e52017-04-06 09:41:50 -0700121 $(BASE_DIR)/dialer/speeddial/AndroidManifest.xml \
Eric Erfanianccca3152017-02-22 16:32:36 -0800122 $(BASE_DIR)/dialer/theme/AndroidManifest.xml \
123 $(BASE_DIR)/dialer/util/AndroidManifest.xml \
124 $(BASE_DIR)/dialer/voicemailstatus/AndroidManifest.xml \
125 $(BASE_DIR)/dialer/widget/AndroidManifest.xml \
126 $(BASE_DIR)/incallui/AndroidManifest.xml \
127 $(BASE_DIR)/incallui/answer/impl/affordance/AndroidManifest.xml \
128 $(BASE_DIR)/incallui/answer/impl/AndroidManifest.xml \
129 $(BASE_DIR)/incallui/answer/impl/answermethod/AndroidManifest.xml \
130 $(BASE_DIR)/incallui/answer/impl/hint/AndroidManifest.xml \
131 $(BASE_DIR)/incallui/audioroute/AndroidManifest.xml \
132 $(BASE_DIR)/incallui/autoresizetext/AndroidManifest.xml \
133 $(BASE_DIR)/incallui/commontheme/AndroidManifest.xml \
134 $(BASE_DIR)/incallui/contactgrid/AndroidManifest.xml \
135 $(BASE_DIR)/incallui/hold/AndroidManifest.xml \
136 $(BASE_DIR)/incallui/incall/impl/AndroidManifest.xml \
137 $(BASE_DIR)/incallui/sessiondata/AndroidManifest.xml \
Eric Erfanianc857f902017-05-15 14:05:33 -0700138 $(BASE_DIR)/incallui/telecomeventui/AndroidManifest.xml \
Eric Erfanianccca3152017-02-22 16:32:36 -0800139 $(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)) \
Kirill Grouchnikovfa340972017-05-16 01:32:43 +0000155 $(support_library_root_dir)/design/res \
156 $(support_library_root_dir)/transition/res \
157 $(support_library_root_dir)/v7/appcompat/res \
158 $(support_library_root_dir)/v7/cardview/res \
159 $(support_library_root_dir)/v7/recyclerview/res
Eric Erfanianccca3152017-02-22 16:32:36 -0800160
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 \
Eric Erfanianc857f902017-05-15 14:05:33 -0700165 --extra-packages com.android.dialer.about \
Eric Erfanianccca3152017-02-22 16:32:36 -0800166 --extra-packages com.android.dialer.app \
167 --extra-packages com.android.dialer.app.voicemail.error \
168 --extra-packages com.android.dialer.blocking \
169 --extra-packages com.android.dialer.callcomposer \
170 --extra-packages com.android.dialer.callcomposer \
171 --extra-packages com.android.dialer.callcomposer.camera \
172 --extra-packages com.android.dialer.callcomposer.camera.camerafocus \
173 --extra-packages com.android.dialer.callcomposer.cameraui \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700174 --extra-packages com.android.dialer.calldetails \
Eric Erfanian8369df02017-05-03 10:27:13 -0700175 --extra-packages com.android.dialer.calllog.ui \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700176 --extra-packages com.android.dialer.calllogutils \
Eric Erfanianccca3152017-02-22 16:32:36 -0800177 --extra-packages com.android.dialer.common \
Eric Erfanian8369df02017-05-03 10:27:13 -0700178 --extra-packages com.android.dialer.contactsfragment \
Eric Erfanianccca3152017-02-22 16:32:36 -0800179 --extra-packages com.android.dialer.dialpadview \
180 --extra-packages com.android.dialer.interactions \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700181 --extra-packages com.android.dialer.notification \
182 --extra-packages com.android.dialer.oem \
Eric Erfanianccca3152017-02-22 16:32:36 -0800183 --extra-packages com.android.dialer.phonenumberutil \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700184 --extra-packages com.android.dialer.postcall \
Eric Erfanianccca3152017-02-22 16:32:36 -0800185 --extra-packages com.android.dialer.shortcuts \
Eric Erfaniand8046e52017-04-06 09:41:50 -0700186 --extra-packages com.android.dialer.speeddial \
Eric Erfanianc857f902017-05-15 14:05:33 -0700187 --extra-packages com.android.dialer.theme \
Eric Erfanianccca3152017-02-22 16:32:36 -0800188 --extra-packages com.android.dialer.util \
189 --extra-packages com.android.dialer.voicemailstatus \
190 --extra-packages com.android.dialer.widget \
191 --extra-packages com.android.incallui \
192 --extra-packages com.android.incallui.answer.impl \
193 --extra-packages com.android.incallui.answer.impl.affordance \
194 --extra-packages com.android.incallui.answer.impl.affordance \
195 --extra-packages com.android.incallui.answer.impl.answermethod \
196 --extra-packages com.android.incallui.answer.impl.hint \
197 --extra-packages com.android.incallui.audioroute \
198 --extra-packages com.android.incallui.autoresizetext \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700199 --extra-packages com.android.incallui.calllocation \
200 --extra-packages com.android.incallui.calllocation.impl \
Eric Erfanianccca3152017-02-22 16:32:36 -0800201 --extra-packages com.android.incallui.commontheme \
202 --extra-packages com.android.incallui.contactgrid \
203 --extra-packages com.android.incallui.hold \
204 --extra-packages com.android.incallui.incall.impl \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700205 --extra-packages com.android.incallui.maps.impl \
Eric Erfanianccca3152017-02-22 16:32:36 -0800206 --extra-packages com.android.incallui.sessiondata \
Eric Erfanianc857f902017-05-15 14:05:33 -0700207 --extra-packages com.android.incallui.telecomeventui \
Eric Erfanianccca3152017-02-22 16:32:36 -0800208 --extra-packages com.android.incallui.video \
209 --extra-packages com.android.incallui.video.impl \
210 --extra-packages com.android.incallui.wifi \
211 --extra-packages com.android.phone.common \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700212 --extra-packages com.android.voicemail \
213 --extra-packages com.android.voicemail.impl \
214 --extra-packages com.android.voicemail.impl.fetch \
215 --extra-packages com.android.voicemail.impl.settings \
216 --extra-packages com.android.voicemail.settings \
Eric Erfanianccca3152017-02-22 16:32:36 -0800217 --extra-packages me.leolin.shortcutbadger
Chiao Cheng94b10b52012-08-17 16:59:12 -0700218
Chiao Cheng94b10b52012-08-17 16:59:12 -0700219LOCAL_STATIC_JAVA_LIBRARIES := \
Eric Erfanianccca3152017-02-22 16:32:36 -0800220 android-common \
Eric Erfanianccca3152017-02-22 16:32:36 -0800221 com.android.vcard \
Eric Erfaniancdb1edf2017-03-29 10:20:40 -0700222 dialer-commons-io-target \
Eric Erfanian90508232017-03-24 09:31:16 -0700223 dialer-dagger2-target \
224 dialer-disklrucache-target \
225 dialer-gifdecoder-target \
226 dialer-glide-target \
227 dialer-guava-target \
228 dialer-javax-annotation-api-target \
229 dialer-javax-inject-target \
230 dialer-libshortcutbadger-target \
Eric Erfanian8369df02017-05-03 10:27:13 -0700231 dialer-mime4j-core-target \
232 dialer-mime4j-dom-target \
Eric Erfanianccca3152017-02-22 16:32:36 -0800233 jsr305 \
234 libphonenumber \
Eric Erfaniancdb1edf2017-03-29 10:20:40 -0700235 volley \
Chiao Cheng94b10b52012-08-17 16:59:12 -0700236
Alan Viveretteb5870be2017-04-26 11:15:10 -0400237LOCAL_STATIC_ANDROID_LIBRARIES := \
238 android-support-design \
239 android-support-transition \
240 android-support-v13 \
241 android-support-v4 \
242 android-support-v7-appcompat \
243 android-support-v7-cardview \
244 android-support-v7-recyclerview \
245
Eric Erfanianccca3152017-02-22 16:32:36 -0800246LOCAL_JAVA_LIBRARIES := \
Eric Erfanian90508232017-03-24 09:31:16 -0700247 org.apache.http.legacy \
248 dialer-auto-value \
Eric Erfanianccca3152017-02-22 16:32:36 -0800249
250# Libraries needed by the compiler (JACK) to generate code.
251PROCESSOR_LIBRARIES_TARGET := \
Eric Erfanian90508232017-03-24 09:31:16 -0700252 dialer-dagger2-compiler \
Eric Erfanianccca3152017-02-22 16:32:36 -0800253 dialer-dagger2 \
254 dialer-dagger2-producers \
255 dialer-guava \
256 dialer-javax-annotation-api \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700257 dialer-javax-inject \
Eric Erfanian90508232017-03-24 09:31:16 -0700258 dialer-auto-value \
Eric Erfanianccca3152017-02-22 16:32:36 -0800259
260# Resolve the jar paths.
261PROCESSOR_JARS := $(call java-lib-deps, $(PROCESSOR_LIBRARIES_TARGET))
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700262# Necessary for annotation processors to work correctly.
Eric Erfanianccca3152017-02-22 16:32:36 -0800263LOCAL_ADDITIONAL_DEPENDENCIES += $(PROCESSOR_JARS)
264
265LOCAL_JACK_FLAGS += --processorpath $(call normalize-path-list,$(PROCESSOR_JARS))
Eric Erfanian90508232017-03-24 09:31:16 -0700266LOCAL_JAVACFLAGS += -processorpath $(call normalize-path-list,$(PROCESSOR_JARS))
Chiao Cheng94b10b52012-08-17 16:59:12 -0700267
Eric Erfanian90508232017-03-24 09:31:16 -0700268# Proguard includes
269LOCAL_PROGUARD_FLAG_FILES := \
270 java/com/android/dialer/common/proguard.flags \
271 java/com/android/dialer/proguard/proguard_base.flags \
272 java/com/android/dialer/proguard/proguard.flags \
273 java/com/android/dialer/proguard/proguard_release.flags \
274 java/com/android/incallui/answer/impl/proguard.flags
Colin Crossf939e092017-04-05 22:13:40 -0700275LOCAL_PROGUARD_ENABLED := custom
276
277ifdef LOCAL_JACK_ENABLED
278# Bug: 37077388
279LOCAL_PROGUARD_ENABLED += optimization
280endif
Chiao Cheng94b10b52012-08-17 16:59:12 -0700281
Ta-wei Yen6640e552017-04-21 15:33:24 -0700282LOCAL_SDK_VERSION := system_current
Eric Erfanianccca3152017-02-22 16:32:36 -0800283LOCAL_MODULE_TAGS := optional
284LOCAL_PACKAGE_NAME := Dialer
285LOCAL_CERTIFICATE := shared
286LOCAL_PRIVILEGED_MODULE := true
Eric Erfanian8369df02017-05-03 10:27:13 -0700287LOCAL_USE_AAPT2 := true
288
289# b/37483961 - Jack Not Compiling Dagger Class Properly
290LOCAL_JACK_ENABLED := javac_frontend
291
Chiao Cheng94b10b52012-08-17 16:59:12 -0700292include $(BUILD_PACKAGE)
293
Eric Erfanianccca3152017-02-22 16:32:36 -0800294# Cleanup local state
295BASE_DIR :=
296SRC_DIRS :=
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700297EXCLUDE_FILES :=
Eric Erfanianccca3152017-02-22 16:32:36 -0800298RES_DIRS :=
299DIALER_MANIFEST_FILES :=
300PROCESSOR_LIBRARIES_TARGET :=
301PROCESSOR_JARS :=
302
303# Create references to prebuilt libraries.
304include $(CLEAR_VARS)
305
306LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \
Eric Erfanian8369df02017-05-03 10:27:13 -0700307 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 -0700308 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 -0700309 dialer-dagger2:../../../prebuilts/tools/common/m2/repository/com/google/dagger/dagger/2.7/dagger-2.7$(COMMON_JAVA_PACKAGE_SUFFIX) \
310 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 -0700311 dialer-guava:../../../prebuilts/tools/common/m2/repository/com/google/guava/guava/20.0/guava-20.0$(COMMON_JAVA_PACKAGE_SUFFIX) \
312 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) \
313 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 -0800314
315include $(BUILD_MULTI_PREBUILT)
316
Eric Erfanian90508232017-03-24 09:31:16 -0700317# Enumerate target prebuilts to avoid linker warnings like
318# Dialer (java:sdk) should not link to dialer-guava (java:platform)
319include $(CLEAR_VARS)
320
321LOCAL_MODULE_CLASS := JAVA_LIBRARIES
322LOCAL_MODULE := dialer-guava-target
323LOCAL_SDK_VERSION := current
324LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/com/google/guava/guava/20.0/guava-20.0$(COMMON_JAVA_PACKAGE_SUFFIX)
325LOCAL_UNINSTALLABLE_MODULE := true
326
327include $(BUILD_PREBUILT)
328
329include $(CLEAR_VARS)
330
331LOCAL_MODULE_CLASS := JAVA_LIBRARIES
332LOCAL_MODULE := dialer-dagger2-target
333LOCAL_SDK_VERSION := current
Eric Erfanian8369df02017-05-03 10:27:13 -0700334LOCAL_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 -0700335LOCAL_UNINSTALLABLE_MODULE := true
336
337include $(BUILD_PREBUILT)
338
339include $(CLEAR_VARS)
340
341LOCAL_MODULE_CLASS := JAVA_LIBRARIES
342LOCAL_MODULE := dialer-disklrucache-target
343LOCAL_SDK_VERSION := current
344LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/disklrucache/1.0.0-SNAPSHOT/disklrucache-1.0.0-SNAPSHOT$(COMMON_JAVA_PACKAGE_SUFFIX)
345LOCAL_UNINSTALLABLE_MODULE := true
346
347include $(BUILD_PREBUILT)
348
349include $(CLEAR_VARS)
350
351LOCAL_MODULE_CLASS := JAVA_LIBRARIES
352LOCAL_MODULE := dialer-gifdecoder-target
353LOCAL_SDK_VERSION := current
354LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/gifdecoder/1.0.0-SNAPSHOT/gifdecoder-1.0.0-SNAPSHOT$(COMMON_JAVA_PACKAGE_SUFFIX)
355LOCAL_UNINSTALLABLE_MODULE := true
356
357include $(BUILD_PREBUILT)
358
359include $(CLEAR_VARS)
360
361LOCAL_MODULE_CLASS := JAVA_LIBRARIES
362LOCAL_MODULE := dialer-glide-target
363LOCAL_SDK_VERSION := current
364LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/glide/4.0.0-SNAPSHOT/glide-4.0.0-SNAPSHOT$(COMMON_JAVA_PACKAGE_SUFFIX)
365LOCAL_UNINSTALLABLE_MODULE := true
366
367include $(BUILD_PREBUILT)
368
369include $(CLEAR_VARS)
370
371LOCAL_MODULE_CLASS := JAVA_LIBRARIES
372LOCAL_MODULE := dialer-javax-annotation-api-target
373LOCAL_SDK_VERSION := current
374LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2$(COMMON_JAVA_PACKAGE_SUFFIX)
375LOCAL_UNINSTALLABLE_MODULE := true
376
377include $(BUILD_PREBUILT)
378
379include $(CLEAR_VARS)
380
381LOCAL_MODULE_CLASS := JAVA_LIBRARIES
382LOCAL_MODULE := dialer-libshortcutbadger-target
383LOCAL_SDK_VERSION := current
384LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/me/leolin/ShortcutBadger/1.1.13/ShortcutBadger-1.1.13$(COMMON_JAVA_PACKAGE_SUFFIX)
385LOCAL_UNINSTALLABLE_MODULE := true
386
387include $(BUILD_PREBUILT)
388
389include $(CLEAR_VARS)
390
391LOCAL_MODULE_CLASS := JAVA_LIBRARIES
392LOCAL_MODULE := dialer-javax-inject-target
393LOCAL_SDK_VERSION := current
394LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/javax/inject/javax.inject/1/javax.inject-1$(COMMON_JAVA_PACKAGE_SUFFIX)
395LOCAL_UNINSTALLABLE_MODULE := true
396
397include $(BUILD_PREBUILT)
398
Eric Erfanianccca3152017-02-22 16:32:36 -0800399include $(CLEAR_VARS)
Eric Erfaniancdb1edf2017-03-29 10:20:40 -0700400
Eric Erfaniancdb1edf2017-03-29 10:20:40 -0700401LOCAL_MODULE_CLASS := JAVA_LIBRARIES
402LOCAL_MODULE := dialer-commons-io-target
403LOCAL_SDK_VERSION := current
404LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/commons-io/commons-io/2.4/commons-io-2.4$(COMMON_JAVA_PACKAGE_SUFFIX)
405LOCAL_UNINSTALLABLE_MODULE := true
406
407include $(BUILD_PREBUILT)
408
409include $(CLEAR_VARS)
Eric Erfanian8369df02017-05-03 10:27:13 -0700410
411LOCAL_MODULE_CLASS := JAVA_LIBRARIES
412LOCAL_MODULE := dialer-mime4j-core-target
413LOCAL_SDK_VERSION := current
414LOCAL_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)
415LOCAL_UNINSTALLABLE_MODULE := true
416
417include $(BUILD_PREBUILT)
418
419include $(CLEAR_VARS)
420
421LOCAL_MODULE_CLASS := JAVA_LIBRARIES
422LOCAL_MODULE := dialer-mime4j-dom-target
423LOCAL_SDK_VERSION := current
424LOCAL_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)
425LOCAL_UNINSTALLABLE_MODULE := true
426
427include $(BUILD_PREBUILT)
428
429include $(CLEAR_VARS)