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 |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 8 | LOCAL_PATH:= $(call my-dir) |
| 9 | include $(CLEAR_VARS) |
| 10 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 11 | # The base directory for Dialer sources. |
| 12 | BASE_DIR := java/com/android |
Jay Shrauner | 0f68a71 | 2014-07-16 16:13:57 -0700 | [diff] [blame] | 13 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 14 | # Primary dialer module sources. |
| 15 | SRC_DIRS := \ |
| 16 | $(BASE_DIR)/contacts/common \ |
| 17 | $(BASE_DIR)/dialer \ |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 18 | $(BASE_DIR)/dialershared \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 19 | $(BASE_DIR)/incallui \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 20 | $(BASE_DIR)/voicemail |
| 21 | |
| 22 | # Exclude files incompatible with AOSP. |
| 23 | EXCLUDE_FILES := \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 24 | $(BASE_DIR)/incallui/calllocation/impl/AuthException.java \ |
| 25 | $(BASE_DIR)/incallui/calllocation/impl/CallLocationImpl.java \ |
| 26 | $(BASE_DIR)/incallui/calllocation/impl/CallLocationModule.java \ |
| 27 | $(BASE_DIR)/incallui/calllocation/impl/DownloadMapImageTask.java \ |
| 28 | $(BASE_DIR)/incallui/calllocation/impl/GoogleLocationSettingHelper.java \ |
| 29 | $(BASE_DIR)/incallui/calllocation/impl/HttpFetcher.java \ |
| 30 | $(BASE_DIR)/incallui/calllocation/impl/LocationFragment.java \ |
| 31 | $(BASE_DIR)/incallui/calllocation/impl/LocationHelper.java \ |
| 32 | $(BASE_DIR)/incallui/calllocation/impl/LocationPresenter.java \ |
| 33 | $(BASE_DIR)/incallui/calllocation/impl/LocationUrlBuilder.java \ |
| 34 | $(BASE_DIR)/incallui/calllocation/impl/ReverseGeocodeTask.java \ |
| 35 | $(BASE_DIR)/incallui/calllocation/impl/TrafficStatsTags.java \ |
| 36 | $(BASE_DIR)/incallui/maps/impl/MapsImpl.java \ |
| 37 | $(BASE_DIR)/incallui/maps/impl/MapsModule.java \ |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 38 | $(BASE_DIR)/incallui/maps/impl/StaticMapFragment.java \ |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 39 | |
Paul Duffin | 922b108 | 2017-05-05 15:05:47 +0100 | [diff] [blame] | 40 | # Exclude testing only class, not used anywhere here |
| 41 | EXCLUDE_FILES += \ |
| 42 | $(BASE_DIR)/contacts/common/format/testing/SpannedTestUtils.java |
| 43 | |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 44 | # Exclude build variants for now |
| 45 | EXCLUDE_FILES += \ |
| 46 | $(BASE_DIR)/dialer/buildtype/bugfood/BuildTypeAccessorImpl.java \ |
| 47 | $(BASE_DIR)/dialer/buildtype/dogfood/BuildTypeAccessorImpl.java \ |
| 48 | $(BASE_DIR)/dialer/buildtype/fishfood/BuildTypeAccessorImpl.java \ |
| 49 | $(BASE_DIR)/dialer/buildtype/test/BuildTypeAccessorImpl.java \ |
| 50 | $(BASE_DIR)/dialer/constants/googledialer/ConstantsImpl.java \ |
| 51 | $(BASE_DIR)/dialer/binary/google/GoogleStubDialerRootComponent.java \ |
| 52 | $(BASE_DIR)/dialer/binary/google/GoogleStubDialerApplication.java |
| 53 | |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 54 | EXCLUDE_RESOURCE_DIRECTORIES := \ |
| 55 | java/com/android/incallui/maps/impl/res \ |
| 56 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 57 | # All Dialers resources. |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 58 | RES_DIRS := $(call all-subdir-named-dirs,res,.) |
| 59 | RES_DIRS := $(filter-out $(EXCLUDE_RESOURCE_DIRECTORIES),$(RES_DIRS)) |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 60 | |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 61 | EXCLUDE_MANIFESTS := \ |
| 62 | $(BASE_DIR)/dialer/binary/aosp/testing/AndroidManifest.xml \ |
| 63 | $(BASE_DIR)/dialer/binary/google/AndroidManifest.xml \ |
| 64 | $(BASE_DIR)/incallui/calllocation/impl/AndroidManifest.xml \ |
| 65 | $(BASE_DIR)/incallui/maps/impl/AndroidManifest.xml \ |
Eric Erfanian | 9b4d9bc | 2017-07-25 09:36:19 -0700 | [diff] [blame] | 66 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 67 | # Dialer manifest files to merge. |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 68 | DIALER_MANIFEST_FILES := $(call all-named-files-under,AndroidManifest.xml,.) |
| 69 | DIALER_MANIFEST_FILES := $(filter-out $(EXCLUDE_MANIFESTS),$(DIALER_MANIFEST_FILES)) |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 70 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 71 | # Merge all manifest files. |
| 72 | LOCAL_FULL_LIBS_MANIFEST_FILES := \ |
| 73 | $(addprefix $(LOCAL_PATH)/, $(DIALER_MANIFEST_FILES)) |
Eric Erfanian | 1ce79b9 | 2017-08-10 08:11:26 -0700 | [diff] [blame^] | 74 | |
| 75 | # * b/62875795 include manually generated GRPC service class: |
| 76 | ifeq ($(HOST_OS),linux) |
| 77 | define gen-dialer-grpc |
| 78 | $(shell cd $(LOCAL_PATH) ; \ |
| 79 | ../../../prebuilts/tools/linux-x86_64/protoc/bin/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 \ |
| 80 | --grpc-java_out=lite:"java/com/android/voicemail/impl/" \ |
| 81 | --proto_path="java/com/android/voicemail/impl/transcribe/grpc/" "java/com/android/voicemail/impl/transcribe/grpc/voicemail_transcription.proto") |
| 82 | endef |
| 83 | endif |
| 84 | ifeq ($(HOST_OS),darwin) |
| 85 | define gen-dialer-grpc |
| 86 | $(shell cd $(LOCAL_PATH) ; \ |
| 87 | ../../../prebuilts/tools/darwin-x86_64/protoc/bin/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-osx-x86_64.exe \ |
| 88 | --grpc-java_out=lite:"java/com/android/voicemail/impl/" \ |
| 89 | --proto_path="java/com/android/voicemail/impl/transcribe/grpc/" "java/com/android/voicemail/impl/transcribe/grpc/voicemail_transcription.proto") |
| 90 | endef |
| 91 | endif |
| 92 | |
| 93 | $(call gen-dialer-grpc) |
| 94 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 95 | LOCAL_SRC_FILES := $(call all-java-files-under, $(SRC_DIRS)) |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 96 | LOCAL_SRC_FILES := $(filter-out $(EXCLUDE_FILES),$(LOCAL_SRC_FILES)) |
Eric Erfanian | 1ce79b9 | 2017-08-10 08:11:26 -0700 | [diff] [blame^] | 97 | # * b/62875795 include manually generated GRPC service class: |
| 98 | LOCAL_SRC_FILES += java/com/android/voicemail/impl/com/google/internal/communications/voicemailtranscription/v1/VoicemailTranscriptionServiceGrpc.java |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 99 | LOCAL_SRC_FILES += $(call all-proto-files-under, $(SRC_DIRS)) |
Eric Erfanian | 9bdb503 | 2017-08-09 15:37:50 -0700 | [diff] [blame] | 100 | |
| 101 | # Backup Library |
| 102 | BACKUP_LIB_SRC_DIR := ../../../external/libbackup/src/com/google/android/libraries/backup |
| 103 | EXCLUDE_BACKUP_LIB_SRCS := $(call all-java-files-under, $(BACKUP_LIB_SRC_DIR)/shadow) |
| 104 | LOCAL_SRC_FILES += $(call all-java-files-under, $(BACKUP_LIB_SRC_DIR)) |
| 105 | LOCAL_SRC_FILES := $(filter-out $(EXCLUDE_BACKUP_LIB_SRCS),$(LOCAL_SRC_FILES)) |
| 106 | |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 107 | LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH) |
| 108 | |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 109 | LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(RES_DIRS)) |
| 110 | |
| 111 | define all-dialer-manifest-extra-packages |
| 112 | $(shell cd $(LOCAL_PATH) ; \ |
| 113 | find . -type f -name "AndroidManifest.xml" | uniq | sort | cut -c 8- | rev | cut -c 21- | rev | sed 's/\//./g') |
| 114 | endef |
| 115 | |
| 116 | EXCLUDE_EXTRA_PACKAGES := \ |
| 117 | com.android.dialer.binary.aosp.testing \ |
| 118 | com.android.dialer.binary.google \ |
| 119 | com.android.incallui.calllocation.impl \ |
| 120 | com.android.incallui.maps.impl \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 121 | |
| 122 | # We specify each package explicitly to glob resource files. |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 123 | LOCAL_AAPT_FLAGS := $(call all-dialer-manifest-extra-packages) |
| 124 | LOCAL_AAPT_FLAGS := $(filter-out $(EXCLUDE_EXTRA_PACKAGES),$(LOCAL_AAPT_FLAGS)) |
| 125 | LOCAL_AAPT_FLAGS := $(addprefix --extra-packages , $(LOCAL_AAPT_FLAGS)) |
| 126 | LOCAL_AAPT_FLAGS += \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 127 | --auto-add-overlay \ |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 128 | --extra-packages me.leolin.shortcutbadger \ |
| 129 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 130 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 131 | android-common \ |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 132 | android-support-dynamic-animation \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 133 | com.android.vcard \ |
Eric Erfanian | cdb1edf | 2017-03-29 10:20:40 -0700 | [diff] [blame] | 134 | dialer-commons-io-target \ |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 135 | dialer-dagger2-target \ |
| 136 | dialer-disklrucache-target \ |
| 137 | dialer-gifdecoder-target \ |
| 138 | dialer-glide-target \ |
Eric Erfanian | 1ce79b9 | 2017-08-10 08:11:26 -0700 | [diff] [blame^] | 139 | dialer-grpc-all-target \ |
| 140 | dialer-grpc-context-target \ |
| 141 | dialer-grpc-core-target \ |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 142 | dialer-grpc-okhttp-target \ |
| 143 | dialer-grpc-protobuf-lite-target \ |
Eric Erfanian | 1ce79b9 | 2017-08-10 08:11:26 -0700 | [diff] [blame^] | 144 | dialer-grpc-stub-target \ |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 145 | dialer-guava-target \ |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 146 | dialer-javax-annotation-api-target \ |
| 147 | dialer-javax-inject-target \ |
| 148 | dialer-libshortcutbadger-target \ |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 149 | dialer-mime4j-core-target \ |
| 150 | dialer-mime4j-dom-target \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 151 | jsr305 \ |
| 152 | libphonenumber \ |
Eric Erfanian | cdb1edf | 2017-03-29 10:20:40 -0700 | [diff] [blame] | 153 | volley \ |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 154 | |
Alan Viverette | b5870be | 2017-04-26 11:15:10 -0400 | [diff] [blame] | 155 | LOCAL_STATIC_ANDROID_LIBRARIES := \ |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 156 | android-support-core-ui \ |
Alan Viverette | b5870be | 2017-04-26 11:15:10 -0400 | [diff] [blame] | 157 | android-support-design \ |
| 158 | android-support-transition \ |
| 159 | android-support-v13 \ |
| 160 | android-support-v4 \ |
| 161 | android-support-v7-appcompat \ |
| 162 | android-support-v7-cardview \ |
| 163 | android-support-v7-recyclerview \ |
| 164 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 165 | LOCAL_JAVA_LIBRARIES := \ |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 166 | dialer-auto-value \ |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 167 | org.apache.http.legacy \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 168 | |
| 169 | # Libraries needed by the compiler (JACK) to generate code. |
| 170 | PROCESSOR_LIBRARIES_TARGET := \ |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 171 | dialer-auto-value \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 172 | dialer-dagger2 \ |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 173 | dialer-dagger2-compiler \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 174 | dialer-dagger2-producers \ |
| 175 | dialer-guava \ |
| 176 | dialer-javax-annotation-api \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 177 | dialer-javax-inject \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 178 | |
| 179 | # Resolve the jar paths. |
| 180 | PROCESSOR_JARS := $(call java-lib-deps, $(PROCESSOR_LIBRARIES_TARGET)) |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 181 | # Necessary for annotation processors to work correctly. |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 182 | LOCAL_ADDITIONAL_DEPENDENCIES += $(PROCESSOR_JARS) |
| 183 | |
| 184 | LOCAL_JACK_FLAGS += --processorpath $(call normalize-path-list,$(PROCESSOR_JARS)) |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 185 | LOCAL_JAVACFLAGS += -processorpath $(call normalize-path-list,$(PROCESSOR_JARS)) |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 186 | |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 187 | |
| 188 | # Begin Bug: 37077388 |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 189 | LOCAL_DX_FLAGS := --multi-dex |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 190 | LOCAL_JACK_FLAGS := --multi-dex native |
| 191 | |
| 192 | LOCAL_PROGUARD_ENABLED := disabled |
| 193 | ifdef LOCAL_JACK_ENABLED |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 194 | |
| 195 | define all-dialer-proguard-flags |
| 196 | $(shell cd $(LOCAL_PATH) ; \ |
| 197 | find . -type f -name "proguard.*flags" | uniq | sort | cut -c 3-) |
| 198 | endef |
| 199 | |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 200 | # Proguard includes |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 201 | LOCAL_PROGUARD_FLAG_FILES := $(call all-dialer-proguard-flags) |
Colin Cross | f939e09 | 2017-04-05 22:13:40 -0700 | [diff] [blame] | 202 | LOCAL_PROGUARD_ENABLED := custom |
| 203 | |
Colin Cross | f939e09 | 2017-04-05 22:13:40 -0700 | [diff] [blame] | 204 | LOCAL_PROGUARD_ENABLED += optimization |
| 205 | endif |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 206 | |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 207 | # End Bug: 37077388 |
| 208 | |
Ta-wei Yen | 6640e55 | 2017-04-21 15:33:24 -0700 | [diff] [blame] | 209 | LOCAL_SDK_VERSION := system_current |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 210 | LOCAL_MODULE_TAGS := optional |
| 211 | LOCAL_PACKAGE_NAME := Dialer |
| 212 | LOCAL_CERTIFICATE := shared |
| 213 | LOCAL_PRIVILEGED_MODULE := true |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 214 | LOCAL_USE_AAPT2 := true |
| 215 | |
| 216 | # b/37483961 - Jack Not Compiling Dagger Class Properly |
| 217 | LOCAL_JACK_ENABLED := javac_frontend |
| 218 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 219 | include $(BUILD_PACKAGE) |
| 220 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 221 | # Cleanup local state |
| 222 | BASE_DIR := |
| 223 | SRC_DIRS := |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 224 | EXCLUDE_FILES := |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 225 | RES_DIRS := |
| 226 | DIALER_MANIFEST_FILES := |
| 227 | PROCESSOR_LIBRARIES_TARGET := |
| 228 | PROCESSOR_JARS := |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 229 | EXCLUDE_MANIFESTS := |
| 230 | EXCLUDE_EXTRA_PACKAGES := |
Eric Erfanian | 9bdb503 | 2017-08-09 15:37:50 -0700 | [diff] [blame] | 231 | BACKUP_LIB_SRC_DIR := |
| 232 | EXCLUDE_BACKUP_LIB_SRCS := |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 233 | |
| 234 | # Create references to prebuilt libraries. |
| 235 | include $(CLEAR_VARS) |
| 236 | |
| 237 | LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \ |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 238 | dialer-auto-value:../../../prebuilts/tools/common/m2/repository/com/google/auto/value/auto-value/1.3/auto-value-1.3$(COMMON_JAVA_PACKAGE_SUFFIX) \ |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 239 | dialer-dagger2-compiler:../../../prebuilts/tools/common/m2/repository/com/google/dagger/dagger-compiler/2.7/dagger-compiler-2.7$(COMMON_JAVA_PACKAGE_SUFFIX) \ |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 240 | dialer-dagger2:../../../prebuilts/tools/common/m2/repository/com/google/dagger/dagger/2.7/dagger-2.7$(COMMON_JAVA_PACKAGE_SUFFIX) \ |
| 241 | dialer-dagger2-producers:../../../prebuilts/tools/common/m2/repository/com/google/dagger/dagger-producers/2.7/dagger-producers-2.7$(COMMON_JAVA_PACKAGE_SUFFIX) \ |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 242 | dialer-grpc-all:../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-all/1.0.3/grpc-all-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) \ |
| 243 | dialer-grpc-core:../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-core/1.0.3/grpc-core-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) \ |
| 244 | dialer-grpc-okhttp:../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-okhttp/1.0.3/grpc-okhttp-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) \ |
| 245 | dialer-grpc-protobuf-lite:../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-protobuf-lite/1.0.3/grpc-protobuf-lite-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) \ |
| 246 | dialer-grpc-stub:../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-stub/1.0.3/grpc-stub-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) \ |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 247 | dialer-guava:../../../prebuilts/tools/common/m2/repository/com/google/guava/guava/20.0/guava-20.0$(COMMON_JAVA_PACKAGE_SUFFIX) \ |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 248 | dialer-javax-annotation-api:../../../prebuilts/tools/common/m2/repository/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2$(COMMON_JAVA_PACKAGE_SUFFIX) \ |
| 249 | dialer-javax-inject:../../../prebuilts/tools/common/m2/repository/javax/inject/javax.inject/1/javax.inject-1$(COMMON_JAVA_PACKAGE_SUFFIX) |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 250 | |
| 251 | include $(BUILD_MULTI_PREBUILT) |
| 252 | |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 253 | # Enumerate target prebuilts to avoid linker warnings like |
| 254 | # Dialer (java:sdk) should not link to dialer-guava (java:platform) |
| 255 | include $(CLEAR_VARS) |
| 256 | |
| 257 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 258 | LOCAL_MODULE := dialer-guava-target |
| 259 | LOCAL_SDK_VERSION := current |
| 260 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/com/google/guava/guava/20.0/guava-20.0$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 261 | LOCAL_UNINSTALLABLE_MODULE := true |
| 262 | |
| 263 | include $(BUILD_PREBUILT) |
| 264 | |
| 265 | include $(CLEAR_VARS) |
| 266 | |
| 267 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 268 | LOCAL_MODULE := dialer-dagger2-target |
| 269 | LOCAL_SDK_VERSION := current |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 270 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/com/google/dagger/dagger/2.7/dagger-2.7$(COMMON_JAVA_PACKAGE_SUFFIX) |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 271 | LOCAL_UNINSTALLABLE_MODULE := true |
| 272 | |
| 273 | include $(BUILD_PREBUILT) |
| 274 | |
| 275 | include $(CLEAR_VARS) |
| 276 | |
| 277 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 278 | LOCAL_MODULE := dialer-disklrucache-target |
| 279 | LOCAL_SDK_VERSION := current |
Lujiang Xue | c0f306f | 2017-05-25 09:10:58 -0700 | [diff] [blame] | 280 | LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/disklrucache/SNAPSHOT/disklrucache-SNAPSHOT$(COMMON_JAVA_PACKAGE_SUFFIX) |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 281 | LOCAL_UNINSTALLABLE_MODULE := true |
| 282 | |
| 283 | include $(BUILD_PREBUILT) |
| 284 | |
| 285 | include $(CLEAR_VARS) |
| 286 | |
| 287 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 288 | LOCAL_MODULE := dialer-gifdecoder-target |
| 289 | LOCAL_SDK_VERSION := current |
Lujiang Xue | c0f306f | 2017-05-25 09:10:58 -0700 | [diff] [blame] | 290 | LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/gifdecoder/SNAPSHOT/gifdecoder-SNAPSHOT$(COMMON_JAVA_PACKAGE_SUFFIX) |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 291 | LOCAL_UNINSTALLABLE_MODULE := true |
| 292 | |
| 293 | include $(BUILD_PREBUILT) |
| 294 | |
| 295 | include $(CLEAR_VARS) |
| 296 | |
| 297 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 298 | LOCAL_MODULE := dialer-glide-target |
| 299 | LOCAL_SDK_VERSION := current |
Lujiang Xue | c0f306f | 2017-05-25 09:10:58 -0700 | [diff] [blame] | 300 | LOCAL_SRC_FILES := ../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/glide/SNAPSHOT/glide-SNAPSHOT$(COMMON_JAVA_PACKAGE_SUFFIX) |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 301 | LOCAL_UNINSTALLABLE_MODULE := true |
| 302 | |
| 303 | include $(BUILD_PREBUILT) |
| 304 | |
| 305 | include $(CLEAR_VARS) |
| 306 | |
| 307 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 308 | LOCAL_MODULE := dialer-javax-annotation-api-target |
| 309 | LOCAL_SDK_VERSION := current |
| 310 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 311 | LOCAL_UNINSTALLABLE_MODULE := true |
| 312 | |
| 313 | include $(BUILD_PREBUILT) |
| 314 | |
| 315 | include $(CLEAR_VARS) |
| 316 | |
| 317 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 318 | LOCAL_MODULE := dialer-libshortcutbadger-target |
| 319 | LOCAL_SDK_VERSION := current |
| 320 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/me/leolin/ShortcutBadger/1.1.13/ShortcutBadger-1.1.13$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 321 | LOCAL_UNINSTALLABLE_MODULE := true |
| 322 | |
| 323 | include $(BUILD_PREBUILT) |
| 324 | |
| 325 | include $(CLEAR_VARS) |
| 326 | |
| 327 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 328 | LOCAL_MODULE := dialer-javax-inject-target |
| 329 | LOCAL_SDK_VERSION := current |
| 330 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/javax/inject/javax.inject/1/javax.inject-1$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 331 | LOCAL_UNINSTALLABLE_MODULE := true |
| 332 | |
| 333 | include $(BUILD_PREBUILT) |
| 334 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 335 | include $(CLEAR_VARS) |
Eric Erfanian | cdb1edf | 2017-03-29 10:20:40 -0700 | [diff] [blame] | 336 | |
Eric Erfanian | cdb1edf | 2017-03-29 10:20:40 -0700 | [diff] [blame] | 337 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 338 | LOCAL_MODULE := dialer-commons-io-target |
| 339 | LOCAL_SDK_VERSION := current |
| 340 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/commons-io/commons-io/2.4/commons-io-2.4$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 341 | LOCAL_UNINSTALLABLE_MODULE := true |
| 342 | |
| 343 | include $(BUILD_PREBUILT) |
| 344 | |
| 345 | include $(CLEAR_VARS) |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 346 | |
| 347 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 348 | LOCAL_MODULE := dialer-mime4j-core-target |
| 349 | LOCAL_SDK_VERSION := current |
| 350 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/org/apache/james/apache-mime4j-core/0.7.2/apache-mime4j-core-0.7.2$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 351 | LOCAL_UNINSTALLABLE_MODULE := true |
| 352 | |
| 353 | include $(BUILD_PREBUILT) |
| 354 | |
| 355 | include $(CLEAR_VARS) |
| 356 | |
| 357 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 358 | LOCAL_MODULE := dialer-mime4j-dom-target |
| 359 | LOCAL_SDK_VERSION := current |
| 360 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/org/apache/james/apache-mime4j-dom/0.7.2/apache-mime4j-dom-0.7.2$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 361 | LOCAL_UNINSTALLABLE_MODULE := true |
| 362 | |
| 363 | include $(BUILD_PREBUILT) |
| 364 | |
Ta-wei Yen | 6af9c02 | 2017-05-25 14:57:51 -0700 | [diff] [blame] | 365 | include $(CLEAR_VARS) |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 366 | |
| 367 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 368 | LOCAL_MODULE := dialer-grpc-core-target |
| 369 | LOCAL_SDK_VERSION := current |
| 370 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-core/1.0.3/grpc-core-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 371 | LOCAL_UNINSTALLABLE_MODULE := true |
| 372 | |
| 373 | include $(BUILD_PREBUILT) |
| 374 | |
| 375 | include $(CLEAR_VARS) |
| 376 | |
| 377 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 378 | LOCAL_MODULE := dialer-grpc-okhttp-target |
| 379 | LOCAL_SDK_VERSION := current |
| 380 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-okhttp/1.0.3/grpc-okhttp-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 381 | LOCAL_UNINSTALLABLE_MODULE := true |
| 382 | |
| 383 | include $(BUILD_PREBUILT) |
| 384 | |
| 385 | include $(CLEAR_VARS) |
| 386 | |
| 387 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 388 | LOCAL_MODULE := dialer-grpc-protobuf-lite-target |
| 389 | LOCAL_SDK_VERSION := current |
| 390 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-protobuf-lite/1.0.3/grpc-protobuf-lite-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 391 | LOCAL_UNINSTALLABLE_MODULE := true |
| 392 | |
| 393 | include $(BUILD_PREBUILT) |
| 394 | |
| 395 | include $(CLEAR_VARS) |
| 396 | |
| 397 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 398 | LOCAL_MODULE := dialer-grpc-stub-target |
| 399 | LOCAL_SDK_VERSION := current |
| 400 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-stub/1.0.3/grpc-stub-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 401 | LOCAL_UNINSTALLABLE_MODULE := true |
| 402 | |
| 403 | include $(BUILD_PREBUILT) |
| 404 | |
| 405 | include $(CLEAR_VARS) |
| 406 | |
| 407 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 408 | LOCAL_MODULE := dialer-grpc-all-target |
| 409 | LOCAL_SDK_VERSION := current |
| 410 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-all/1.0.3/grpc-all-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 411 | LOCAL_UNINSTALLABLE_MODULE := true |
| 412 | |
| 413 | include $(BUILD_PREBUILT) |
| 414 | |
| 415 | include $(CLEAR_VARS) |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 416 | |
| 417 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 418 | LOCAL_MODULE := dialer-grpc-context-target |
| 419 | LOCAL_SDK_VERSION := current |
| 420 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-context/1.0.3/grpc-context-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 421 | LOCAL_UNINSTALLABLE_MODULE := true |
| 422 | |
| 423 | include $(BUILD_PREBUILT) |
| 424 | |
wangqi | 6967466 | 2017-06-29 13:14:51 -0700 | [diff] [blame] | 425 | include $(CLEAR_VARS) |