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 | |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 40 | # Exclude build variants for now |
| 41 | EXCLUDE_FILES += \ |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 42 | $(BASE_DIR)/dialer/constants/googledialer/ConstantsImpl.java \ |
| 43 | $(BASE_DIR)/dialer/binary/google/GoogleStubDialerRootComponent.java \ |
Eric Erfanian | 939cdf0 | 2017-08-29 08:49:58 -0700 | [diff] [blame] | 44 | $(BASE_DIR)/dialer/binary/google/GoogleStubDialerApplication.java \ |
| 45 | |
| 46 | # * b/62875795 |
| 47 | ifneq ($(wildcard packages/apps/Dialer/java/com/android/voicemail/impl/com/google/internal/communications/voicemailtranscription/v1/VoicemailTranscriptionServiceGrpc.java),) |
| 48 | $(error Please remove file packages/apps/Dialer/java/com/android/voicemail/impl/com/google/internal/communications/voicemailtranscription/v1/VoicemailTranscriptionServiceGrpc.java ) |
| 49 | endif |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 50 | |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 51 | EXCLUDE_RESOURCE_DIRECTORIES := \ |
| 52 | java/com/android/incallui/maps/impl/res \ |
| 53 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 54 | # All Dialers resources. |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 55 | RES_DIRS := $(call all-subdir-named-dirs,res,.) |
| 56 | RES_DIRS := $(filter-out $(EXCLUDE_RESOURCE_DIRECTORIES),$(RES_DIRS)) |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 57 | |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 58 | EXCLUDE_MANIFESTS := \ |
| 59 | $(BASE_DIR)/dialer/binary/aosp/testing/AndroidManifest.xml \ |
| 60 | $(BASE_DIR)/dialer/binary/google/AndroidManifest.xml \ |
| 61 | $(BASE_DIR)/incallui/calllocation/impl/AndroidManifest.xml \ |
| 62 | $(BASE_DIR)/incallui/maps/impl/AndroidManifest.xml \ |
Eric Erfanian | 9b4d9bc | 2017-07-25 09:36:19 -0700 | [diff] [blame] | 63 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 64 | # Dialer manifest files to merge. |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 65 | DIALER_MANIFEST_FILES := $(call all-named-files-under,AndroidManifest.xml,.) |
| 66 | DIALER_MANIFEST_FILES := $(filter-out $(EXCLUDE_MANIFESTS),$(DIALER_MANIFEST_FILES)) |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 67 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 68 | # Merge all manifest files. |
| 69 | LOCAL_FULL_LIBS_MANIFEST_FILES := \ |
| 70 | $(addprefix $(LOCAL_PATH)/, $(DIALER_MANIFEST_FILES)) |
Eric Erfanian | 1ce79b9 | 2017-08-10 08:11:26 -0700 | [diff] [blame] | 71 | |
sail | 3bcea98 | 2017-09-03 13:57:22 -0700 | [diff] [blame] | 72 | LOCAL_SRC_FILES := $(call all-java-files-under, $(BASE_DIR)) |
| 73 | LOCAL_SRC_FILES += $(call all-proto-files-under, $(BASE_DIR)) |
Eric Erfanian | 939cdf0 | 2017-08-29 08:49:58 -0700 | [diff] [blame] | 74 | LOCAL_SRC_FILES := $(filter-out $(EXCLUDE_FILES),$(LOCAL_SRC_FILES)) |
Eric Erfanian | 9bdb503 | 2017-08-09 15:37:50 -0700 | [diff] [blame] | 75 | |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 76 | LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH) |
| 77 | |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 78 | LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(RES_DIRS)) |
| 79 | |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 80 | EXCLUDE_EXTRA_PACKAGES := \ |
| 81 | com.android.dialer.binary.aosp.testing \ |
| 82 | com.android.dialer.binary.google \ |
| 83 | com.android.incallui.calllocation.impl \ |
| 84 | com.android.incallui.maps.impl \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 85 | |
| 86 | # We specify each package explicitly to glob resource files. |
Zachary Heidepriem | 95fafa8 | 2017-11-13 11:11:32 -0800 | [diff] [blame] | 87 | include ${LOCAL_PATH}/packages.mk |
Eric Erfanian | 5aaa949 | 2017-08-29 17:33:38 -0700 | [diff] [blame] | 88 | |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 89 | LOCAL_AAPT_FLAGS := $(filter-out $(EXCLUDE_EXTRA_PACKAGES),$(LOCAL_AAPT_FLAGS)) |
| 90 | LOCAL_AAPT_FLAGS := $(addprefix --extra-packages , $(LOCAL_AAPT_FLAGS)) |
| 91 | LOCAL_AAPT_FLAGS += \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 92 | --auto-add-overlay \ |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 93 | --extra-packages me.leolin.shortcutbadger \ |
| 94 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 95 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 96 | android-common \ |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 97 | android-support-dynamic-animation \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 98 | com.android.vcard \ |
Eric Erfanian | cdb1edf | 2017-03-29 10:20:40 -0700 | [diff] [blame] | 99 | dialer-commons-io-target \ |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 100 | dialer-dagger2-target \ |
| 101 | dialer-disklrucache-target \ |
| 102 | dialer-gifdecoder-target \ |
| 103 | dialer-glide-target \ |
Eric Erfanian | 1ce79b9 | 2017-08-10 08:11:26 -0700 | [diff] [blame] | 104 | dialer-grpc-all-target \ |
| 105 | dialer-grpc-context-target \ |
| 106 | dialer-grpc-core-target \ |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 107 | dialer-grpc-okhttp-target \ |
| 108 | dialer-grpc-protobuf-lite-target \ |
Eric Erfanian | 1ce79b9 | 2017-08-10 08:11:26 -0700 | [diff] [blame] | 109 | dialer-grpc-stub-target \ |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 110 | dialer-javax-annotation-api-target \ |
| 111 | dialer-javax-inject-target \ |
| 112 | dialer-libshortcutbadger-target \ |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 113 | dialer-mime4j-core-target \ |
| 114 | dialer-mime4j-dom-target \ |
Zachary Heidepriem | 922cbed | 2017-11-11 18:49:27 -0800 | [diff] [blame] | 115 | dialer-error-prone-target \ |
Zachary Heidepriem | 9f39c2f | 2017-11-10 15:07:54 -0800 | [diff] [blame] | 116 | dialer-guava-target \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 117 | jsr305 \ |
Eric Erfanian | 9bfcb3d | 2017-09-05 10:53:21 -0700 | [diff] [blame] | 118 | libbackup \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 119 | libphonenumber \ |
Eric Erfanian | cdb1edf | 2017-03-29 10:20:40 -0700 | [diff] [blame] | 120 | volley \ |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 121 | |
Alan Viverette | b5870be | 2017-04-26 11:15:10 -0400 | [diff] [blame] | 122 | LOCAL_STATIC_ANDROID_LIBRARIES := \ |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 123 | android-support-core-ui \ |
Alan Viverette | b5870be | 2017-04-26 11:15:10 -0400 | [diff] [blame] | 124 | android-support-design \ |
| 125 | android-support-transition \ |
| 126 | android-support-v13 \ |
| 127 | android-support-v4 \ |
| 128 | android-support-v7-appcompat \ |
| 129 | android-support-v7-cardview \ |
| 130 | android-support-v7-recyclerview \ |
| 131 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 132 | LOCAL_JAVA_LIBRARIES := \ |
Roland Levillain | 05d6361 | 2017-08-24 14:41:12 +0100 | [diff] [blame] | 133 | dialer-auto-value-target \ |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 134 | org.apache.http.legacy \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 135 | |
Roland Levillain | 05d6361 | 2017-08-24 14:41:12 +0100 | [diff] [blame] | 136 | LOCAL_ANNOTATION_PROCESSORS := \ |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 137 | dialer-auto-value \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 138 | dialer-dagger2 \ |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 139 | dialer-dagger2-compiler \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 140 | dialer-dagger2-producers \ |
Ta-wei Yen | a8bbb35 | 2018-01-25 18:10:32 -0800 | [diff] [blame] | 141 | dialer-glide-compiler \ |
| 142 | dialer-glide-annotation \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 143 | dialer-guava \ |
| 144 | dialer-javax-annotation-api \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 145 | dialer-javax-inject \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 146 | |
Roland Levillain | 05d6361 | 2017-08-24 14:41:12 +0100 | [diff] [blame] | 147 | LOCAL_ANNOTATION_PROCESSOR_CLASSES := \ |
Ta-wei Yen | a8bbb35 | 2018-01-25 18:10:32 -0800 | [diff] [blame] | 148 | com.google.auto.value.processor.AutoValueProcessor,dagger.internal.codegen.ComponentProcessor,com.bumptech.glide.annotation.compiler.GlideAnnotationProcessor |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 149 | |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 150 | |
| 151 | # Begin Bug: 37077388 |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 152 | LOCAL_DX_FLAGS := --multi-dex |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 153 | LOCAL_JACK_FLAGS := --multi-dex native |
| 154 | |
| 155 | LOCAL_PROGUARD_ENABLED := disabled |
| 156 | ifdef LOCAL_JACK_ENABLED |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 157 | |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 158 | |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 159 | # Proguard includes |
sail | 3bcea98 | 2017-09-03 13:57:22 -0700 | [diff] [blame] | 160 | LOCAL_PROGUARD_FLAG_FILES := $(call all-named-files-under,proguard.*flags,$(BASE_DIR)) |
Colin Cross | f939e09 | 2017-04-05 22:13:40 -0700 | [diff] [blame] | 161 | LOCAL_PROGUARD_ENABLED := custom |
| 162 | |
Colin Cross | f939e09 | 2017-04-05 22:13:40 -0700 | [diff] [blame] | 163 | LOCAL_PROGUARD_ENABLED += optimization |
| 164 | endif |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 165 | |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 166 | # End Bug: 37077388 |
| 167 | |
Ta-wei Yen | 6640e55 | 2017-04-21 15:33:24 -0700 | [diff] [blame] | 168 | LOCAL_SDK_VERSION := system_current |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 169 | LOCAL_MODULE_TAGS := optional |
| 170 | LOCAL_PACKAGE_NAME := Dialer |
| 171 | LOCAL_CERTIFICATE := shared |
| 172 | LOCAL_PRIVILEGED_MODULE := true |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 173 | LOCAL_USE_AAPT2 := true |
| 174 | |
| 175 | # b/37483961 - Jack Not Compiling Dagger Class Properly |
| 176 | LOCAL_JACK_ENABLED := javac_frontend |
| 177 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 178 | include $(BUILD_PACKAGE) |
| 179 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 180 | # Cleanup local state |
| 181 | BASE_DIR := |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 182 | EXCLUDE_FILES := |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 183 | RES_DIRS := |
| 184 | DIALER_MANIFEST_FILES := |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 185 | EXCLUDE_MANIFESTS := |
| 186 | EXCLUDE_EXTRA_PACKAGES := |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 187 | |
| 188 | # Create references to prebuilt libraries. |
| 189 | include $(CLEAR_VARS) |
| 190 | |
| 191 | LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \ |
zachh | 3fcd708 | 2018-01-08 20:10:30 +0000 | [diff] [blame] | 192 | dialer-auto-value:../../../prebuilts/tools/common/m2/repository/com/google/auto/value/auto-value/1.5.2/auto-value-1.5.2.jar \ |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 193 | dialer-dagger2-compiler:../../../prebuilts/tools/common/m2/repository/com/google/dagger/dagger-compiler/2.7/dagger-compiler-2.7.jar \ |
| 194 | dialer-dagger2:../../../prebuilts/tools/common/m2/repository/com/google/dagger/dagger/2.7/dagger-2.7.jar \ |
| 195 | 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] | 196 | dialer-glide-annotation:../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/annotation/SNAPSHOT/annotation-SNAPSHOT.jar \ |
| 197 | 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] | 198 | dialer-grpc-all:../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-all/1.0.3/grpc-all-1.0.3.jar \ |
| 199 | dialer-grpc-core:../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-core/1.0.3/grpc-core-1.0.3.jar \ |
| 200 | dialer-grpc-okhttp:../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-okhttp/1.0.3/grpc-okhttp-1.0.3.jar \ |
| 201 | dialer-grpc-protobuf-lite:../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-protobuf-lite/1.0.3/grpc-protobuf-lite-1.0.3.jar \ |
| 202 | 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] | 203 | 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] | 204 | dialer-javax-annotation-api:../../../prebuilts/tools/common/m2/repository/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2.jar \ |
| 205 | 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] | 206 | |
Roland Levillain | 05d6361 | 2017-08-24 14:41:12 +0100 | [diff] [blame] | 207 | include $(BUILD_HOST_PREBUILT) |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 208 | |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 209 | # Enumerate target prebuilts to avoid linker warnings like |
| 210 | # Dialer (java:sdk) should not link to dialer-guava (java:platform) |
| 211 | include $(CLEAR_VARS) |
| 212 | |
| 213 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
Zachary Heidepriem | 9f39c2f | 2017-11-10 15:07:54 -0800 | [diff] [blame] | 214 | LOCAL_MODULE := dialer-guava-target |
| 215 | LOCAL_SDK_VERSION := current |
zachh | 3fcd708 | 2018-01-08 20:10:30 +0000 | [diff] [blame] | 216 | 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] | 217 | LOCAL_UNINSTALLABLE_MODULE := true |
| 218 | |
| 219 | include $(BUILD_PREBUILT) |
| 220 | |
| 221 | include $(CLEAR_VARS) |
| 222 | |
| 223 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
Zachary Heidepriem | 922cbed | 2017-11-11 18:49:27 -0800 | [diff] [blame] | 224 | LOCAL_MODULE := dialer-error-prone-target |
| 225 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 226 | 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] | 227 | LOCAL_UNINSTALLABLE_MODULE := true |
| 228 | |
| 229 | include $(BUILD_PREBUILT) |
| 230 | |
| 231 | include $(CLEAR_VARS) |
| 232 | |
| 233 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 234 | LOCAL_MODULE := dialer-dagger2-target |
| 235 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 236 | 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] | 237 | LOCAL_UNINSTALLABLE_MODULE := true |
| 238 | |
| 239 | include $(BUILD_PREBUILT) |
| 240 | |
| 241 | include $(CLEAR_VARS) |
| 242 | |
| 243 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 244 | LOCAL_MODULE := dialer-disklrucache-target |
| 245 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 246 | 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] | 247 | LOCAL_UNINSTALLABLE_MODULE := true |
| 248 | |
| 249 | include $(BUILD_PREBUILT) |
| 250 | |
| 251 | include $(CLEAR_VARS) |
| 252 | |
| 253 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 254 | LOCAL_MODULE := dialer-gifdecoder-target |
| 255 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 256 | 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] | 257 | LOCAL_UNINSTALLABLE_MODULE := true |
| 258 | |
| 259 | include $(BUILD_PREBUILT) |
| 260 | |
| 261 | include $(CLEAR_VARS) |
| 262 | |
| 263 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 264 | LOCAL_MODULE := dialer-glide-target |
| 265 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 266 | 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] | 267 | LOCAL_UNINSTALLABLE_MODULE := true |
| 268 | |
| 269 | include $(BUILD_PREBUILT) |
| 270 | |
| 271 | include $(CLEAR_VARS) |
| 272 | |
| 273 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 274 | LOCAL_MODULE := dialer-javax-annotation-api-target |
| 275 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 276 | 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] | 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-libshortcutbadger-target |
| 285 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 286 | 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] | 287 | LOCAL_UNINSTALLABLE_MODULE := true |
| 288 | |
| 289 | include $(BUILD_PREBUILT) |
| 290 | |
| 291 | include $(CLEAR_VARS) |
| 292 | |
| 293 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 294 | LOCAL_MODULE := dialer-javax-inject-target |
| 295 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 296 | 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] | 297 | LOCAL_UNINSTALLABLE_MODULE := true |
| 298 | |
| 299 | include $(BUILD_PREBUILT) |
| 300 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 301 | include $(CLEAR_VARS) |
Eric Erfanian | cdb1edf | 2017-03-29 10:20:40 -0700 | [diff] [blame] | 302 | |
Eric Erfanian | cdb1edf | 2017-03-29 10:20:40 -0700 | [diff] [blame] | 303 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 304 | LOCAL_MODULE := dialer-commons-io-target |
| 305 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 306 | 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] | 307 | LOCAL_UNINSTALLABLE_MODULE := true |
| 308 | |
| 309 | include $(BUILD_PREBUILT) |
| 310 | |
| 311 | include $(CLEAR_VARS) |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 312 | |
| 313 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 314 | LOCAL_MODULE := dialer-mime4j-core-target |
| 315 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 316 | 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] | 317 | LOCAL_UNINSTALLABLE_MODULE := true |
| 318 | |
| 319 | include $(BUILD_PREBUILT) |
| 320 | |
| 321 | include $(CLEAR_VARS) |
| 322 | |
| 323 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 324 | LOCAL_MODULE := dialer-mime4j-dom-target |
| 325 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 326 | 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] | 327 | LOCAL_UNINSTALLABLE_MODULE := true |
| 328 | |
| 329 | include $(BUILD_PREBUILT) |
| 330 | |
Ta-wei Yen | 6af9c02 | 2017-05-25 14:57:51 -0700 | [diff] [blame] | 331 | include $(CLEAR_VARS) |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 332 | |
| 333 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 334 | LOCAL_MODULE := dialer-grpc-core-target |
| 335 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 336 | 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] | 337 | LOCAL_UNINSTALLABLE_MODULE := true |
| 338 | |
| 339 | include $(BUILD_PREBUILT) |
| 340 | |
| 341 | include $(CLEAR_VARS) |
| 342 | |
| 343 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 344 | LOCAL_MODULE := dialer-grpc-okhttp-target |
| 345 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 346 | 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] | 347 | LOCAL_UNINSTALLABLE_MODULE := true |
| 348 | |
| 349 | include $(BUILD_PREBUILT) |
| 350 | |
| 351 | include $(CLEAR_VARS) |
| 352 | |
| 353 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 354 | LOCAL_MODULE := dialer-grpc-protobuf-lite-target |
| 355 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 356 | 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] | 357 | LOCAL_UNINSTALLABLE_MODULE := true |
| 358 | |
| 359 | include $(BUILD_PREBUILT) |
| 360 | |
| 361 | include $(CLEAR_VARS) |
| 362 | |
| 363 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 364 | LOCAL_MODULE := dialer-grpc-stub-target |
| 365 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 366 | 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] | 367 | LOCAL_UNINSTALLABLE_MODULE := true |
| 368 | |
| 369 | include $(BUILD_PREBUILT) |
| 370 | |
| 371 | include $(CLEAR_VARS) |
| 372 | |
| 373 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 374 | LOCAL_MODULE := dialer-grpc-all-target |
| 375 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 376 | 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] | 377 | LOCAL_UNINSTALLABLE_MODULE := true |
| 378 | |
| 379 | include $(BUILD_PREBUILT) |
| 380 | |
| 381 | include $(CLEAR_VARS) |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 382 | |
| 383 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 384 | LOCAL_MODULE := dialer-grpc-context-target |
| 385 | LOCAL_SDK_VERSION := current |
Colin Cross | c87db95 | 2017-12-13 20:41:25 -0800 | [diff] [blame] | 386 | 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] | 387 | LOCAL_UNINSTALLABLE_MODULE := true |
| 388 | |
| 389 | include $(BUILD_PREBUILT) |
| 390 | |
wangqi | 6967466 | 2017-06-29 13:14:51 -0700 | [diff] [blame] | 391 | include $(CLEAR_VARS) |
Roland Levillain | 05d6361 | 2017-08-24 14:41:12 +0100 | [diff] [blame] | 392 | |
| 393 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 394 | LOCAL_MODULE := dialer-auto-value-target |
| 395 | LOCAL_SDK_VERSION := current |
zachh | 3fcd708 | 2018-01-08 20:10:30 +0000 | [diff] [blame] | 396 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/com/google/auto/value/auto-value/1.5.2/auto-value-1.5.2.jar |
Roland Levillain | 05d6361 | 2017-08-24 14:41:12 +0100 | [diff] [blame] | 397 | LOCAL_UNINSTALLABLE_MODULE := true |
| 398 | |
| 399 | include $(BUILD_PREBUILT) |
| 400 | |
| 401 | include $(CLEAR_VARS) |