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 | |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 101 | LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH) |
| 102 | |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 103 | LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(RES_DIRS)) |
| 104 | |
| 105 | define all-dialer-manifest-extra-packages |
| 106 | $(shell cd $(LOCAL_PATH) ; \ |
| 107 | find . -type f -name "AndroidManifest.xml" | uniq | sort | cut -c 8- | rev | cut -c 21- | rev | sed 's/\//./g') |
| 108 | endef |
| 109 | |
| 110 | EXCLUDE_EXTRA_PACKAGES := \ |
| 111 | com.android.dialer.binary.aosp.testing \ |
| 112 | com.android.dialer.binary.google \ |
| 113 | com.android.incallui.calllocation.impl \ |
| 114 | com.android.incallui.maps.impl \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 115 | |
| 116 | # We specify each package explicitly to glob resource files. |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 117 | LOCAL_AAPT_FLAGS := $(call all-dialer-manifest-extra-packages) |
| 118 | LOCAL_AAPT_FLAGS := $(filter-out $(EXCLUDE_EXTRA_PACKAGES),$(LOCAL_AAPT_FLAGS)) |
| 119 | LOCAL_AAPT_FLAGS := $(addprefix --extra-packages , $(LOCAL_AAPT_FLAGS)) |
| 120 | LOCAL_AAPT_FLAGS += \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 121 | --auto-add-overlay \ |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 122 | --extra-packages me.leolin.shortcutbadger \ |
| 123 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 124 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 125 | android-common \ |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 126 | android-support-dynamic-animation \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 127 | com.android.vcard \ |
Eric Erfanian | cdb1edf | 2017-03-29 10:20:40 -0700 | [diff] [blame] | 128 | dialer-commons-io-target \ |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 129 | dialer-dagger2-target \ |
| 130 | dialer-disklrucache-target \ |
| 131 | dialer-gifdecoder-target \ |
| 132 | dialer-glide-target \ |
Eric Erfanian | 1ce79b9 | 2017-08-10 08:11:26 -0700 | [diff] [blame] | 133 | dialer-grpc-all-target \ |
| 134 | dialer-grpc-context-target \ |
| 135 | dialer-grpc-core-target \ |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 136 | dialer-grpc-okhttp-target \ |
| 137 | dialer-grpc-protobuf-lite-target \ |
Eric Erfanian | 1ce79b9 | 2017-08-10 08:11:26 -0700 | [diff] [blame] | 138 | dialer-grpc-stub-target \ |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 139 | dialer-guava-target \ |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 140 | dialer-javax-annotation-api-target \ |
| 141 | dialer-javax-inject-target \ |
| 142 | dialer-libshortcutbadger-target \ |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 143 | dialer-mime4j-core-target \ |
| 144 | dialer-mime4j-dom-target \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 145 | jsr305 \ |
| 146 | libphonenumber \ |
Eric Erfanian | cdb1edf | 2017-03-29 10:20:40 -0700 | [diff] [blame] | 147 | volley \ |
Eric Erfanian | d3dafe1 | 2017-08-18 08:20:09 -0700 | [diff] [blame^] | 148 | libbackup \ |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 149 | |
Alan Viverette | b5870be | 2017-04-26 11:15:10 -0400 | [diff] [blame] | 150 | LOCAL_STATIC_ANDROID_LIBRARIES := \ |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 151 | android-support-core-ui \ |
Alan Viverette | b5870be | 2017-04-26 11:15:10 -0400 | [diff] [blame] | 152 | android-support-design \ |
| 153 | android-support-transition \ |
| 154 | android-support-v13 \ |
| 155 | android-support-v4 \ |
| 156 | android-support-v7-appcompat \ |
| 157 | android-support-v7-cardview \ |
| 158 | android-support-v7-recyclerview \ |
| 159 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 160 | LOCAL_JAVA_LIBRARIES := \ |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 161 | dialer-auto-value \ |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 162 | org.apache.http.legacy \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 163 | |
| 164 | # Libraries needed by the compiler (JACK) to generate code. |
| 165 | PROCESSOR_LIBRARIES_TARGET := \ |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 166 | dialer-auto-value \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 167 | dialer-dagger2 \ |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 168 | dialer-dagger2-compiler \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 169 | dialer-dagger2-producers \ |
| 170 | dialer-guava \ |
| 171 | dialer-javax-annotation-api \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 172 | dialer-javax-inject \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 173 | |
| 174 | # Resolve the jar paths. |
| 175 | PROCESSOR_JARS := $(call java-lib-deps, $(PROCESSOR_LIBRARIES_TARGET)) |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 176 | # Necessary for annotation processors to work correctly. |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 177 | LOCAL_ADDITIONAL_DEPENDENCIES += $(PROCESSOR_JARS) |
| 178 | |
| 179 | LOCAL_JACK_FLAGS += --processorpath $(call normalize-path-list,$(PROCESSOR_JARS)) |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 180 | LOCAL_JAVACFLAGS += -processorpath $(call normalize-path-list,$(PROCESSOR_JARS)) |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 181 | |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 182 | |
| 183 | # Begin Bug: 37077388 |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 184 | LOCAL_DX_FLAGS := --multi-dex |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 185 | LOCAL_JACK_FLAGS := --multi-dex native |
| 186 | |
| 187 | LOCAL_PROGUARD_ENABLED := disabled |
| 188 | ifdef LOCAL_JACK_ENABLED |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 189 | |
| 190 | define all-dialer-proguard-flags |
| 191 | $(shell cd $(LOCAL_PATH) ; \ |
| 192 | find . -type f -name "proguard.*flags" | uniq | sort | cut -c 3-) |
| 193 | endef |
| 194 | |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 195 | # Proguard includes |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 196 | LOCAL_PROGUARD_FLAG_FILES := $(call all-dialer-proguard-flags) |
Colin Cross | f939e09 | 2017-04-05 22:13:40 -0700 | [diff] [blame] | 197 | LOCAL_PROGUARD_ENABLED := custom |
| 198 | |
Colin Cross | f939e09 | 2017-04-05 22:13:40 -0700 | [diff] [blame] | 199 | LOCAL_PROGUARD_ENABLED += optimization |
| 200 | endif |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 201 | |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 202 | # End Bug: 37077388 |
| 203 | |
Ta-wei Yen | 6640e55 | 2017-04-21 15:33:24 -0700 | [diff] [blame] | 204 | LOCAL_SDK_VERSION := system_current |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 205 | LOCAL_MODULE_TAGS := optional |
| 206 | LOCAL_PACKAGE_NAME := Dialer |
| 207 | LOCAL_CERTIFICATE := shared |
| 208 | LOCAL_PRIVILEGED_MODULE := true |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 209 | LOCAL_USE_AAPT2 := true |
| 210 | |
| 211 | # b/37483961 - Jack Not Compiling Dagger Class Properly |
| 212 | LOCAL_JACK_ENABLED := javac_frontend |
| 213 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 214 | include $(BUILD_PACKAGE) |
| 215 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 216 | # Cleanup local state |
| 217 | BASE_DIR := |
| 218 | SRC_DIRS := |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 219 | EXCLUDE_FILES := |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 220 | RES_DIRS := |
| 221 | DIALER_MANIFEST_FILES := |
| 222 | PROCESSOR_LIBRARIES_TARGET := |
| 223 | PROCESSOR_JARS := |
Eric Erfanian | 415dffb | 2017-08-08 14:32:39 -0700 | [diff] [blame] | 224 | EXCLUDE_MANIFESTS := |
| 225 | EXCLUDE_EXTRA_PACKAGES := |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 226 | |
| 227 | # Create references to prebuilt libraries. |
| 228 | include $(CLEAR_VARS) |
| 229 | |
| 230 | LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \ |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 231 | 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] | 232 | 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] | 233 | dialer-dagger2:../../../prebuilts/tools/common/m2/repository/com/google/dagger/dagger/2.7/dagger-2.7$(COMMON_JAVA_PACKAGE_SUFFIX) \ |
| 234 | 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] | 235 | dialer-grpc-all:../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-all/1.0.3/grpc-all-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) \ |
| 236 | dialer-grpc-core:../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-core/1.0.3/grpc-core-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) \ |
| 237 | dialer-grpc-okhttp:../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-okhttp/1.0.3/grpc-okhttp-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) \ |
| 238 | 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) \ |
| 239 | 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] | 240 | 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] | 241 | 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) \ |
| 242 | 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] | 243 | |
| 244 | include $(BUILD_MULTI_PREBUILT) |
| 245 | |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 246 | # Enumerate target prebuilts to avoid linker warnings like |
| 247 | # Dialer (java:sdk) should not link to dialer-guava (java:platform) |
| 248 | include $(CLEAR_VARS) |
| 249 | |
| 250 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 251 | LOCAL_MODULE := dialer-guava-target |
| 252 | LOCAL_SDK_VERSION := current |
| 253 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/com/google/guava/guava/20.0/guava-20.0$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 254 | LOCAL_UNINSTALLABLE_MODULE := true |
| 255 | |
| 256 | include $(BUILD_PREBUILT) |
| 257 | |
| 258 | include $(CLEAR_VARS) |
| 259 | |
| 260 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 261 | LOCAL_MODULE := dialer-dagger2-target |
| 262 | LOCAL_SDK_VERSION := current |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 263 | 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] | 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-disklrucache-target |
| 272 | LOCAL_SDK_VERSION := current |
Lujiang Xue | c0f306f | 2017-05-25 09:10:58 -0700 | [diff] [blame] | 273 | 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] | 274 | LOCAL_UNINSTALLABLE_MODULE := true |
| 275 | |
| 276 | include $(BUILD_PREBUILT) |
| 277 | |
| 278 | include $(CLEAR_VARS) |
| 279 | |
| 280 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 281 | LOCAL_MODULE := dialer-gifdecoder-target |
| 282 | LOCAL_SDK_VERSION := current |
Lujiang Xue | c0f306f | 2017-05-25 09:10:58 -0700 | [diff] [blame] | 283 | 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] | 284 | LOCAL_UNINSTALLABLE_MODULE := true |
| 285 | |
| 286 | include $(BUILD_PREBUILT) |
| 287 | |
| 288 | include $(CLEAR_VARS) |
| 289 | |
| 290 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 291 | LOCAL_MODULE := dialer-glide-target |
| 292 | LOCAL_SDK_VERSION := current |
Lujiang Xue | c0f306f | 2017-05-25 09:10:58 -0700 | [diff] [blame] | 293 | 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] | 294 | LOCAL_UNINSTALLABLE_MODULE := true |
| 295 | |
| 296 | include $(BUILD_PREBUILT) |
| 297 | |
| 298 | include $(CLEAR_VARS) |
| 299 | |
| 300 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 301 | LOCAL_MODULE := dialer-javax-annotation-api-target |
| 302 | LOCAL_SDK_VERSION := current |
| 303 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 304 | LOCAL_UNINSTALLABLE_MODULE := true |
| 305 | |
| 306 | include $(BUILD_PREBUILT) |
| 307 | |
| 308 | include $(CLEAR_VARS) |
| 309 | |
| 310 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 311 | LOCAL_MODULE := dialer-libshortcutbadger-target |
| 312 | LOCAL_SDK_VERSION := current |
| 313 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/me/leolin/ShortcutBadger/1.1.13/ShortcutBadger-1.1.13$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 314 | LOCAL_UNINSTALLABLE_MODULE := true |
| 315 | |
| 316 | include $(BUILD_PREBUILT) |
| 317 | |
| 318 | include $(CLEAR_VARS) |
| 319 | |
| 320 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 321 | LOCAL_MODULE := dialer-javax-inject-target |
| 322 | LOCAL_SDK_VERSION := current |
| 323 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/javax/inject/javax.inject/1/javax.inject-1$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 324 | LOCAL_UNINSTALLABLE_MODULE := true |
| 325 | |
| 326 | include $(BUILD_PREBUILT) |
| 327 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 328 | include $(CLEAR_VARS) |
Eric Erfanian | cdb1edf | 2017-03-29 10:20:40 -0700 | [diff] [blame] | 329 | |
Eric Erfanian | cdb1edf | 2017-03-29 10:20:40 -0700 | [diff] [blame] | 330 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 331 | LOCAL_MODULE := dialer-commons-io-target |
| 332 | LOCAL_SDK_VERSION := current |
| 333 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/commons-io/commons-io/2.4/commons-io-2.4$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 334 | LOCAL_UNINSTALLABLE_MODULE := true |
| 335 | |
| 336 | include $(BUILD_PREBUILT) |
| 337 | |
| 338 | include $(CLEAR_VARS) |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 339 | |
| 340 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 341 | LOCAL_MODULE := dialer-mime4j-core-target |
| 342 | LOCAL_SDK_VERSION := current |
| 343 | 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) |
| 344 | LOCAL_UNINSTALLABLE_MODULE := true |
| 345 | |
| 346 | include $(BUILD_PREBUILT) |
| 347 | |
| 348 | include $(CLEAR_VARS) |
| 349 | |
| 350 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 351 | LOCAL_MODULE := dialer-mime4j-dom-target |
| 352 | LOCAL_SDK_VERSION := current |
| 353 | 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) |
| 354 | LOCAL_UNINSTALLABLE_MODULE := true |
| 355 | |
| 356 | include $(BUILD_PREBUILT) |
| 357 | |
Ta-wei Yen | 6af9c02 | 2017-05-25 14:57:51 -0700 | [diff] [blame] | 358 | include $(CLEAR_VARS) |
Eric Erfanian | 2f1c758 | 2017-06-19 11:26:01 -0700 | [diff] [blame] | 359 | |
| 360 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 361 | LOCAL_MODULE := dialer-grpc-core-target |
| 362 | LOCAL_SDK_VERSION := current |
| 363 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-core/1.0.3/grpc-core-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 364 | LOCAL_UNINSTALLABLE_MODULE := true |
| 365 | |
| 366 | include $(BUILD_PREBUILT) |
| 367 | |
| 368 | include $(CLEAR_VARS) |
| 369 | |
| 370 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 371 | LOCAL_MODULE := dialer-grpc-okhttp-target |
| 372 | LOCAL_SDK_VERSION := current |
| 373 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-okhttp/1.0.3/grpc-okhttp-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 374 | LOCAL_UNINSTALLABLE_MODULE := true |
| 375 | |
| 376 | include $(BUILD_PREBUILT) |
| 377 | |
| 378 | include $(CLEAR_VARS) |
| 379 | |
| 380 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 381 | LOCAL_MODULE := dialer-grpc-protobuf-lite-target |
| 382 | LOCAL_SDK_VERSION := current |
| 383 | 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) |
| 384 | LOCAL_UNINSTALLABLE_MODULE := true |
| 385 | |
| 386 | include $(BUILD_PREBUILT) |
| 387 | |
| 388 | include $(CLEAR_VARS) |
| 389 | |
| 390 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 391 | LOCAL_MODULE := dialer-grpc-stub-target |
| 392 | LOCAL_SDK_VERSION := current |
| 393 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-stub/1.0.3/grpc-stub-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 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-all-target |
| 402 | LOCAL_SDK_VERSION := current |
| 403 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-all/1.0.3/grpc-all-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 404 | LOCAL_UNINSTALLABLE_MODULE := true |
| 405 | |
| 406 | include $(BUILD_PREBUILT) |
| 407 | |
| 408 | include $(CLEAR_VARS) |
Eric Erfanian | 3bb9641 | 2017-06-22 10:19:53 -0700 | [diff] [blame] | 409 | |
| 410 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 411 | LOCAL_MODULE := dialer-grpc-context-target |
| 412 | LOCAL_SDK_VERSION := current |
| 413 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-context/1.0.3/grpc-context-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 414 | LOCAL_UNINSTALLABLE_MODULE := true |
| 415 | |
| 416 | include $(BUILD_PREBUILT) |
| 417 | |
wangqi | 6967466 | 2017-06-29 13:14:51 -0700 | [diff] [blame] | 418 | include $(CLEAR_VARS) |