blob: b00519f489fcf7185a32c7731c52a7a12b0f2cd8 [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
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 \
50 $(BASE_DIR)/dialer/app/res \
51 $(BASE_DIR)/dialer/app/voicemail/error/res \
52 $(BASE_DIR)/dialer/blocking/res \
53 $(BASE_DIR)/dialer/callcomposer/camera/camerafocus/res \
54 $(BASE_DIR)/dialer/callcomposer/cameraui/res \
55 $(BASE_DIR)/dialer/callcomposer/res \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070056 $(BASE_DIR)/dialer/calldetails/res \
Eric Erfanian8369df02017-05-03 10:27:13 -070057 $(BASE_DIR)/dialer/calllog/ui/res \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070058 $(BASE_DIR)/dialer/calllogutils/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080059 $(BASE_DIR)/dialer/common/res \
Eric Erfanian8369df02017-05-03 10:27:13 -070060 $(BASE_DIR)/dialer/contactsfragment/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080061 $(BASE_DIR)/dialer/dialpadview/res \
62 $(BASE_DIR)/dialer/interactions/res \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070063 $(BASE_DIR)/dialer/notification/res \
64 $(BASE_DIR)/dialer/oem/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080065 $(BASE_DIR)/dialer/phonenumberutil/res \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070066 $(BASE_DIR)/dialer/postcall/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080067 $(BASE_DIR)/dialer/shortcuts/res \
Eric Erfaniand8046e52017-04-06 09:41:50 -070068 $(BASE_DIR)/dialer/speeddial/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080069 $(BASE_DIR)/dialer/theme/res \
70 $(BASE_DIR)/dialer/util/res \
71 $(BASE_DIR)/dialer/voicemailstatus/res \
72 $(BASE_DIR)/dialer/widget/res \
73 $(BASE_DIR)/incallui/answer/impl/affordance/res \
74 $(BASE_DIR)/incallui/answer/impl/answermethod/res \
75 $(BASE_DIR)/incallui/answer/impl/hint/res \
76 $(BASE_DIR)/incallui/answer/impl/res \
77 $(BASE_DIR)/incallui/audioroute/res \
78 $(BASE_DIR)/incallui/autoresizetext/res \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070079 $(BASE_DIR)/incallui/calllocation/impl/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080080 $(BASE_DIR)/incallui/commontheme/res \
81 $(BASE_DIR)/incallui/contactgrid/res \
82 $(BASE_DIR)/incallui/hold/res \
83 $(BASE_DIR)/incallui/incall/impl/res \
84 $(BASE_DIR)/incallui/res \
85 $(BASE_DIR)/incallui/sessiondata/res \
86 $(BASE_DIR)/incallui/video/impl/res \
Eric Erfaniand8046e52017-04-06 09:41:50 -070087 $(BASE_DIR)/incallui/video/protocol/res \
Eric Erfanianccca3152017-02-22 16:32:36 -080088 $(BASE_DIR)/incallui/wifi/res \
Eric Erfanian8369df02017-05-03 10:27:13 -070089 $(BASE_DIR)/voicemail/impl/res \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070090
Ta-wei Yen90a13e92016-01-11 13:00:53 -080091
Eric Erfanianccca3152017-02-22 16:32:36 -080092# Dialer manifest files to merge.
93# find . -type f -name "AndroidManifest.xml" | uniq | sort
94DIALER_MANIFEST_FILES += \
95 $(BASE_DIR)/contacts/common/AndroidManifest.xml \
96 $(BASE_DIR)/dialer/app/AndroidManifest.xml \
97 $(BASE_DIR)/dialer/app/manifests/activities/AndroidManifest.xml \
98 $(BASE_DIR)/dialer/app/voicemail/error/AndroidManifest.xml \
99 $(BASE_DIR)/dialer/backup/AndroidManifest.xml \
100 $(BASE_DIR)/dialer/blocking/AndroidManifest.xml \
101 $(BASE_DIR)/dialer/callcomposer/AndroidManifest.xml \
102 $(BASE_DIR)/dialer/callcomposer/camera/AndroidManifest.xml \
103 $(BASE_DIR)/dialer/callcomposer/camera/camerafocus/AndroidManifest.xml \
104 $(BASE_DIR)/dialer/callcomposer/cameraui/AndroidManifest.xml \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700105 $(BASE_DIR)/dialer/calldetails/AndroidManifest.xml \
Eric Erfanian8369df02017-05-03 10:27:13 -0700106 $(BASE_DIR)/dialer/calllog/ui/AndroidManifest.xml \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700107 $(BASE_DIR)/dialer/calllogutils/AndroidManifest.xml \
Eric Erfanianccca3152017-02-22 16:32:36 -0800108 $(BASE_DIR)/dialer/common/AndroidManifest.xml \
Eric Erfanian8369df02017-05-03 10:27:13 -0700109 $(BASE_DIR)/dialer/contactsfragment/AndroidManifest.xml \
Eric Erfanianccca3152017-02-22 16:32:36 -0800110 $(BASE_DIR)/dialer/dialpadview/AndroidManifest.xml \
111 $(BASE_DIR)/dialer/interactions/AndroidManifest.xml \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700112 $(BASE_DIR)/dialer/notification/AndroidManifest.xml \
113 $(BASE_DIR)/dialer/oem/AndroidManifest.xml \
Eric Erfanianccca3152017-02-22 16:32:36 -0800114 $(BASE_DIR)/dialer/phonenumberutil/AndroidManifest.xml \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700115 $(BASE_DIR)/dialer/postcall/AndroidManifest.xml \
Eric Erfanianccca3152017-02-22 16:32:36 -0800116 $(BASE_DIR)/dialer/shortcuts/AndroidManifest.xml \
117 $(BASE_DIR)/dialer/simulator/impl/AndroidManifest.xml \
Eric Erfaniand8046e52017-04-06 09:41:50 -0700118 $(BASE_DIR)/dialer/speeddial/AndroidManifest.xml \
Eric Erfanianccca3152017-02-22 16:32:36 -0800119 $(BASE_DIR)/dialer/theme/AndroidManifest.xml \
120 $(BASE_DIR)/dialer/util/AndroidManifest.xml \
121 $(BASE_DIR)/dialer/voicemailstatus/AndroidManifest.xml \
122 $(BASE_DIR)/dialer/widget/AndroidManifest.xml \
123 $(BASE_DIR)/incallui/AndroidManifest.xml \
124 $(BASE_DIR)/incallui/answer/impl/affordance/AndroidManifest.xml \
125 $(BASE_DIR)/incallui/answer/impl/AndroidManifest.xml \
126 $(BASE_DIR)/incallui/answer/impl/answermethod/AndroidManifest.xml \
127 $(BASE_DIR)/incallui/answer/impl/hint/AndroidManifest.xml \
128 $(BASE_DIR)/incallui/audioroute/AndroidManifest.xml \
129 $(BASE_DIR)/incallui/autoresizetext/AndroidManifest.xml \
130 $(BASE_DIR)/incallui/commontheme/AndroidManifest.xml \
131 $(BASE_DIR)/incallui/contactgrid/AndroidManifest.xml \
132 $(BASE_DIR)/incallui/hold/AndroidManifest.xml \
133 $(BASE_DIR)/incallui/incall/impl/AndroidManifest.xml \
134 $(BASE_DIR)/incallui/sessiondata/AndroidManifest.xml \
135 $(BASE_DIR)/incallui/video/impl/AndroidManifest.xml \
Eric Erfaniand8046e52017-04-06 09:41:50 -0700136 $(BASE_DIR)/incallui/video/protocol/AndroidManifest.xml \
Eric Erfanianccca3152017-02-22 16:32:36 -0800137 $(BASE_DIR)/incallui/wifi/AndroidManifest.xml \
Eric Erfanian8369df02017-05-03 10:27:13 -0700138 $(BASE_DIR)/voicemail/impl/AndroidManifest.xml \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700139
Chiao Cheng94b10b52012-08-17 16:59:12 -0700140
Eric Erfanianccca3152017-02-22 16:32:36 -0800141# Merge all manifest files.
142LOCAL_FULL_LIBS_MANIFEST_FILES := \
143 $(addprefix $(LOCAL_PATH)/, $(DIALER_MANIFEST_FILES))
144LOCAL_SRC_FILES := $(call all-java-files-under, $(SRC_DIRS))
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700145LOCAL_SRC_FILES := $(filter-out $(EXCLUDE_FILES),$(LOCAL_SRC_FILES))
Eric Erfanian8369df02017-05-03 10:27:13 -0700146LOCAL_SRC_FILES += $(call all-proto-files-under, $(SRC_DIRS))
147LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)
148
Eric Erfanianccca3152017-02-22 16:32:36 -0800149LOCAL_RESOURCE_DIR := \
150 $(addprefix $(LOCAL_PATH)/, $(RES_DIRS)) \
151 $(support_library_root_dir)/design/res \
Eric Erfanian90508232017-03-24 09:31:16 -0700152 $(support_library_root_dir)/transition/res \
Eric Erfanianccca3152017-02-22 16:32:36 -0800153 $(support_library_root_dir)/v7/appcompat/res \
154 $(support_library_root_dir)/v7/cardview/res \
155 $(support_library_root_dir)/v7/recyclerview/res
156
157# We specify each package explicitly to glob resource files.
Chiao Cheng94b10b52012-08-17 16:59:12 -0700158LOCAL_AAPT_FLAGS := \
Eric Erfanianccca3152017-02-22 16:32:36 -0800159 --auto-add-overlay \
Eric Erfanianccca3152017-02-22 16:32:36 -0800160 --extra-packages com.android.contacts.common \
161 --extra-packages com.android.dialer.app \
162 --extra-packages com.android.dialer.app.voicemail.error \
163 --extra-packages com.android.dialer.blocking \
164 --extra-packages com.android.dialer.callcomposer \
165 --extra-packages com.android.dialer.callcomposer \
166 --extra-packages com.android.dialer.callcomposer.camera \
167 --extra-packages com.android.dialer.callcomposer.camera.camerafocus \
168 --extra-packages com.android.dialer.callcomposer.cameraui \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700169 --extra-packages com.android.dialer.calldetails \
Eric Erfanian8369df02017-05-03 10:27:13 -0700170 --extra-packages com.android.dialer.calllog.ui \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700171 --extra-packages com.android.dialer.calllogutils \
Eric Erfanianccca3152017-02-22 16:32:36 -0800172 --extra-packages com.android.dialer.common \
Eric Erfanian8369df02017-05-03 10:27:13 -0700173 --extra-packages com.android.dialer.contactsfragment \
Eric Erfanianccca3152017-02-22 16:32:36 -0800174 --extra-packages com.android.dialer.dialpadview \
175 --extra-packages com.android.dialer.interactions \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700176 --extra-packages com.android.dialer.notification \
177 --extra-packages com.android.dialer.oem \
Eric Erfanianccca3152017-02-22 16:32:36 -0800178 --extra-packages com.android.dialer.phonenumberutil \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700179 --extra-packages com.android.dialer.postcall \
Eric Erfanianccca3152017-02-22 16:32:36 -0800180 --extra-packages com.android.dialer.shortcuts \
Eric Erfaniand8046e52017-04-06 09:41:50 -0700181 --extra-packages com.android.dialer.speeddial \
Eric Erfanianccca3152017-02-22 16:32:36 -0800182 --extra-packages com.android.dialer.util \
183 --extra-packages com.android.dialer.voicemailstatus \
184 --extra-packages com.android.dialer.widget \
185 --extra-packages com.android.incallui \
186 --extra-packages com.android.incallui.answer.impl \
187 --extra-packages com.android.incallui.answer.impl.affordance \
188 --extra-packages com.android.incallui.answer.impl.affordance \
189 --extra-packages com.android.incallui.answer.impl.answermethod \
190 --extra-packages com.android.incallui.answer.impl.hint \
191 --extra-packages com.android.incallui.audioroute \
192 --extra-packages com.android.incallui.autoresizetext \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700193 --extra-packages com.android.incallui.calllocation \
194 --extra-packages com.android.incallui.calllocation.impl \
Eric Erfanianccca3152017-02-22 16:32:36 -0800195 --extra-packages com.android.incallui.commontheme \
196 --extra-packages com.android.incallui.contactgrid \
197 --extra-packages com.android.incallui.hold \
198 --extra-packages com.android.incallui.incall.impl \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700199 --extra-packages com.android.incallui.maps.impl \
Eric Erfanianccca3152017-02-22 16:32:36 -0800200 --extra-packages com.android.incallui.sessiondata \
201 --extra-packages com.android.incallui.video \
202 --extra-packages com.android.incallui.video.impl \
203 --extra-packages com.android.incallui.wifi \
204 --extra-packages com.android.phone.common \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700205 --extra-packages com.android.voicemail \
206 --extra-packages com.android.voicemail.impl \
207 --extra-packages com.android.voicemail.impl.fetch \
208 --extra-packages com.android.voicemail.impl.settings \
209 --extra-packages com.android.voicemail.settings \
Eric Erfanianccca3152017-02-22 16:32:36 -0800210 --extra-packages me.leolin.shortcutbadger
Chiao Cheng94b10b52012-08-17 16:59:12 -0700211
Chiao Cheng94b10b52012-08-17 16:59:12 -0700212LOCAL_STATIC_JAVA_LIBRARIES := \
Eric Erfanianccca3152017-02-22 16:32:36 -0800213 android-common \
Eric Erfanianccca3152017-02-22 16:32:36 -0800214 com.android.vcard \
Eric Erfaniancdb1edf2017-03-29 10:20:40 -0700215 dialer-commons-io-target \
Eric Erfanian90508232017-03-24 09:31:16 -0700216 dialer-dagger2-target \
217 dialer-disklrucache-target \
218 dialer-gifdecoder-target \
219 dialer-glide-target \
220 dialer-guava-target \
221 dialer-javax-annotation-api-target \
222 dialer-javax-inject-target \
223 dialer-libshortcutbadger-target \
Eric Erfanian8369df02017-05-03 10:27:13 -0700224 dialer-mime4j-core-target \
225 dialer-mime4j-dom-target \
Eric Erfanianccca3152017-02-22 16:32:36 -0800226 jsr305 \
227 libphonenumber \
Eric Erfaniancdb1edf2017-03-29 10:20:40 -0700228 volley \
Chiao Cheng94b10b52012-08-17 16:59:12 -0700229
Alan Viveretteb5870be2017-04-26 11:15:10 -0400230LOCAL_STATIC_ANDROID_LIBRARIES := \
231 android-support-design \
232 android-support-transition \
233 android-support-v13 \
234 android-support-v4 \
235 android-support-v7-appcompat \
236 android-support-v7-cardview \
237 android-support-v7-recyclerview \
238
Eric Erfanianccca3152017-02-22 16:32:36 -0800239LOCAL_JAVA_LIBRARIES := \
Eric Erfanian90508232017-03-24 09:31:16 -0700240 org.apache.http.legacy \
241 dialer-auto-value \
Eric Erfanianccca3152017-02-22 16:32:36 -0800242
243# Libraries needed by the compiler (JACK) to generate code.
244PROCESSOR_LIBRARIES_TARGET := \
Eric Erfanian90508232017-03-24 09:31:16 -0700245 dialer-dagger2-compiler \
Eric Erfanianccca3152017-02-22 16:32:36 -0800246 dialer-dagger2 \
247 dialer-dagger2-producers \
248 dialer-guava \
249 dialer-javax-annotation-api \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700250 dialer-javax-inject \
Eric Erfanian90508232017-03-24 09:31:16 -0700251 dialer-auto-value \
Eric Erfanianccca3152017-02-22 16:32:36 -0800252
253# Resolve the jar paths.
254PROCESSOR_JARS := $(call java-lib-deps, $(PROCESSOR_LIBRARIES_TARGET))
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700255# Necessary for annotation processors to work correctly.
Eric Erfanianccca3152017-02-22 16:32:36 -0800256LOCAL_ADDITIONAL_DEPENDENCIES += $(PROCESSOR_JARS)
257
258LOCAL_JACK_FLAGS += --processorpath $(call normalize-path-list,$(PROCESSOR_JARS))
Eric Erfanian90508232017-03-24 09:31:16 -0700259LOCAL_JAVACFLAGS += -processorpath $(call normalize-path-list,$(PROCESSOR_JARS))
Chiao Cheng94b10b52012-08-17 16:59:12 -0700260
Eric Erfanian90508232017-03-24 09:31:16 -0700261# Proguard includes
262LOCAL_PROGUARD_FLAG_FILES := \
263 java/com/android/dialer/common/proguard.flags \
264 java/com/android/dialer/proguard/proguard_base.flags \
265 java/com/android/dialer/proguard/proguard.flags \
266 java/com/android/dialer/proguard/proguard_release.flags \
267 java/com/android/incallui/answer/impl/proguard.flags
Colin Crossf939e092017-04-05 22:13:40 -0700268LOCAL_PROGUARD_ENABLED := custom
269
270ifdef LOCAL_JACK_ENABLED
271# Bug: 37077388
272LOCAL_PROGUARD_ENABLED += optimization
273endif
Chiao Cheng94b10b52012-08-17 16:59:12 -0700274
Ta-wei Yen6640e552017-04-21 15:33:24 -0700275LOCAL_SDK_VERSION := system_current
Eric Erfanianccca3152017-02-22 16:32:36 -0800276LOCAL_MODULE_TAGS := optional
277LOCAL_PACKAGE_NAME := Dialer
278LOCAL_CERTIFICATE := shared
279LOCAL_PRIVILEGED_MODULE := true
Eric Erfanian8369df02017-05-03 10:27:13 -0700280LOCAL_USE_AAPT2 := true
281
282# b/37483961 - Jack Not Compiling Dagger Class Properly
283LOCAL_JACK_ENABLED := javac_frontend
284
Chiao Cheng94b10b52012-08-17 16:59:12 -0700285include $(BUILD_PACKAGE)
286
Eric Erfanianccca3152017-02-22 16:32:36 -0800287# Cleanup local state
288BASE_DIR :=
289SRC_DIRS :=
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700290EXCLUDE_FILES :=
Eric Erfanianccca3152017-02-22 16:32:36 -0800291RES_DIRS :=
292DIALER_MANIFEST_FILES :=
293PROCESSOR_LIBRARIES_TARGET :=
294PROCESSOR_JARS :=
295
296# Create references to prebuilt libraries.
297include $(CLEAR_VARS)
298
299LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \
Eric Erfanian8369df02017-05-03 10:27:13 -0700300 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 -0700301 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 -0700302 dialer-dagger2:../../../prebuilts/tools/common/m2/repository/com/google/dagger/dagger/2.7/dagger-2.7$(COMMON_JAVA_PACKAGE_SUFFIX) \
303 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 -0700304 dialer-guava:../../../prebuilts/tools/common/m2/repository/com/google/guava/guava/20.0/guava-20.0$(COMMON_JAVA_PACKAGE_SUFFIX) \
305 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) \
306 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 -0800307
308include $(BUILD_MULTI_PREBUILT)
309
Eric Erfanian90508232017-03-24 09:31:16 -0700310# Enumerate target prebuilts to avoid linker warnings like
311# Dialer (java:sdk) should not link to dialer-guava (java:platform)
312include $(CLEAR_VARS)
313
314LOCAL_MODULE_CLASS := JAVA_LIBRARIES
315LOCAL_MODULE := dialer-guava-target
316LOCAL_SDK_VERSION := current
317LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/com/google/guava/guava/20.0/guava-20.0$(COMMON_JAVA_PACKAGE_SUFFIX)
318LOCAL_UNINSTALLABLE_MODULE := true
319
320include $(BUILD_PREBUILT)
321
322include $(CLEAR_VARS)
323
324LOCAL_MODULE_CLASS := JAVA_LIBRARIES
325LOCAL_MODULE := dialer-dagger2-target
326LOCAL_SDK_VERSION := current
Eric Erfanian8369df02017-05-03 10:27:13 -0700327LOCAL_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 -0700328LOCAL_UNINSTALLABLE_MODULE := true
329
330include $(BUILD_PREBUILT)
331
332include $(CLEAR_VARS)
333
334LOCAL_MODULE_CLASS := JAVA_LIBRARIES
335LOCAL_MODULE := dialer-disklrucache-target
336LOCAL_SDK_VERSION := current
337LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/disklrucache/1.0.0-SNAPSHOT/disklrucache-1.0.0-SNAPSHOT$(COMMON_JAVA_PACKAGE_SUFFIX)
338LOCAL_UNINSTALLABLE_MODULE := true
339
340include $(BUILD_PREBUILT)
341
342include $(CLEAR_VARS)
343
344LOCAL_MODULE_CLASS := JAVA_LIBRARIES
345LOCAL_MODULE := dialer-gifdecoder-target
346LOCAL_SDK_VERSION := current
347LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/gifdecoder/1.0.0-SNAPSHOT/gifdecoder-1.0.0-SNAPSHOT$(COMMON_JAVA_PACKAGE_SUFFIX)
348LOCAL_UNINSTALLABLE_MODULE := true
349
350include $(BUILD_PREBUILT)
351
352include $(CLEAR_VARS)
353
354LOCAL_MODULE_CLASS := JAVA_LIBRARIES
355LOCAL_MODULE := dialer-glide-target
356LOCAL_SDK_VERSION := current
357LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/glide/4.0.0-SNAPSHOT/glide-4.0.0-SNAPSHOT$(COMMON_JAVA_PACKAGE_SUFFIX)
358LOCAL_UNINSTALLABLE_MODULE := true
359
360include $(BUILD_PREBUILT)
361
362include $(CLEAR_VARS)
363
364LOCAL_MODULE_CLASS := JAVA_LIBRARIES
365LOCAL_MODULE := dialer-javax-annotation-api-target
366LOCAL_SDK_VERSION := current
367LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2$(COMMON_JAVA_PACKAGE_SUFFIX)
368LOCAL_UNINSTALLABLE_MODULE := true
369
370include $(BUILD_PREBUILT)
371
372include $(CLEAR_VARS)
373
374LOCAL_MODULE_CLASS := JAVA_LIBRARIES
375LOCAL_MODULE := dialer-libshortcutbadger-target
376LOCAL_SDK_VERSION := current
377LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/me/leolin/ShortcutBadger/1.1.13/ShortcutBadger-1.1.13$(COMMON_JAVA_PACKAGE_SUFFIX)
378LOCAL_UNINSTALLABLE_MODULE := true
379
380include $(BUILD_PREBUILT)
381
382include $(CLEAR_VARS)
383
384LOCAL_MODULE_CLASS := JAVA_LIBRARIES
385LOCAL_MODULE := dialer-javax-inject-target
386LOCAL_SDK_VERSION := current
387LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/javax/inject/javax.inject/1/javax.inject-1$(COMMON_JAVA_PACKAGE_SUFFIX)
388LOCAL_UNINSTALLABLE_MODULE := true
389
390include $(BUILD_PREBUILT)
391
Eric Erfanianccca3152017-02-22 16:32:36 -0800392include $(CLEAR_VARS)
Eric Erfaniancdb1edf2017-03-29 10:20:40 -0700393
Eric Erfaniancdb1edf2017-03-29 10:20:40 -0700394LOCAL_MODULE_CLASS := JAVA_LIBRARIES
395LOCAL_MODULE := dialer-commons-io-target
396LOCAL_SDK_VERSION := current
397LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/commons-io/commons-io/2.4/commons-io-2.4$(COMMON_JAVA_PACKAGE_SUFFIX)
398LOCAL_UNINSTALLABLE_MODULE := true
399
400include $(BUILD_PREBUILT)
401
402include $(CLEAR_VARS)
Eric Erfanian8369df02017-05-03 10:27:13 -0700403
404LOCAL_MODULE_CLASS := JAVA_LIBRARIES
405LOCAL_MODULE := dialer-mime4j-core-target
406LOCAL_SDK_VERSION := current
407LOCAL_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)
408LOCAL_UNINSTALLABLE_MODULE := true
409
410include $(BUILD_PREBUILT)
411
412include $(CLEAR_VARS)
413
414LOCAL_MODULE_CLASS := JAVA_LIBRARIES
415LOCAL_MODULE := dialer-mime4j-dom-target
416LOCAL_SDK_VERSION := current
417LOCAL_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)
418LOCAL_UNINSTALLABLE_MODULE := true
419
420include $(BUILD_PREBUILT)
421
422include $(CLEAR_VARS)