blob: 7736fd67184dd2ab054cdc28e10f9d513bd75c2e [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.geo.API_KEY key. This should be added to
3# the manifest files in java/com/android/incallui/calllocation/impl/
4# and /java/com/android/incallui/maps/impl/
Eric Erfanian3bb96412017-06-22 10:19:53 -07005# * b/62417801 modify translation string naming convention:
6# $ find . -type d | grep 262 | rename 's/(values)\-([a-zA-Z\+\-]+)\-(mcc262-mnc01)/$1-$3-$2/'
Eric Erfanian3bb96412017-06-22 10:19:53 -07007# * b/37077388 temporarily disable proguard with javac
Eric Erfanian939cdf02017-08-29 08:49:58 -07008# * b/62875795 include manually generated GRPC service class:
9# $ protoc --plugin=protoc-gen-grpc-java=prebuilts/tools/common/m2/repository/io/grpc/protoc-gen-grpc-java/1.0.3/protoc-gen-grpc-java-1.0.3-linux-x86_64.exe \
10# --grpc-java_out=lite:"packages/apps/Dialer/java/com/android/voicemail/impl/" \
11# --proto_path="packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/" "packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/voicemail_transcription.proto"
Chiao Cheng94b10b52012-08-17 16:59:12 -070012LOCAL_PATH:= $(call my-dir)
13include $(CLEAR_VARS)
14
Eric Erfanianccca3152017-02-22 16:32:36 -080015# The base directory for Dialer sources.
16BASE_DIR := java/com/android
Jay Shrauner0f68a712014-07-16 16:13:57 -070017
Eric Erfaniand5e47f62017-03-15 14:41:07 -070018# Exclude files incompatible with AOSP.
19EXCLUDE_FILES := \
Eric Erfaniand5e47f62017-03-15 14:41:07 -070020 $(BASE_DIR)/incallui/calllocation/impl/AuthException.java \
21 $(BASE_DIR)/incallui/calllocation/impl/CallLocationImpl.java \
22 $(BASE_DIR)/incallui/calllocation/impl/CallLocationModule.java \
23 $(BASE_DIR)/incallui/calllocation/impl/DownloadMapImageTask.java \
24 $(BASE_DIR)/incallui/calllocation/impl/GoogleLocationSettingHelper.java \
25 $(BASE_DIR)/incallui/calllocation/impl/HttpFetcher.java \
26 $(BASE_DIR)/incallui/calllocation/impl/LocationFragment.java \
27 $(BASE_DIR)/incallui/calllocation/impl/LocationHelper.java \
28 $(BASE_DIR)/incallui/calllocation/impl/LocationPresenter.java \
29 $(BASE_DIR)/incallui/calllocation/impl/LocationUrlBuilder.java \
30 $(BASE_DIR)/incallui/calllocation/impl/ReverseGeocodeTask.java \
31 $(BASE_DIR)/incallui/calllocation/impl/TrafficStatsTags.java \
32 $(BASE_DIR)/incallui/maps/impl/MapsImpl.java \
33 $(BASE_DIR)/incallui/maps/impl/MapsModule.java \
Eric Erfanian2f1c7582017-06-19 11:26:01 -070034 $(BASE_DIR)/incallui/maps/impl/StaticMapFragment.java \
Chiao Cheng94b10b52012-08-17 16:59:12 -070035
Paul Duffin922b1082017-05-05 15:05:47 +010036# Exclude testing only class, not used anywhere here
37EXCLUDE_FILES += \
38 $(BASE_DIR)/contacts/common/format/testing/SpannedTestUtils.java
39
Weijia Xucac4acd2018-03-23 18:13:41 -070040# Exclude rootcomponentgenerator
41EXCLUDE_FILES += \
Zachary Heidepriem7acd97f2018-04-06 12:28:36 -070042 $(call all-java-files-under, $(BASE_DIR)/dialer/rootcomponentgenerator) \
43 $(call all-java-files-under, $(BASE_DIR)/dialer/inject/demo)
Weijia Xucac4acd2018-03-23 18:13:41 -070044
Eric Erfanian3bb96412017-06-22 10:19:53 -070045# Exclude build variants for now
46EXCLUDE_FILES += \
Eric Erfanian3bb96412017-06-22 10:19:53 -070047 $(BASE_DIR)/dialer/constants/googledialer/ConstantsImpl.java \
48 $(BASE_DIR)/dialer/binary/google/GoogleStubDialerRootComponent.java \
Eric Erfanian939cdf02017-08-29 08:49:58 -070049 $(BASE_DIR)/dialer/binary/google/GoogleStubDialerApplication.java \
50
51# * b/62875795
52ifneq ($(wildcard packages/apps/Dialer/java/com/android/voicemail/impl/com/google/internal/communications/voicemailtranscription/v1/VoicemailTranscriptionServiceGrpc.java),)
53$(error Please remove file packages/apps/Dialer/java/com/android/voicemail/impl/com/google/internal/communications/voicemailtranscription/v1/VoicemailTranscriptionServiceGrpc.java )
54endif
Eric Erfanian3bb96412017-06-22 10:19:53 -070055
Eric Erfanian415dffb2017-08-08 14:32:39 -070056EXCLUDE_RESOURCE_DIRECTORIES := \
57 java/com/android/incallui/maps/impl/res \
58
Eric Erfanianccca3152017-02-22 16:32:36 -080059# All Dialers resources.
Eric Erfanian415dffb2017-08-08 14:32:39 -070060RES_DIRS := $(call all-subdir-named-dirs,res,.)
61RES_DIRS := $(filter-out $(EXCLUDE_RESOURCE_DIRECTORIES),$(RES_DIRS))
Eric Erfaniand5e47f62017-03-15 14:41:07 -070062
Eric Erfanian415dffb2017-08-08 14:32:39 -070063EXCLUDE_MANIFESTS := \
64 $(BASE_DIR)/dialer/binary/aosp/testing/AndroidManifest.xml \
65 $(BASE_DIR)/dialer/binary/google/AndroidManifest.xml \
66 $(BASE_DIR)/incallui/calllocation/impl/AndroidManifest.xml \
67 $(BASE_DIR)/incallui/maps/impl/AndroidManifest.xml \
Eric Erfanian9b4d9bc2017-07-25 09:36:19 -070068
Eric Erfanianccca3152017-02-22 16:32:36 -080069# Dialer manifest files to merge.
Eric Erfanian415dffb2017-08-08 14:32:39 -070070DIALER_MANIFEST_FILES := $(call all-named-files-under,AndroidManifest.xml,.)
71DIALER_MANIFEST_FILES := $(filter-out $(EXCLUDE_MANIFESTS),$(DIALER_MANIFEST_FILES))
Chiao Cheng94b10b52012-08-17 16:59:12 -070072
Eric Erfanianccca3152017-02-22 16:32:36 -080073# Merge all manifest files.
74LOCAL_FULL_LIBS_MANIFEST_FILES := \
75 $(addprefix $(LOCAL_PATH)/, $(DIALER_MANIFEST_FILES))
Eric Erfanian1ce79b92017-08-10 08:11:26 -070076
sail3bcea982017-09-03 13:57:22 -070077LOCAL_SRC_FILES := $(call all-java-files-under, $(BASE_DIR))
78LOCAL_SRC_FILES += $(call all-proto-files-under, $(BASE_DIR))
weijiaxu4bf16922018-06-22 12:52:21 -070079LOCAL_SRC_FILES += $(call all-Iaidl-files-under, $(BASE_DIR))
Eric Erfanian939cdf02017-08-29 08:49:58 -070080LOCAL_SRC_FILES := $(filter-out $(EXCLUDE_FILES),$(LOCAL_SRC_FILES))
Eric Erfanian9bdb5032017-08-09 15:37:50 -070081
Eric Erfanian8369df02017-05-03 10:27:13 -070082LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)
83
Eric Erfanian415dffb2017-08-08 14:32:39 -070084LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(RES_DIRS))
85
Eric Erfanian415dffb2017-08-08 14:32:39 -070086EXCLUDE_EXTRA_PACKAGES := \
87 com.android.dialer.binary.aosp.testing \
88 com.android.dialer.binary.google \
89 com.android.incallui.calllocation.impl \
90 com.android.incallui.maps.impl \
Eric Erfanianccca3152017-02-22 16:32:36 -080091
92# We specify each package explicitly to glob resource files.
Zachary Heidepriem95fafa82017-11-13 11:11:32 -080093include ${LOCAL_PATH}/packages.mk
Eric Erfanian5aaa9492017-08-29 17:33:38 -070094
Eric Erfanian415dffb2017-08-08 14:32:39 -070095LOCAL_AAPT_FLAGS := $(filter-out $(EXCLUDE_EXTRA_PACKAGES),$(LOCAL_AAPT_FLAGS))
96LOCAL_AAPT_FLAGS := $(addprefix --extra-packages , $(LOCAL_AAPT_FLAGS))
97LOCAL_AAPT_FLAGS += \
Eric Erfanianccca3152017-02-22 16:32:36 -080098 --auto-add-overlay \
Eric Erfanian3bb96412017-06-22 10:19:53 -070099 --extra-packages me.leolin.shortcutbadger \
100
Chiao Cheng94b10b52012-08-17 16:59:12 -0700101LOCAL_STATIC_JAVA_LIBRARIES := \
Eric Erfanianccca3152017-02-22 16:32:36 -0800102 android-common \
Eric Erfanian2f1c7582017-06-19 11:26:01 -0700103 android-support-dynamic-animation \
Eric Erfanianccca3152017-02-22 16:32:36 -0800104 com.android.vcard \
Colin Cross23b83ca2017-12-13 20:57:34 -0800105 dialer-animal-sniffer-annotations-target \
Eric Erfaniancdb1edf2017-03-29 10:20:40 -0700106 dialer-commons-io-target \
Eric Erfanian90508232017-03-24 09:31:16 -0700107 dialer-dagger2-target \
108 dialer-disklrucache-target \
109 dialer-gifdecoder-target \
110 dialer-glide-target \
Eric Erfanian1ce79b92017-08-10 08:11:26 -0700111 dialer-grpc-all-target \
112 dialer-grpc-context-target \
113 dialer-grpc-core-target \
Eric Erfanian2f1c7582017-06-19 11:26:01 -0700114 dialer-grpc-okhttp-target \
115 dialer-grpc-protobuf-lite-target \
Eric Erfanian1ce79b92017-08-10 08:11:26 -0700116 dialer-grpc-stub-target \
Colin Cross23b83ca2017-12-13 20:57:34 -0800117 dialer-j2objc-annotations-target \
Eric Erfanian90508232017-03-24 09:31:16 -0700118 dialer-javax-annotation-api-target \
119 dialer-javax-inject-target \
120 dialer-libshortcutbadger-target \
Eric Erfanian8369df02017-05-03 10:27:13 -0700121 dialer-mime4j-core-target \
122 dialer-mime4j-dom-target \
Colin Cross23b83ca2017-12-13 20:57:34 -0800123 dialer-okhttp-target \
124 dialer-okio-target \
Zachary Heidepriem922cbed2017-11-11 18:49:27 -0800125 dialer-error-prone-target \
Zachary Heidepriem9f39c2f2017-11-10 15:07:54 -0800126 dialer-guava-target \
Ta-wei Yenea7ea2b2018-02-08 18:03:40 -0800127 dialer-glide-target \
128 dialer-glide-annotation-target \
roldenburg9c9175f2018-02-15 15:22:24 -0800129 dialer-zxing-target \
Eric Erfanianccca3152017-02-22 16:32:36 -0800130 jsr305 \
Eric Erfanian9bfcb3d2017-09-05 10:53:21 -0700131 libbackup \
Eric Erfanianccca3152017-02-22 16:32:36 -0800132 libphonenumber \
Eric Erfaniancdb1edf2017-03-29 10:20:40 -0700133 volley \
Chiao Cheng94b10b52012-08-17 16:59:12 -0700134
Alan Viveretteb5870be2017-04-26 11:15:10 -0400135LOCAL_STATIC_ANDROID_LIBRARIES := \
Eric Erfanian415dffb2017-08-08 14:32:39 -0700136 android-support-core-ui \
Alan Viverette423e2932018-02-01 15:52:28 -0500137 $(ANDROID_SUPPORT_DESIGN_TARGETS) \
Alan Viveretteb5870be2017-04-26 11:15:10 -0400138 android-support-transition \
139 android-support-v13 \
140 android-support-v4 \
141 android-support-v7-appcompat \
142 android-support-v7-cardview \
143 android-support-v7-recyclerview \
144
Eric Erfanianccca3152017-02-22 16:32:36 -0800145LOCAL_JAVA_LIBRARIES := \
Colin Crossf0268ec2020-06-19 14:00:55 -0700146 auto_value_annotations \
Eric Erfanian3bb96412017-06-22 10:19:53 -0700147 org.apache.http.legacy \
Eric Erfanianccca3152017-02-22 16:32:36 -0800148
Roland Levillain05d63612017-08-24 14:41:12 +0100149LOCAL_ANNOTATION_PROCESSORS := \
Colin Crossf0268ec2020-06-19 14:00:55 -0700150 auto_value_plugin \
Tony Mantler0f8a28a2018-03-29 14:23:58 -0700151 javapoet-prebuilt-jar \
Eric Erfanianccca3152017-02-22 16:32:36 -0800152 dialer-dagger2 \
Eric Erfanian3bb96412017-06-22 10:19:53 -0700153 dialer-dagger2-compiler \
Eric Erfanianccca3152017-02-22 16:32:36 -0800154 dialer-dagger2-producers \
Ta-wei Yena8bbb352018-01-25 18:10:32 -0800155 dialer-glide-annotation \
Ta-wei Yenea7ea2b2018-02-08 18:03:40 -0800156 dialer-glide-compiler \
Eric Erfanianccca3152017-02-22 16:32:36 -0800157 dialer-guava \
158 dialer-javax-annotation-api \
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700159 dialer-javax-inject \
Weijia Xucac4acd2018-03-23 18:13:41 -0700160 dialer-rootcomponentprocessor
Eric Erfanianccca3152017-02-22 16:32:36 -0800161
Roland Levillain05d63612017-08-24 14:41:12 +0100162LOCAL_ANNOTATION_PROCESSOR_CLASSES := \
Zachary Heidepriem7acd97f2018-04-06 12:28:36 -0700163 com.google.auto.value.processor.AutoValueProcessor,dagger.internal.codegen.ComponentProcessor,com.bumptech.glide.annotation.compiler.GlideAnnotationProcessor,com.android.dialer.rootcomponentgenerator.RootComponentProcessor
Eric Erfanian2f1c7582017-06-19 11:26:01 -0700164
Eric Erfanian90508232017-03-24 09:31:16 -0700165# Proguard includes
Colin Cross23b83ca2017-12-13 20:57:34 -0800166LOCAL_PROGUARD_FLAG_FILES := proguard.flags $(call all-named-files-under,proguard.*flags,$(BASE_DIR))
Colin Crossf939e092017-04-05 22:13:40 -0700167LOCAL_PROGUARD_ENABLED := custom
168
Colin Crossf939e092017-04-05 22:13:40 -0700169LOCAL_PROGUARD_ENABLED += optimization
Eric Erfanian2f1c7582017-06-19 11:26:01 -0700170
Ta-wei Yen6640e552017-04-21 15:33:24 -0700171LOCAL_SDK_VERSION := system_current
Eric Erfanianccca3152017-02-22 16:32:36 -0800172LOCAL_MODULE_TAGS := optional
173LOCAL_PACKAGE_NAME := Dialer
174LOCAL_CERTIFICATE := shared
175LOCAL_PRIVILEGED_MODULE := true
Anton Hansson4dccc472019-01-25 13:58:33 +0000176LOCAL_PRODUCT_MODULE := true
Eric Erfanian8369df02017-05-03 10:27:13 -0700177LOCAL_USE_AAPT2 := true
Anton Hansson4dccc472019-01-25 13:58:33 +0000178LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.dialer
Ulya Trafimovichc89f1e12021-03-11 13:52:38 +0000179LOCAL_USES_LIBRARIES := org.apache.http.legacy
Eric Erfanian8369df02017-05-03 10:27:13 -0700180
Bob Badour02d64362021-04-23 16:13:08 -0700181LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
182LOCAL_LICENSE_CONDITIONS := notice
183LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
Chiao Cheng94b10b52012-08-17 16:59:12 -0700184include $(BUILD_PACKAGE)
185
Eric Erfanianccca3152017-02-22 16:32:36 -0800186# Cleanup local state
187BASE_DIR :=
Eric Erfaniand5e47f62017-03-15 14:41:07 -0700188EXCLUDE_FILES :=
Eric Erfanianccca3152017-02-22 16:32:36 -0800189RES_DIRS :=
190DIALER_MANIFEST_FILES :=
Eric Erfanian415dffb2017-08-08 14:32:39 -0700191EXCLUDE_MANIFESTS :=
192EXCLUDE_EXTRA_PACKAGES :=
Eric Erfanianccca3152017-02-22 16:32:36 -0800193
194# Create references to prebuilt libraries.
195include $(CLEAR_VARS)
196
197LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \
Colin Crossc87db952017-12-13 20:41:25 -0800198 dialer-dagger2-compiler:../../../prebuilts/tools/common/m2/repository/com/google/dagger/dagger-compiler/2.7/dagger-compiler-2.7.jar \
199 dialer-dagger2:../../../prebuilts/tools/common/m2/repository/com/google/dagger/dagger/2.7/dagger-2.7.jar \
200 dialer-dagger2-producers:../../../prebuilts/tools/common/m2/repository/com/google/dagger/dagger-producers/2.7/dagger-producers-2.7.jar \
Ta-wei Yena8bbb352018-01-25 18:10:32 -0800201 dialer-glide-annotation:../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/annotation/SNAPSHOT/annotation-SNAPSHOT.jar \
202 dialer-glide-compiler:../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/compiler/SNAPSHOT/compiler-SNAPSHOT.jar \
Colin Crossc87db952017-12-13 20:41:25 -0800203 dialer-grpc-all:../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-all/1.0.3/grpc-all-1.0.3.jar \
204 dialer-grpc-core:../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-core/1.0.3/grpc-core-1.0.3.jar \
205 dialer-grpc-okhttp:../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-okhttp/1.0.3/grpc-okhttp-1.0.3.jar \
206 dialer-grpc-protobuf-lite:../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-protobuf-lite/1.0.3/grpc-protobuf-lite-1.0.3.jar \
207 dialer-grpc-stub:../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-stub/1.0.3/grpc-stub-1.0.3.jar \
zachh3fcd7082018-01-08 20:10:30 +0000208 dialer-guava:../../../prebuilts/tools/common/m2/repository/com/google/guava/guava/23.0/guava-23.0.jar \
Colin Crossc87db952017-12-13 20:41:25 -0800209 dialer-javax-annotation-api:../../../prebuilts/tools/common/m2/repository/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2.jar \
Ta-wei Yenea7ea2b2018-02-08 18:03:40 -0800210 dialer-javax-inject:../../../prebuilts/tools/common/m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar \
Eric Erfanianccca3152017-02-22 16:32:36 -0800211
Roland Levillain05d63612017-08-24 14:41:12 +0100212include $(BUILD_HOST_PREBUILT)
Eric Erfanianccca3152017-02-22 16:32:36 -0800213
Eric Erfanian90508232017-03-24 09:31:16 -0700214# Enumerate target prebuilts to avoid linker warnings like
215# Dialer (java:sdk) should not link to dialer-guava (java:platform)
216include $(CLEAR_VARS)
217
218LOCAL_MODULE_CLASS := JAVA_LIBRARIES
Zachary Heidepriem9f39c2f2017-11-10 15:07:54 -0800219LOCAL_MODULE := dialer-guava-target
Bob Badoure7e7bbf2021-02-12 16:28:27 -0800220LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
221LOCAL_LICENSE_CONDITIONS := notice
222LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
Zachary Heidepriem9f39c2f2017-11-10 15:07:54 -0800223LOCAL_SDK_VERSION := current
zachh3fcd7082018-01-08 20:10:30 +0000224LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/com/google/guava/guava/23.0/guava-23.0.jar
Zachary Heidepriem9f39c2f2017-11-10 15:07:54 -0800225LOCAL_UNINSTALLABLE_MODULE := true
226
227include $(BUILD_PREBUILT)
228
229include $(CLEAR_VARS)
230
231LOCAL_MODULE_CLASS := JAVA_LIBRARIES
Zachary Heidepriem922cbed2017-11-11 18:49:27 -0800232LOCAL_MODULE := dialer-error-prone-target
Bob Badoure7e7bbf2021-02-12 16:28:27 -0800233LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
234LOCAL_LICENSE_CONDITIONS := notice
235LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
Zachary Heidepriem922cbed2017-11-11 18:49:27 -0800236LOCAL_SDK_VERSION := current
Colin Crossc87db952017-12-13 20:41:25 -0800237LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/com/google/errorprone/error_prone_annotations/2.0.18/error_prone_annotations-2.0.18.jar
Zachary Heidepriem922cbed2017-11-11 18:49:27 -0800238LOCAL_UNINSTALLABLE_MODULE := true
239
240include $(BUILD_PREBUILT)
241
242include $(CLEAR_VARS)
243
244LOCAL_MODULE_CLASS := JAVA_LIBRARIES
Eric Erfanian90508232017-03-24 09:31:16 -0700245LOCAL_MODULE := dialer-dagger2-target
Bob Badoure7e7bbf2021-02-12 16:28:27 -0800246LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
247LOCAL_LICENSE_CONDITIONS := notice
248LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
Eric Erfanian90508232017-03-24 09:31:16 -0700249LOCAL_SDK_VERSION := current
Colin Crossc87db952017-12-13 20:41:25 -0800250LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/com/google/dagger/dagger/2.7/dagger-2.7.jar
Eric Erfanian90508232017-03-24 09:31:16 -0700251LOCAL_UNINSTALLABLE_MODULE := true
252
253include $(BUILD_PREBUILT)
254
255include $(CLEAR_VARS)
256
257LOCAL_MODULE_CLASS := JAVA_LIBRARIES
258LOCAL_MODULE := dialer-disklrucache-target
Bob Badoure7e7bbf2021-02-12 16:28:27 -0800259LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
260LOCAL_LICENSE_CONDITIONS := notice
261LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
Eric Erfanian90508232017-03-24 09:31:16 -0700262LOCAL_SDK_VERSION := current
Colin Crossc87db952017-12-13 20:41:25 -0800263LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/disklrucache/SNAPSHOT/disklrucache-SNAPSHOT.jar
Eric Erfanian90508232017-03-24 09:31:16 -0700264LOCAL_UNINSTALLABLE_MODULE := true
265
266include $(BUILD_PREBUILT)
267
268include $(CLEAR_VARS)
269
270LOCAL_MODULE_CLASS := JAVA_LIBRARIES
271LOCAL_MODULE := dialer-gifdecoder-target
Bob Badoure7e7bbf2021-02-12 16:28:27 -0800272LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
273LOCAL_LICENSE_CONDITIONS := notice
274LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
Eric Erfanian90508232017-03-24 09:31:16 -0700275LOCAL_SDK_VERSION := current
Colin Crossc87db952017-12-13 20:41:25 -0800276LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/gifdecoder/SNAPSHOT/gifdecoder-SNAPSHOT.jar
Eric Erfanian90508232017-03-24 09:31:16 -0700277LOCAL_UNINSTALLABLE_MODULE := true
278
279include $(BUILD_PREBUILT)
280
281include $(CLEAR_VARS)
282
283LOCAL_MODULE_CLASS := JAVA_LIBRARIES
284LOCAL_MODULE := dialer-glide-target
Bob Badoure7e7bbf2021-02-12 16:28:27 -0800285LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
286LOCAL_LICENSE_CONDITIONS := notice
287LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
Eric Erfanian90508232017-03-24 09:31:16 -0700288LOCAL_SDK_VERSION := current
Colin Crossc87db952017-12-13 20:41:25 -0800289LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/glide/SNAPSHOT/glide-SNAPSHOT.jar
Eric Erfanian90508232017-03-24 09:31:16 -0700290LOCAL_UNINSTALLABLE_MODULE := true
291
292include $(BUILD_PREBUILT)
293
294include $(CLEAR_VARS)
295
296LOCAL_MODULE_CLASS := JAVA_LIBRARIES
Ta-wei Yenea7ea2b2018-02-08 18:03:40 -0800297LOCAL_MODULE := dialer-glide-annotation-target
Bob Badoure7e7bbf2021-02-12 16:28:27 -0800298LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
299LOCAL_LICENSE_CONDITIONS := notice
300LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
Ta-wei Yenea7ea2b2018-02-08 18:03:40 -0800301LOCAL_SDK_VERSION := current
302LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/annotation/SNAPSHOT/annotation-SNAPSHOT.jar
303LOCAL_UNINSTALLABLE_MODULE := true
304
305include $(BUILD_PREBUILT)
306
307include $(CLEAR_VARS)
308
309LOCAL_MODULE_CLASS := JAVA_LIBRARIES
Eric Erfanian90508232017-03-24 09:31:16 -0700310LOCAL_MODULE := dialer-javax-annotation-api-target
Bob Badoure7e7bbf2021-02-12 16:28:27 -0800311LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
312LOCAL_LICENSE_CONDITIONS := notice
313LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
Eric Erfanian90508232017-03-24 09:31:16 -0700314LOCAL_SDK_VERSION := current
Colin Crossc87db952017-12-13 20:41:25 -0800315LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2.jar
Eric Erfanian90508232017-03-24 09:31:16 -0700316LOCAL_UNINSTALLABLE_MODULE := true
317
318include $(BUILD_PREBUILT)
319
320include $(CLEAR_VARS)
321
322LOCAL_MODULE_CLASS := JAVA_LIBRARIES
323LOCAL_MODULE := dialer-libshortcutbadger-target
Bob Badoure7e7bbf2021-02-12 16:28:27 -0800324LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
325LOCAL_LICENSE_CONDITIONS := notice
326LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
Eric Erfanian90508232017-03-24 09:31:16 -0700327LOCAL_SDK_VERSION := current
Colin Crossc87db952017-12-13 20:41:25 -0800328LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/me/leolin/ShortcutBadger/1.1.13/ShortcutBadger-1.1.13.jar
Eric Erfanian90508232017-03-24 09:31:16 -0700329LOCAL_UNINSTALLABLE_MODULE := true
330
331include $(BUILD_PREBUILT)
332
333include $(CLEAR_VARS)
334
335LOCAL_MODULE_CLASS := JAVA_LIBRARIES
336LOCAL_MODULE := dialer-javax-inject-target
Bob Badoure7e7bbf2021-02-12 16:28:27 -0800337LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
338LOCAL_LICENSE_CONDITIONS := notice
339LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
Eric Erfanian90508232017-03-24 09:31:16 -0700340LOCAL_SDK_VERSION := current
Colin Crossc87db952017-12-13 20:41:25 -0800341LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar
Eric Erfanian90508232017-03-24 09:31:16 -0700342LOCAL_UNINSTALLABLE_MODULE := true
343
344include $(BUILD_PREBUILT)
345
Eric Erfanianccca3152017-02-22 16:32:36 -0800346include $(CLEAR_VARS)
Eric Erfaniancdb1edf2017-03-29 10:20:40 -0700347
Eric Erfaniancdb1edf2017-03-29 10:20:40 -0700348LOCAL_MODULE_CLASS := JAVA_LIBRARIES
349LOCAL_MODULE := dialer-commons-io-target
Bob Badoure7e7bbf2021-02-12 16:28:27 -0800350LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
351LOCAL_LICENSE_CONDITIONS := notice
352LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
Eric Erfaniancdb1edf2017-03-29 10:20:40 -0700353LOCAL_SDK_VERSION := current
Colin Crossc87db952017-12-13 20:41:25 -0800354LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar
Eric Erfaniancdb1edf2017-03-29 10:20:40 -0700355LOCAL_UNINSTALLABLE_MODULE := true
356
357include $(BUILD_PREBUILT)
358
359include $(CLEAR_VARS)
Eric Erfanian8369df02017-05-03 10:27:13 -0700360
361LOCAL_MODULE_CLASS := JAVA_LIBRARIES
362LOCAL_MODULE := dialer-mime4j-core-target
Bob Badoure7e7bbf2021-02-12 16:28:27 -0800363LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
364LOCAL_LICENSE_CONDITIONS := notice
365LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
Eric Erfanian8369df02017-05-03 10:27:13 -0700366LOCAL_SDK_VERSION := current
Colin Crossc87db952017-12-13 20:41:25 -0800367LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/org/apache/james/apache-mime4j-core/0.7.2/apache-mime4j-core-0.7.2.jar
Eric Erfanian8369df02017-05-03 10:27:13 -0700368LOCAL_UNINSTALLABLE_MODULE := true
369
370include $(BUILD_PREBUILT)
371
372include $(CLEAR_VARS)
373
374LOCAL_MODULE_CLASS := JAVA_LIBRARIES
375LOCAL_MODULE := dialer-mime4j-dom-target
Bob Badoure7e7bbf2021-02-12 16:28:27 -0800376LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
377LOCAL_LICENSE_CONDITIONS := notice
378LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
Eric Erfanian8369df02017-05-03 10:27:13 -0700379LOCAL_SDK_VERSION := current
Colin Crossc87db952017-12-13 20:41:25 -0800380LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/org/apache/james/apache-mime4j-dom/0.7.2/apache-mime4j-dom-0.7.2.jar
Eric Erfanian8369df02017-05-03 10:27:13 -0700381LOCAL_UNINSTALLABLE_MODULE := true
382
383include $(BUILD_PREBUILT)
384
Ta-wei Yen6af9c022017-05-25 14:57:51 -0700385include $(CLEAR_VARS)
Eric Erfanian2f1c7582017-06-19 11:26:01 -0700386
387LOCAL_MODULE_CLASS := JAVA_LIBRARIES
388LOCAL_MODULE := dialer-grpc-core-target
Bob Badoure7e7bbf2021-02-12 16:28:27 -0800389LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
390LOCAL_LICENSE_CONDITIONS := notice
391LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
Eric Erfanian2f1c7582017-06-19 11:26:01 -0700392LOCAL_SDK_VERSION := current
Colin Crossc87db952017-12-13 20:41:25 -0800393LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-core/1.0.3/grpc-core-1.0.3.jar
Eric Erfanian2f1c7582017-06-19 11:26:01 -0700394LOCAL_UNINSTALLABLE_MODULE := true
395
396include $(BUILD_PREBUILT)
397
398include $(CLEAR_VARS)
399
400LOCAL_MODULE_CLASS := JAVA_LIBRARIES
401LOCAL_MODULE := dialer-grpc-okhttp-target
Bob Badoure7e7bbf2021-02-12 16:28:27 -0800402LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
403LOCAL_LICENSE_CONDITIONS := notice
404LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
Eric Erfanian2f1c7582017-06-19 11:26:01 -0700405LOCAL_SDK_VERSION := current
Colin Crossc87db952017-12-13 20:41:25 -0800406LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-okhttp/1.0.3/grpc-okhttp-1.0.3.jar
Eric Erfanian2f1c7582017-06-19 11:26:01 -0700407LOCAL_UNINSTALLABLE_MODULE := true
408
409include $(BUILD_PREBUILT)
410
411include $(CLEAR_VARS)
412
413LOCAL_MODULE_CLASS := JAVA_LIBRARIES
414LOCAL_MODULE := dialer-grpc-protobuf-lite-target
Bob Badoure7e7bbf2021-02-12 16:28:27 -0800415LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
416LOCAL_LICENSE_CONDITIONS := notice
417LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
Eric Erfanian2f1c7582017-06-19 11:26:01 -0700418LOCAL_SDK_VERSION := current
Colin Crossc87db952017-12-13 20:41:25 -0800419LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-protobuf-lite/1.0.3/grpc-protobuf-lite-1.0.3.jar
Eric Erfanian2f1c7582017-06-19 11:26:01 -0700420LOCAL_UNINSTALLABLE_MODULE := true
421
422include $(BUILD_PREBUILT)
423
424include $(CLEAR_VARS)
425
426LOCAL_MODULE_CLASS := JAVA_LIBRARIES
427LOCAL_MODULE := dialer-grpc-stub-target
Bob Badoure7e7bbf2021-02-12 16:28:27 -0800428LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
429LOCAL_LICENSE_CONDITIONS := notice
430LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
Eric Erfanian2f1c7582017-06-19 11:26:01 -0700431LOCAL_SDK_VERSION := current
Colin Crossc87db952017-12-13 20:41:25 -0800432LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-stub/1.0.3/grpc-stub-1.0.3.jar
Eric Erfanian2f1c7582017-06-19 11:26:01 -0700433LOCAL_UNINSTALLABLE_MODULE := true
434
435include $(BUILD_PREBUILT)
436
437include $(CLEAR_VARS)
438
439LOCAL_MODULE_CLASS := JAVA_LIBRARIES
440LOCAL_MODULE := dialer-grpc-all-target
Bob Badoure7e7bbf2021-02-12 16:28:27 -0800441LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
442LOCAL_LICENSE_CONDITIONS := notice
443LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
Eric Erfanian2f1c7582017-06-19 11:26:01 -0700444LOCAL_SDK_VERSION := current
Colin Crossc87db952017-12-13 20:41:25 -0800445LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-all/1.0.3/grpc-all-1.0.3.jar
Eric Erfanian2f1c7582017-06-19 11:26:01 -0700446LOCAL_UNINSTALLABLE_MODULE := true
447
448include $(BUILD_PREBUILT)
449
450include $(CLEAR_VARS)
Eric Erfanian3bb96412017-06-22 10:19:53 -0700451
452LOCAL_MODULE_CLASS := JAVA_LIBRARIES
453LOCAL_MODULE := dialer-grpc-context-target
Bob Badoure7e7bbf2021-02-12 16:28:27 -0800454LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
455LOCAL_LICENSE_CONDITIONS := notice
456LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
Eric Erfanian3bb96412017-06-22 10:19:53 -0700457LOCAL_SDK_VERSION := current
Colin Crossc87db952017-12-13 20:41:25 -0800458LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-context/1.0.3/grpc-context-1.0.3.jar
Eric Erfanian3bb96412017-06-22 10:19:53 -0700459LOCAL_UNINSTALLABLE_MODULE := true
460
461include $(BUILD_PREBUILT)
462
Roland Levillain05d63612017-08-24 14:41:12 +0100463
464include $(CLEAR_VARS)
roldenburg9c9175f2018-02-15 15:22:24 -0800465
466LOCAL_MODULE_CLASS := JAVA_LIBRARIES
467LOCAL_MODULE := dialer-zxing-target
Bob Badoure7e7bbf2021-02-12 16:28:27 -0800468LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
469LOCAL_LICENSE_CONDITIONS := notice
470LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
roldenburg9c9175f2018-02-15 15:22:24 -0800471LOCAL_SDK_VERSION := current
472LOCAL_SRC_FILES := ../../../external/zxing/core/core.jar
473LOCAL_UNINSTALLABLE_MODULE := true
474
475include $(BUILD_PREBUILT)
476
477include $(CLEAR_VARS)
478
Colin Cross23b83ca2017-12-13 20:57:34 -0800479LOCAL_MODULE_CLASS := JAVA_LIBRARIES
480LOCAL_MODULE := dialer-okhttp-target
Bob Badoure7e7bbf2021-02-12 16:28:27 -0800481LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
482LOCAL_LICENSE_CONDITIONS := notice
483LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
Colin Cross23b83ca2017-12-13 20:57:34 -0800484LOCAL_SDK_VERSION := current
485LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.7.4/okhttp-2.7.4.jar
486LOCAL_UNINSTALLABLE_MODULE := true
487
488include $(BUILD_PREBUILT)
489
490include $(CLEAR_VARS)
491
492LOCAL_MODULE_CLASS := JAVA_LIBRARIES
493LOCAL_MODULE := dialer-okio-target
Bob Badoure7e7bbf2021-02-12 16:28:27 -0800494LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
495LOCAL_LICENSE_CONDITIONS := notice
496LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
Colin Cross23b83ca2017-12-13 20:57:34 -0800497LOCAL_SDK_VERSION := current
498LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/com/squareup/okio/okio/1.9.0/okio-1.9.0.jar
499LOCAL_UNINSTALLABLE_MODULE := true
500
501include $(BUILD_PREBUILT)
502
503include $(CLEAR_VARS)
504
505LOCAL_MODULE_CLASS := JAVA_LIBRARIES
506LOCAL_MODULE := dialer-j2objc-annotations-target
Bob Badoure7e7bbf2021-02-12 16:28:27 -0800507LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
508LOCAL_LICENSE_CONDITIONS := notice
509LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
Colin Cross23b83ca2017-12-13 20:57:34 -0800510LOCAL_SDK_VERSION := current
511LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar
512LOCAL_UNINSTALLABLE_MODULE := true
513
514include $(BUILD_PREBUILT)
515
516include $(CLEAR_VARS)
517
518LOCAL_MODULE_CLASS := JAVA_LIBRARIES
519LOCAL_MODULE := dialer-animal-sniffer-annotations-target
Bob Badoure7e7bbf2021-02-12 16:28:27 -0800520LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
521LOCAL_LICENSE_CONDITIONS := notice
522LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
Colin Cross23b83ca2017-12-13 20:57:34 -0800523LOCAL_SDK_VERSION := current
524LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.jar
525LOCAL_UNINSTALLABLE_MODULE := true
526
527include $(BUILD_PREBUILT)
528
529include $(CLEAR_VARS)
530
Weijia Xucac4acd2018-03-23 18:13:41 -0700531LOCAL_MODULE := dialer-rootcomponentprocessor
Bob Badoure7e7bbf2021-02-12 16:28:27 -0800532LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
533LOCAL_LICENSE_CONDITIONS := notice
534LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE
Weijia Xucac4acd2018-03-23 18:13:41 -0700535LOCAL_MODULE_CLASS := JAVA_LIBRARIES
536LOCAL_IS_HOST_MODULE := true
537BASE_DIR := java/com/android
538
539LOCAL_SRC_FILES := \
Zachary Heidepriem7acd97f2018-04-06 12:28:36 -0700540 $(call all-java-files-under, $(BASE_DIR)/dialer/rootcomponentgenerator) \
541 $(BASE_DIR)/dialer/inject/DialerRootComponent.java \
542 $(BASE_DIR)/dialer/inject/DialerVariant.java \
543 $(BASE_DIR)/dialer/inject/HasRootComponent.java \
544 $(BASE_DIR)/dialer/inject/IncludeInDialerRoot.java \
545 $(BASE_DIR)/dialer/inject/InstallIn.java \
546 $(BASE_DIR)/dialer/inject/RootComponentGeneratorMetadata.java
Weijia Xucac4acd2018-03-23 18:13:41 -0700547
548LOCAL_STATIC_JAVA_LIBRARIES := \
549 dialer-guava \
550 dialer-dagger2 \
Tony Mantler0f8a28a2018-03-29 14:23:58 -0700551 javapoet-prebuilt-jar \
Colin Crossf0268ec2020-06-19 14:00:55 -0700552 auto_service_annotations \
553 auto_common \
Weijia Xucac4acd2018-03-23 18:13:41 -0700554 dialer-javax-annotation-api \
555 dialer-javax-inject
556
Weijia Xucac4acd2018-03-23 18:13:41 -0700557LOCAL_JAVA_LANGUAGE_VERSION := 1.8
558
559include $(BUILD_HOST_JAVA_LIBRARY)
560
561include $(CLEAR_VARS)