Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 1 | # Local modifications: |
Eric Erfanian | 9a090c8 | 2017-03-16 19:22:24 -0700 | [diff] [blame] | 2 | # * 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 Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 5 | # * 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 Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 7 | # * b/37077388 temporarily disable proguard with javac |
Eric Erfanian | 939cdf0 | 2017-08-29 08:49:58 -0700 | [diff] [blame] | 8 | # * 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 Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 12 | LOCAL_PATH:= $(call my-dir) |
| 13 | include $(CLEAR_VARS) |
| 14 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 15 | # The base directory for Dialer sources. |
| 16 | BASE_DIR := java/com/android |
Jay Shrauner | 0f68a71 | 2014-07-16 16:13:57 -0700 | [diff] [blame] | 17 | |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 18 | # Exclude files incompatible with AOSP. |
| 19 | EXCLUDE_FILES := \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 20 | $(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 Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 34 | $(BASE_DIR)/incallui/maps/impl/StaticMapFragment.java \ |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 35 | |
Paul Duffin | 922b108 | 2017-05-05 15:05:47 +0100 | [diff] [blame] | 36 | # Exclude testing only class, not used anywhere here |
| 37 | EXCLUDE_FILES += \ |
| 38 | $(BASE_DIR)/contacts/common/format/testing/SpannedTestUtils.java |
| 39 | |
Weijia Xu | cac4acd | 2018-03-23 18:13:41 -0700 | [diff] [blame] | 40 | # Exclude rootcomponentgenerator |
| 41 | EXCLUDE_FILES += \ |
Zachary Heidepriem | 7acd97f | 2018-04-06 12:28:36 -0700 | [diff] [blame] | 42 | $(call all-java-files-under, $(BASE_DIR)/dialer/rootcomponentgenerator) \ |
| 43 | $(call all-java-files-under, $(BASE_DIR)/dialer/inject/demo) |
Weijia Xu | cac4acd | 2018-03-23 18:13:41 -0700 | [diff] [blame] | 44 | |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 45 | # Exclude build variants for now |
| 46 | EXCLUDE_FILES += \ |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 47 | $(BASE_DIR)/dialer/constants/googledialer/ConstantsImpl.java \ |
| 48 | $(BASE_DIR)/dialer/binary/google/GoogleStubDialerRootComponent.java \ |
Eric Erfanian | 939cdf0 | 2017-08-29 08:49:58 -0700 | [diff] [blame] | 49 | $(BASE_DIR)/dialer/binary/google/GoogleStubDialerApplication.java \ |
| 50 | |
| 51 | # * b/62875795 |
| 52 | ifneq ($(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 ) |
| 54 | endif |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 55 | |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 56 | EXCLUDE_RESOURCE_DIRECTORIES := \ |
| 57 | java/com/android/incallui/maps/impl/res \ |
| 58 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 59 | # All Dialers resources. |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 60 | RES_DIRS := $(call all-subdir-named-dirs,res,.) |
| 61 | RES_DIRS := $(filter-out $(EXCLUDE_RESOURCE_DIRECTORIES),$(RES_DIRS)) |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 62 | |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 63 | EXCLUDE_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 Erfanian | 9b4d9bc | 2017-07-25 09:36:19 -0700 | [diff] [blame] | 68 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 69 | # Dialer manifest files to merge. |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 70 | DIALER_MANIFEST_FILES := $(call all-named-files-under,AndroidManifest.xml,.) |
| 71 | DIALER_MANIFEST_FILES := $(filter-out $(EXCLUDE_MANIFESTS),$(DIALER_MANIFEST_FILES)) |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 72 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 73 | # Merge all manifest files. |
| 74 | LOCAL_FULL_LIBS_MANIFEST_FILES := \ |
| 75 | $(addprefix $(LOCAL_PATH)/, $(DIALER_MANIFEST_FILES)) |
Eric Erfanian | 1ce79b9 | 2017-08-10 08:11:26 -0700 | [diff] [blame] | 76 | |
sail | 3bcea98 | 2017-09-03 13:57:22 -0700 | [diff] [blame] | 77 | LOCAL_SRC_FILES := $(call all-java-files-under, $(BASE_DIR)) |
| 78 | LOCAL_SRC_FILES += $(call all-proto-files-under, $(BASE_DIR)) |
weijiaxu | 4bf1692 | 2018-06-22 12:52:21 -0700 | [diff] [blame] | 79 | LOCAL_SRC_FILES += $(call all-Iaidl-files-under, $(BASE_DIR)) |
Eric Erfanian | 939cdf0 | 2017-08-29 08:49:58 -0700 | [diff] [blame] | 80 | LOCAL_SRC_FILES := $(filter-out $(EXCLUDE_FILES),$(LOCAL_SRC_FILES)) |
Eric Erfanian | 9bdb503 | 2017-08-09 15:37:50 -0700 | [diff] [blame] | 81 | |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 82 | LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH) |
| 83 | |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 84 | LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(RES_DIRS)) |
| 85 | |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 86 | EXCLUDE_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 Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 91 | |
| 92 | # We specify each package explicitly to glob resource files. |
Zachary Heidepriem | 95fafa8 | 2017-11-13 11:11:32 -0800 | [diff] [blame] | 93 | include ${LOCAL_PATH}/packages.mk |
Eric Erfanian | 5aaa949 | 2017-08-29 17:33:38 -0700 | [diff] [blame] | 94 | |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 95 | LOCAL_AAPT_FLAGS := $(filter-out $(EXCLUDE_EXTRA_PACKAGES),$(LOCAL_AAPT_FLAGS)) |
| 96 | LOCAL_AAPT_FLAGS := $(addprefix --extra-packages , $(LOCAL_AAPT_FLAGS)) |
| 97 | LOCAL_AAPT_FLAGS += \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 98 | --auto-add-overlay \ |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 99 | --extra-packages me.leolin.shortcutbadger \ |
| 100 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 101 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 102 | android-common \ |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 103 | android-support-dynamic-animation \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 104 | com.android.vcard \ |
Colin Cross | 23b83ca | 2017-12-13 20:57:34 -0800 | [diff] [blame] | 105 | dialer-animal-sniffer-annotations-target \ |
Eric Erfanian | cdb1edf | 2017-03-29 10:20:40 -0700 | [diff] [blame] | 106 | dialer-commons-io-target \ |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 107 | dialer-dagger2-target \ |
| 108 | dialer-disklrucache-target \ |
| 109 | dialer-gifdecoder-target \ |
| 110 | dialer-glide-target \ |
Eric Erfanian | 1ce79b9 | 2017-08-10 08:11:26 -0700 | [diff] [blame] | 111 | dialer-grpc-all-target \ |
| 112 | dialer-grpc-context-target \ |
| 113 | dialer-grpc-core-target \ |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 114 | dialer-grpc-okhttp-target \ |
| 115 | dialer-grpc-protobuf-lite-target \ |
Eric Erfanian | 1ce79b9 | 2017-08-10 08:11:26 -0700 | [diff] [blame] | 116 | dialer-grpc-stub-target \ |
Colin Cross | 23b83ca | 2017-12-13 20:57:34 -0800 | [diff] [blame] | 117 | dialer-j2objc-annotations-target \ |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 118 | dialer-javax-annotation-api-target \ |
| 119 | dialer-javax-inject-target \ |
| 120 | dialer-libshortcutbadger-target \ |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 121 | dialer-mime4j-core-target \ |
| 122 | dialer-mime4j-dom-target \ |
Colin Cross | 23b83ca | 2017-12-13 20:57:34 -0800 | [diff] [blame] | 123 | dialer-okhttp-target \ |
| 124 | dialer-okio-target \ |
Zachary Heidepriem | 922cbed | 2017-11-11 18:49:27 -0800 | [diff] [blame] | 125 | dialer-error-prone-target \ |
Zachary Heidepriem | 9f39c2f | 2017-11-10 15:07:54 -0800 | [diff] [blame] | 126 | dialer-guava-target \ |
Ta-wei Yen | ea7ea2b | 2018-02-08 18:03:40 -0800 | [diff] [blame] | 127 | dialer-glide-target \ |
| 128 | dialer-glide-annotation-target \ |
roldenburg | 9c9175f | 2018-02-15 15:22:24 -0800 | [diff] [blame] | 129 | dialer-zxing-target \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 130 | jsr305 \ |
Eric Erfanian | 9bfcb3d | 2017-09-05 10:53:21 -0700 | [diff] [blame] | 131 | libbackup \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 132 | libphonenumber \ |
Eric Erfanian | cdb1edf | 2017-03-29 10:20:40 -0700 | [diff] [blame] | 133 | volley \ |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 134 | |
Alan Viverette | b5870be | 2017-04-26 11:15:10 -0400 | [diff] [blame] | 135 | LOCAL_STATIC_ANDROID_LIBRARIES := \ |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 136 | android-support-core-ui \ |
Alan Viverette | 423e293 | 2018-02-01 15:52:28 -0500 | [diff] [blame] | 137 | $(ANDROID_SUPPORT_DESIGN_TARGETS) \ |
Alan Viverette | b5870be | 2017-04-26 11:15:10 -0400 | [diff] [blame] | 138 | 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 Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 145 | LOCAL_JAVA_LIBRARIES := \ |
Colin Cross | f0268ec | 2020-06-19 14:00:55 -0700 | [diff] [blame] | 146 | auto_value_annotations \ |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 147 | org.apache.http.legacy \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 148 | |
Roland Levillain | 05d6361 | 2017-08-24 14:41:12 +0100 | [diff] [blame] | 149 | LOCAL_ANNOTATION_PROCESSORS := \ |
Colin Cross | f0268ec | 2020-06-19 14:00:55 -0700 | [diff] [blame] | 150 | auto_value_plugin \ |
Tony Mantler | 0f8a28a | 2018-03-29 14:23:58 -0700 | [diff] [blame] | 151 | javapoet-prebuilt-jar \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 152 | dialer-dagger2 \ |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 153 | dialer-dagger2-compiler \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 154 | dialer-dagger2-producers \ |
Ta-wei Yen | a8bbb35 | 2018-01-25 18:10:32 -0800 | [diff] [blame] | 155 | dialer-glide-annotation \ |
Ta-wei Yen | ea7ea2b | 2018-02-08 18:03:40 -0800 | [diff] [blame] | 156 | dialer-glide-compiler \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 157 | dialer-guava \ |
| 158 | dialer-javax-annotation-api \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 159 | dialer-javax-inject \ |
Weijia Xu | cac4acd | 2018-03-23 18:13:41 -0700 | [diff] [blame] | 160 | dialer-rootcomponentprocessor |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 161 | |
Roland Levillain | 05d6361 | 2017-08-24 14:41:12 +0100 | [diff] [blame] | 162 | LOCAL_ANNOTATION_PROCESSOR_CLASSES := \ |
Zachary Heidepriem | 7acd97f | 2018-04-06 12:28:36 -0700 | [diff] [blame] | 163 | com.google.auto.value.processor.AutoValueProcessor,dagger.internal.codegen.ComponentProcessor,com.bumptech.glide.annotation.compiler.GlideAnnotationProcessor,com.android.dialer.rootcomponentgenerator.RootComponentProcessor |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 164 | |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 165 | # Proguard includes |
Colin Cross | 23b83ca | 2017-12-13 20:57:34 -0800 | [diff] [blame] | 166 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags $(call all-named-files-under,proguard.*flags,$(BASE_DIR)) |
Colin Cross | f939e09 | 2017-04-05 22:13:40 -0700 | [diff] [blame] | 167 | LOCAL_PROGUARD_ENABLED := custom |
| 168 | |
Colin Cross | f939e09 | 2017-04-05 22:13:40 -0700 | [diff] [blame] | 169 | LOCAL_PROGUARD_ENABLED += optimization |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 170 | |
Ta-wei Yen | 6640e55 | 2017-04-21 15:33:24 -0700 | [diff] [blame] | 171 | LOCAL_SDK_VERSION := system_current |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 172 | LOCAL_MODULE_TAGS := optional |
| 173 | LOCAL_PACKAGE_NAME := Dialer |
| 174 | LOCAL_CERTIFICATE := shared |
| 175 | LOCAL_PRIVILEGED_MODULE := true |
Anton Hansson | 4dccc47 | 2019-01-25 13:58:33 +0000 | [diff] [blame] | 176 | LOCAL_PRODUCT_MODULE := true |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 177 | LOCAL_USE_AAPT2 := true |
Anton Hansson | 4dccc47 | 2019-01-25 13:58:33 +0000 | [diff] [blame] | 178 | LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.dialer |
Ulya Trafimovich | c89f1e1 | 2021-03-11 13:52:38 +0000 | [diff] [blame] | 179 | LOCAL_USES_LIBRARIES := org.apache.http.legacy |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 180 | |
Bob Badour | 02d6436 | 2021-04-23 16:13:08 -0700 | [diff] [blame] | 181 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 182 | LOCAL_LICENSE_CONDITIONS := notice |
| 183 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 184 | include $(BUILD_PACKAGE) |
| 185 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 186 | # Cleanup local state |
| 187 | BASE_DIR := |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 188 | EXCLUDE_FILES := |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 189 | RES_DIRS := |
| 190 | DIALER_MANIFEST_FILES := |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 191 | EXCLUDE_MANIFESTS := |
| 192 | EXCLUDE_EXTRA_PACKAGES := |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 193 | |
| 194 | # Create references to prebuilt libraries. |
| 195 | include $(CLEAR_VARS) |
| 196 | |
| 197 | LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \ |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 198 | 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 Yen | a8bbb35 | 2018-01-25 18:10:32 -0800 | [diff] [blame] | 201 | 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 Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 203 | 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 \ |
zachh | 3fcd708 | 2018-01-08 20:10:30 +0000 | [diff] [blame] | 208 | dialer-guava:../../../prebuilts/tools/common/m2/repository/com/google/guava/guava/23.0/guava-23.0.jar \ |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 209 | dialer-javax-annotation-api:../../../prebuilts/tools/common/m2/repository/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2.jar \ |
Ta-wei Yen | ea7ea2b | 2018-02-08 18:03:40 -0800 | [diff] [blame] | 210 | dialer-javax-inject:../../../prebuilts/tools/common/m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 211 | |
Roland Levillain | 05d6361 | 2017-08-24 14:41:12 +0100 | [diff] [blame] | 212 | include $(BUILD_HOST_PREBUILT) |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 213 | |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 214 | # Enumerate target prebuilts to avoid linker warnings like |
| 215 | # Dialer (java:sdk) should not link to dialer-guava (java:platform) |
| 216 | include $(CLEAR_VARS) |
| 217 | |
| 218 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
Zachary Heidepriem | 9f39c2f | 2017-11-10 15:07:54 -0800 | [diff] [blame] | 219 | LOCAL_MODULE := dialer-guava-target |
Bob Badour | e7e7bbf | 2021-02-12 16:28:27 -0800 | [diff] [blame] | 220 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 221 | LOCAL_LICENSE_CONDITIONS := notice |
| 222 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE |
Zachary Heidepriem | 9f39c2f | 2017-11-10 15:07:54 -0800 | [diff] [blame] | 223 | LOCAL_SDK_VERSION := current |
zachh | 3fcd708 | 2018-01-08 20:10:30 +0000 | [diff] [blame] | 224 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/com/google/guava/guava/23.0/guava-23.0.jar |
Zachary Heidepriem | 9f39c2f | 2017-11-10 15:07:54 -0800 | [diff] [blame] | 225 | LOCAL_UNINSTALLABLE_MODULE := true |
| 226 | |
| 227 | include $(BUILD_PREBUILT) |
| 228 | |
| 229 | include $(CLEAR_VARS) |
| 230 | |
| 231 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
Zachary Heidepriem | 922cbed | 2017-11-11 18:49:27 -0800 | [diff] [blame] | 232 | LOCAL_MODULE := dialer-error-prone-target |
Bob Badour | e7e7bbf | 2021-02-12 16:28:27 -0800 | [diff] [blame] | 233 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 234 | LOCAL_LICENSE_CONDITIONS := notice |
| 235 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE |
Zachary Heidepriem | 922cbed | 2017-11-11 18:49:27 -0800 | [diff] [blame] | 236 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 237 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/com/google/errorprone/error_prone_annotations/2.0.18/error_prone_annotations-2.0.18.jar |
Zachary Heidepriem | 922cbed | 2017-11-11 18:49:27 -0800 | [diff] [blame] | 238 | LOCAL_UNINSTALLABLE_MODULE := true |
| 239 | |
| 240 | include $(BUILD_PREBUILT) |
| 241 | |
| 242 | include $(CLEAR_VARS) |
| 243 | |
| 244 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 245 | LOCAL_MODULE := dialer-dagger2-target |
Bob Badour | e7e7bbf | 2021-02-12 16:28:27 -0800 | [diff] [blame] | 246 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 247 | LOCAL_LICENSE_CONDITIONS := notice |
| 248 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 249 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 250 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/com/google/dagger/dagger/2.7/dagger-2.7.jar |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 251 | LOCAL_UNINSTALLABLE_MODULE := true |
| 252 | |
| 253 | include $(BUILD_PREBUILT) |
| 254 | |
| 255 | include $(CLEAR_VARS) |
| 256 | |
| 257 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 258 | LOCAL_MODULE := dialer-disklrucache-target |
Bob Badour | e7e7bbf | 2021-02-12 16:28:27 -0800 | [diff] [blame] | 259 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 260 | LOCAL_LICENSE_CONDITIONS := notice |
| 261 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 262 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 263 | LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/disklrucache/SNAPSHOT/disklrucache-SNAPSHOT.jar |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 264 | LOCAL_UNINSTALLABLE_MODULE := true |
| 265 | |
| 266 | include $(BUILD_PREBUILT) |
| 267 | |
| 268 | include $(CLEAR_VARS) |
| 269 | |
| 270 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 271 | LOCAL_MODULE := dialer-gifdecoder-target |
Bob Badour | e7e7bbf | 2021-02-12 16:28:27 -0800 | [diff] [blame] | 272 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 273 | LOCAL_LICENSE_CONDITIONS := notice |
| 274 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 275 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 276 | LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/gifdecoder/SNAPSHOT/gifdecoder-SNAPSHOT.jar |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 277 | LOCAL_UNINSTALLABLE_MODULE := true |
| 278 | |
| 279 | include $(BUILD_PREBUILT) |
| 280 | |
| 281 | include $(CLEAR_VARS) |
| 282 | |
| 283 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 284 | LOCAL_MODULE := dialer-glide-target |
Bob Badour | e7e7bbf | 2021-02-12 16:28:27 -0800 | [diff] [blame] | 285 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 286 | LOCAL_LICENSE_CONDITIONS := notice |
| 287 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 288 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 289 | LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/glide/SNAPSHOT/glide-SNAPSHOT.jar |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 290 | LOCAL_UNINSTALLABLE_MODULE := true |
| 291 | |
| 292 | include $(BUILD_PREBUILT) |
| 293 | |
| 294 | include $(CLEAR_VARS) |
| 295 | |
| 296 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
Ta-wei Yen | ea7ea2b | 2018-02-08 18:03:40 -0800 | [diff] [blame] | 297 | LOCAL_MODULE := dialer-glide-annotation-target |
Bob Badour | e7e7bbf | 2021-02-12 16:28:27 -0800 | [diff] [blame] | 298 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 299 | LOCAL_LICENSE_CONDITIONS := notice |
| 300 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE |
Ta-wei Yen | ea7ea2b | 2018-02-08 18:03:40 -0800 | [diff] [blame] | 301 | LOCAL_SDK_VERSION := current |
| 302 | LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/annotation/SNAPSHOT/annotation-SNAPSHOT.jar |
| 303 | LOCAL_UNINSTALLABLE_MODULE := true |
| 304 | |
| 305 | include $(BUILD_PREBUILT) |
| 306 | |
| 307 | include $(CLEAR_VARS) |
| 308 | |
| 309 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 310 | LOCAL_MODULE := dialer-javax-annotation-api-target |
Bob Badour | e7e7bbf | 2021-02-12 16:28:27 -0800 | [diff] [blame] | 311 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 312 | LOCAL_LICENSE_CONDITIONS := notice |
| 313 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 314 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 315 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2.jar |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 316 | LOCAL_UNINSTALLABLE_MODULE := true |
| 317 | |
| 318 | include $(BUILD_PREBUILT) |
| 319 | |
| 320 | include $(CLEAR_VARS) |
| 321 | |
| 322 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 323 | LOCAL_MODULE := dialer-libshortcutbadger-target |
Bob Badour | e7e7bbf | 2021-02-12 16:28:27 -0800 | [diff] [blame] | 324 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 325 | LOCAL_LICENSE_CONDITIONS := notice |
| 326 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 327 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 328 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/me/leolin/ShortcutBadger/1.1.13/ShortcutBadger-1.1.13.jar |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 329 | LOCAL_UNINSTALLABLE_MODULE := true |
| 330 | |
| 331 | include $(BUILD_PREBUILT) |
| 332 | |
| 333 | include $(CLEAR_VARS) |
| 334 | |
| 335 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 336 | LOCAL_MODULE := dialer-javax-inject-target |
Bob Badour | e7e7bbf | 2021-02-12 16:28:27 -0800 | [diff] [blame] | 337 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 338 | LOCAL_LICENSE_CONDITIONS := notice |
| 339 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 340 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 341 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 342 | LOCAL_UNINSTALLABLE_MODULE := true |
| 343 | |
| 344 | include $(BUILD_PREBUILT) |
| 345 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 346 | include $(CLEAR_VARS) |
Eric Erfanian | cdb1edf | 2017-03-29 10:20:40 -0700 | [diff] [blame] | 347 | |
Eric Erfanian | cdb1edf | 2017-03-29 10:20:40 -0700 | [diff] [blame] | 348 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 349 | LOCAL_MODULE := dialer-commons-io-target |
Bob Badour | e7e7bbf | 2021-02-12 16:28:27 -0800 | [diff] [blame] | 350 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 351 | LOCAL_LICENSE_CONDITIONS := notice |
| 352 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE |
Eric Erfanian | cdb1edf | 2017-03-29 10:20:40 -0700 | [diff] [blame] | 353 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 354 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar |
Eric Erfanian | cdb1edf | 2017-03-29 10:20:40 -0700 | [diff] [blame] | 355 | LOCAL_UNINSTALLABLE_MODULE := true |
| 356 | |
| 357 | include $(BUILD_PREBUILT) |
| 358 | |
| 359 | include $(CLEAR_VARS) |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 360 | |
| 361 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 362 | LOCAL_MODULE := dialer-mime4j-core-target |
Bob Badour | e7e7bbf | 2021-02-12 16:28:27 -0800 | [diff] [blame] | 363 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 364 | LOCAL_LICENSE_CONDITIONS := notice |
| 365 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 366 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 367 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/org/apache/james/apache-mime4j-core/0.7.2/apache-mime4j-core-0.7.2.jar |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 368 | LOCAL_UNINSTALLABLE_MODULE := true |
| 369 | |
| 370 | include $(BUILD_PREBUILT) |
| 371 | |
| 372 | include $(CLEAR_VARS) |
| 373 | |
| 374 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 375 | LOCAL_MODULE := dialer-mime4j-dom-target |
Bob Badour | e7e7bbf | 2021-02-12 16:28:27 -0800 | [diff] [blame] | 376 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 377 | LOCAL_LICENSE_CONDITIONS := notice |
| 378 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 379 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 380 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/org/apache/james/apache-mime4j-dom/0.7.2/apache-mime4j-dom-0.7.2.jar |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 381 | LOCAL_UNINSTALLABLE_MODULE := true |
| 382 | |
| 383 | include $(BUILD_PREBUILT) |
| 384 | |
Ta-wei Yen | 6af9c02 | 2017-05-25 14:57:51 -0700 | [diff] [blame] | 385 | include $(CLEAR_VARS) |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 386 | |
| 387 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 388 | LOCAL_MODULE := dialer-grpc-core-target |
Bob Badour | e7e7bbf | 2021-02-12 16:28:27 -0800 | [diff] [blame] | 389 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 390 | LOCAL_LICENSE_CONDITIONS := notice |
| 391 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 392 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 393 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-core/1.0.3/grpc-core-1.0.3.jar |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 394 | LOCAL_UNINSTALLABLE_MODULE := true |
| 395 | |
| 396 | include $(BUILD_PREBUILT) |
| 397 | |
| 398 | include $(CLEAR_VARS) |
| 399 | |
| 400 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 401 | LOCAL_MODULE := dialer-grpc-okhttp-target |
Bob Badour | e7e7bbf | 2021-02-12 16:28:27 -0800 | [diff] [blame] | 402 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 403 | LOCAL_LICENSE_CONDITIONS := notice |
| 404 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 405 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 406 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-okhttp/1.0.3/grpc-okhttp-1.0.3.jar |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 407 | LOCAL_UNINSTALLABLE_MODULE := true |
| 408 | |
| 409 | include $(BUILD_PREBUILT) |
| 410 | |
| 411 | include $(CLEAR_VARS) |
| 412 | |
| 413 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 414 | LOCAL_MODULE := dialer-grpc-protobuf-lite-target |
Bob Badour | e7e7bbf | 2021-02-12 16:28:27 -0800 | [diff] [blame] | 415 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 416 | LOCAL_LICENSE_CONDITIONS := notice |
| 417 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 418 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 419 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-protobuf-lite/1.0.3/grpc-protobuf-lite-1.0.3.jar |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 420 | LOCAL_UNINSTALLABLE_MODULE := true |
| 421 | |
| 422 | include $(BUILD_PREBUILT) |
| 423 | |
| 424 | include $(CLEAR_VARS) |
| 425 | |
| 426 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 427 | LOCAL_MODULE := dialer-grpc-stub-target |
Bob Badour | e7e7bbf | 2021-02-12 16:28:27 -0800 | [diff] [blame] | 428 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 429 | LOCAL_LICENSE_CONDITIONS := notice |
| 430 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 431 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 432 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-stub/1.0.3/grpc-stub-1.0.3.jar |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 433 | LOCAL_UNINSTALLABLE_MODULE := true |
| 434 | |
| 435 | include $(BUILD_PREBUILT) |
| 436 | |
| 437 | include $(CLEAR_VARS) |
| 438 | |
| 439 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 440 | LOCAL_MODULE := dialer-grpc-all-target |
Bob Badour | e7e7bbf | 2021-02-12 16:28:27 -0800 | [diff] [blame] | 441 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 442 | LOCAL_LICENSE_CONDITIONS := notice |
| 443 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 444 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 445 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-all/1.0.3/grpc-all-1.0.3.jar |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 446 | LOCAL_UNINSTALLABLE_MODULE := true |
| 447 | |
| 448 | include $(BUILD_PREBUILT) |
| 449 | |
| 450 | include $(CLEAR_VARS) |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 451 | |
| 452 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 453 | LOCAL_MODULE := dialer-grpc-context-target |
Bob Badour | e7e7bbf | 2021-02-12 16:28:27 -0800 | [diff] [blame] | 454 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 455 | LOCAL_LICENSE_CONDITIONS := notice |
| 456 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 457 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 458 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-context/1.0.3/grpc-context-1.0.3.jar |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 459 | LOCAL_UNINSTALLABLE_MODULE := true |
| 460 | |
| 461 | include $(BUILD_PREBUILT) |
| 462 | |
Roland Levillain | 05d6361 | 2017-08-24 14:41:12 +0100 | [diff] [blame] | 463 | |
| 464 | include $(CLEAR_VARS) |
roldenburg | 9c9175f | 2018-02-15 15:22:24 -0800 | [diff] [blame] | 465 | |
| 466 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 467 | LOCAL_MODULE := dialer-zxing-target |
Bob Badour | e7e7bbf | 2021-02-12 16:28:27 -0800 | [diff] [blame] | 468 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 469 | LOCAL_LICENSE_CONDITIONS := notice |
| 470 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE |
roldenburg | 9c9175f | 2018-02-15 15:22:24 -0800 | [diff] [blame] | 471 | LOCAL_SDK_VERSION := current |
| 472 | LOCAL_SRC_FILES := ../../../external/zxing/core/core.jar |
| 473 | LOCAL_UNINSTALLABLE_MODULE := true |
| 474 | |
| 475 | include $(BUILD_PREBUILT) |
| 476 | |
| 477 | include $(CLEAR_VARS) |
| 478 | |
Colin Cross | 23b83ca | 2017-12-13 20:57:34 -0800 | [diff] [blame] | 479 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 480 | LOCAL_MODULE := dialer-okhttp-target |
Bob Badour | e7e7bbf | 2021-02-12 16:28:27 -0800 | [diff] [blame] | 481 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 482 | LOCAL_LICENSE_CONDITIONS := notice |
| 483 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE |
Colin Cross | 23b83ca | 2017-12-13 20:57:34 -0800 | [diff] [blame] | 484 | LOCAL_SDK_VERSION := current |
| 485 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.7.4/okhttp-2.7.4.jar |
| 486 | LOCAL_UNINSTALLABLE_MODULE := true |
| 487 | |
| 488 | include $(BUILD_PREBUILT) |
| 489 | |
| 490 | include $(CLEAR_VARS) |
| 491 | |
| 492 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 493 | LOCAL_MODULE := dialer-okio-target |
Bob Badour | e7e7bbf | 2021-02-12 16:28:27 -0800 | [diff] [blame] | 494 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 495 | LOCAL_LICENSE_CONDITIONS := notice |
| 496 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE |
Colin Cross | 23b83ca | 2017-12-13 20:57:34 -0800 | [diff] [blame] | 497 | LOCAL_SDK_VERSION := current |
| 498 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/com/squareup/okio/okio/1.9.0/okio-1.9.0.jar |
| 499 | LOCAL_UNINSTALLABLE_MODULE := true |
| 500 | |
| 501 | include $(BUILD_PREBUILT) |
| 502 | |
| 503 | include $(CLEAR_VARS) |
| 504 | |
| 505 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 506 | LOCAL_MODULE := dialer-j2objc-annotations-target |
Bob Badour | e7e7bbf | 2021-02-12 16:28:27 -0800 | [diff] [blame] | 507 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 508 | LOCAL_LICENSE_CONDITIONS := notice |
| 509 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE |
Colin Cross | 23b83ca | 2017-12-13 20:57:34 -0800 | [diff] [blame] | 510 | LOCAL_SDK_VERSION := current |
| 511 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar |
| 512 | LOCAL_UNINSTALLABLE_MODULE := true |
| 513 | |
| 514 | include $(BUILD_PREBUILT) |
| 515 | |
| 516 | include $(CLEAR_VARS) |
| 517 | |
| 518 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 519 | LOCAL_MODULE := dialer-animal-sniffer-annotations-target |
Bob Badour | e7e7bbf | 2021-02-12 16:28:27 -0800 | [diff] [blame] | 520 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 521 | LOCAL_LICENSE_CONDITIONS := notice |
| 522 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE |
Colin Cross | 23b83ca | 2017-12-13 20:57:34 -0800 | [diff] [blame] | 523 | LOCAL_SDK_VERSION := current |
| 524 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.jar |
| 525 | LOCAL_UNINSTALLABLE_MODULE := true |
| 526 | |
| 527 | include $(BUILD_PREBUILT) |
| 528 | |
| 529 | include $(CLEAR_VARS) |
| 530 | |
Weijia Xu | cac4acd | 2018-03-23 18:13:41 -0700 | [diff] [blame] | 531 | LOCAL_MODULE := dialer-rootcomponentprocessor |
Bob Badour | e7e7bbf | 2021-02-12 16:28:27 -0800 | [diff] [blame] | 532 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 533 | LOCAL_LICENSE_CONDITIONS := notice |
| 534 | LOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE |
Weijia Xu | cac4acd | 2018-03-23 18:13:41 -0700 | [diff] [blame] | 535 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 536 | LOCAL_IS_HOST_MODULE := true |
| 537 | BASE_DIR := java/com/android |
| 538 | |
| 539 | LOCAL_SRC_FILES := \ |
Zachary Heidepriem | 7acd97f | 2018-04-06 12:28:36 -0700 | [diff] [blame] | 540 | $(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 Xu | cac4acd | 2018-03-23 18:13:41 -0700 | [diff] [blame] | 547 | |
| 548 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
| 549 | dialer-guava \ |
| 550 | dialer-dagger2 \ |
Tony Mantler | 0f8a28a | 2018-03-29 14:23:58 -0700 | [diff] [blame] | 551 | javapoet-prebuilt-jar \ |
Colin Cross | f0268ec | 2020-06-19 14:00:55 -0700 | [diff] [blame] | 552 | auto_service_annotations \ |
| 553 | auto_common \ |
Weijia Xu | cac4acd | 2018-03-23 18:13:41 -0700 | [diff] [blame] | 554 | dialer-javax-annotation-api \ |
| 555 | dialer-javax-inject |
| 556 | |
Weijia Xu | cac4acd | 2018-03-23 18:13:41 -0700 | [diff] [blame] | 557 | LOCAL_JAVA_LANGUAGE_VERSION := 1.8 |
| 558 | |
| 559 | include $(BUILD_HOST_JAVA_LIBRARY) |
| 560 | |
| 561 | include $(CLEAR_VARS) |