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.backup.api_key. This should be added to |
| 3 | # the manifest in the top level directory. |
| 4 | # * removed com.google.android.geo.API_KEY key. This should be added to |
| 5 | # the manifest files in java/com/android/incallui/calllocation/impl/ |
| 6 | # and /java/com/android/incallui/maps/impl/ |
Eric Erfanian | 842a977 | 2017-06-22 09:39:08 -0700 | [diff] [blame] | 7 | # * b/62417801 modify translation string naming convention: |
| 8 | # $ find . -type d | grep 262 | rename 's/(values)\-([a-zA-Z\+\-]+)\-(mcc262-mnc01)/$1-$3-$2/' |
Eric Erfanian | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 9 | # * b/62343966 include manually generated GRPC service class: |
| 10 | # $ 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 \ |
| 11 | # --grpc-java_out=lite:"packages/apps/Dialer/java/com/android/voicemail/impl/" \ |
Eric Erfanian | ea7890c | 2017-06-19 12:40:59 -0700 | [diff] [blame] | 12 | # --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" |
Eric Erfanian | 842a977 | 2017-06-22 09:39:08 -0700 | [diff] [blame] | 13 | # * b/37077388 temporarily disable proguard with javac |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 14 | LOCAL_PATH:= $(call my-dir) |
| 15 | include $(CLEAR_VARS) |
| 16 | |
Kirill Grouchnikov | fa34097 | 2017-05-16 01:32:43 +0000 | [diff] [blame] | 17 | ifeq ($(TARGET_BUILD_APPS),) |
| 18 | support_library_root_dir := frameworks/support |
| 19 | else |
| 20 | support_library_root_dir := prebuilts/sdk/current/support |
| 21 | endif |
| 22 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 23 | # The base directory for Dialer sources. |
| 24 | BASE_DIR := java/com/android |
Jay Shrauner | 0f68a71 | 2014-07-16 16:13:57 -0700 | [diff] [blame] | 25 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 26 | # Primary dialer module sources. |
| 27 | SRC_DIRS := \ |
| 28 | $(BASE_DIR)/contacts/common \ |
| 29 | $(BASE_DIR)/dialer \ |
Eric Erfanian | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 30 | $(BASE_DIR)/dialershared \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 31 | $(BASE_DIR)/incallui \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 32 | $(BASE_DIR)/voicemail |
| 33 | |
| 34 | # Exclude files incompatible with AOSP. |
| 35 | EXCLUDE_FILES := \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 36 | $(BASE_DIR)/incallui/calllocation/impl/AuthException.java \ |
| 37 | $(BASE_DIR)/incallui/calllocation/impl/CallLocationImpl.java \ |
| 38 | $(BASE_DIR)/incallui/calllocation/impl/CallLocationModule.java \ |
| 39 | $(BASE_DIR)/incallui/calllocation/impl/DownloadMapImageTask.java \ |
| 40 | $(BASE_DIR)/incallui/calllocation/impl/GoogleLocationSettingHelper.java \ |
| 41 | $(BASE_DIR)/incallui/calllocation/impl/HttpFetcher.java \ |
| 42 | $(BASE_DIR)/incallui/calllocation/impl/LocationFragment.java \ |
| 43 | $(BASE_DIR)/incallui/calllocation/impl/LocationHelper.java \ |
| 44 | $(BASE_DIR)/incallui/calllocation/impl/LocationPresenter.java \ |
| 45 | $(BASE_DIR)/incallui/calllocation/impl/LocationUrlBuilder.java \ |
| 46 | $(BASE_DIR)/incallui/calllocation/impl/ReverseGeocodeTask.java \ |
| 47 | $(BASE_DIR)/incallui/calllocation/impl/TrafficStatsTags.java \ |
| 48 | $(BASE_DIR)/incallui/maps/impl/MapsImpl.java \ |
| 49 | $(BASE_DIR)/incallui/maps/impl/MapsModule.java \ |
Eric Erfanian | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 50 | $(BASE_DIR)/incallui/maps/impl/StaticMapFragment.java \ |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 51 | |
Paul Duffin | 922b108 | 2017-05-05 15:05:47 +0100 | [diff] [blame] | 52 | # Exclude testing only class, not used anywhere here |
| 53 | EXCLUDE_FILES += \ |
| 54 | $(BASE_DIR)/contacts/common/format/testing/SpannedTestUtils.java |
| 55 | |
Eric Erfanian | 842a977 | 2017-06-22 09:39:08 -0700 | [diff] [blame] | 56 | # Exclude build variants for now |
| 57 | EXCLUDE_FILES += \ |
| 58 | $(BASE_DIR)/dialer/buildtype/bugfood/BuildTypeAccessorImpl.java \ |
| 59 | $(BASE_DIR)/dialer/buildtype/dogfood/BuildTypeAccessorImpl.java \ |
| 60 | $(BASE_DIR)/dialer/buildtype/fishfood/BuildTypeAccessorImpl.java \ |
| 61 | $(BASE_DIR)/dialer/buildtype/test/BuildTypeAccessorImpl.java \ |
| 62 | $(BASE_DIR)/dialer/constants/googledialer/ConstantsImpl.java \ |
| 63 | $(BASE_DIR)/dialer/binary/google/GoogleStubDialerRootComponent.java \ |
| 64 | $(BASE_DIR)/dialer/binary/google/GoogleStubDialerApplication.java |
| 65 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 66 | # All Dialers resources. |
| 67 | # find . -type d -name "res" | uniq | sort |
| 68 | RES_DIRS := \ |
| 69 | assets/product/res \ |
| 70 | assets/quantum/res \ |
| 71 | $(BASE_DIR)/contacts/common/res \ |
Eric Erfanian | c857f90 | 2017-05-15 14:05:33 -0700 | [diff] [blame] | 72 | $(BASE_DIR)/dialer/about/res \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 73 | $(BASE_DIR)/dialer/app/res \ |
| 74 | $(BASE_DIR)/dialer/app/voicemail/error/res \ |
| 75 | $(BASE_DIR)/dialer/blocking/res \ |
| 76 | $(BASE_DIR)/dialer/callcomposer/camera/camerafocus/res \ |
| 77 | $(BASE_DIR)/dialer/callcomposer/cameraui/res \ |
| 78 | $(BASE_DIR)/dialer/callcomposer/res \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 79 | $(BASE_DIR)/dialer/calldetails/res \ |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 80 | $(BASE_DIR)/dialer/calllog/ui/res \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 81 | $(BASE_DIR)/dialer/calllogutils/res \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 82 | $(BASE_DIR)/dialer/common/res \ |
Eric Erfanian | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 83 | $(BASE_DIR)/dialer/contactactions/res \ |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 84 | $(BASE_DIR)/dialer/contactsfragment/res \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 85 | $(BASE_DIR)/dialer/dialpadview/res \ |
Eric Erfanian | 842a977 | 2017-06-22 09:39:08 -0700 | [diff] [blame] | 86 | $(BASE_DIR)/dialer/enrichedcall/simulator/res \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 87 | $(BASE_DIR)/dialer/interactions/res \ |
Eric Erfanian | ea7890c | 2017-06-19 12:40:59 -0700 | [diff] [blame] | 88 | $(BASE_DIR)/dialer/main/impl/res \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 89 | $(BASE_DIR)/dialer/notification/res \ |
| 90 | $(BASE_DIR)/dialer/oem/res \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 91 | $(BASE_DIR)/dialer/phonenumberutil/res \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 92 | $(BASE_DIR)/dialer/postcall/res \ |
Eric Erfanian | 842a977 | 2017-06-22 09:39:08 -0700 | [diff] [blame] | 93 | $(BASE_DIR)/dialer/searchfragment/common/res \ |
Eric Erfanian | ea7890c | 2017-06-19 12:40:59 -0700 | [diff] [blame] | 94 | $(BASE_DIR)/dialer/searchfragment/list/res \ |
| 95 | $(BASE_DIR)/dialer/searchfragment/nearbyplaces/res \ |
Eric Erfanian | 842a977 | 2017-06-22 09:39:08 -0700 | [diff] [blame] | 96 | $(BASE_DIR)/dialershared/bubble/res \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 97 | $(BASE_DIR)/dialer/shortcuts/res \ |
Eric Erfanian | d8046e5 | 2017-04-06 09:41:50 -0700 | [diff] [blame] | 98 | $(BASE_DIR)/dialer/speeddial/res \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 99 | $(BASE_DIR)/dialer/theme/res \ |
| 100 | $(BASE_DIR)/dialer/util/res \ |
| 101 | $(BASE_DIR)/dialer/voicemailstatus/res \ |
| 102 | $(BASE_DIR)/dialer/widget/res \ |
| 103 | $(BASE_DIR)/incallui/answer/impl/affordance/res \ |
| 104 | $(BASE_DIR)/incallui/answer/impl/answermethod/res \ |
| 105 | $(BASE_DIR)/incallui/answer/impl/hint/res \ |
| 106 | $(BASE_DIR)/incallui/answer/impl/res \ |
| 107 | $(BASE_DIR)/incallui/audioroute/res \ |
| 108 | $(BASE_DIR)/incallui/autoresizetext/res \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 109 | $(BASE_DIR)/incallui/calllocation/impl/res \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 110 | $(BASE_DIR)/incallui/commontheme/res \ |
| 111 | $(BASE_DIR)/incallui/contactgrid/res \ |
Eric Erfanian | d538e0b | 2017-06-30 15:26:17 -0700 | [diff] [blame] | 112 | $(BASE_DIR)/incallui/disconnectdialog/res \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 113 | $(BASE_DIR)/incallui/hold/res \ |
| 114 | $(BASE_DIR)/incallui/incall/impl/res \ |
| 115 | $(BASE_DIR)/incallui/res \ |
| 116 | $(BASE_DIR)/incallui/sessiondata/res \ |
Eric Erfanian | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 117 | $(BASE_DIR)/incallui/speakerbuttonlogic/res \ |
Eric Erfanian | c857f90 | 2017-05-15 14:05:33 -0700 | [diff] [blame] | 118 | $(BASE_DIR)/incallui/telecomeventui/res \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 119 | $(BASE_DIR)/incallui/video/impl/res \ |
Eric Erfanian | d8046e5 | 2017-04-06 09:41:50 -0700 | [diff] [blame] | 120 | $(BASE_DIR)/incallui/video/protocol/res \ |
Eric Erfanian | ff2ad7f | 2017-07-27 10:45:54 -0700 | [diff] [blame] | 121 | $(BASE_DIR)/voicemail/impl/configui/res \ |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 122 | $(BASE_DIR)/voicemail/impl/res \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 123 | |
Ta-wei Yen | 90a13e9 | 2016-01-11 13:00:53 -0800 | [diff] [blame] | 124 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 125 | # Dialer manifest files to merge. |
| 126 | # find . -type f -name "AndroidManifest.xml" | uniq | sort |
| 127 | DIALER_MANIFEST_FILES += \ |
| 128 | $(BASE_DIR)/contacts/common/AndroidManifest.xml \ |
Eric Erfanian | c857f90 | 2017-05-15 14:05:33 -0700 | [diff] [blame] | 129 | $(BASE_DIR)/dialer/about/AndroidManifest.xml \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 130 | $(BASE_DIR)/dialer/app/AndroidManifest.xml \ |
| 131 | $(BASE_DIR)/dialer/app/manifests/activities/AndroidManifest.xml \ |
| 132 | $(BASE_DIR)/dialer/app/voicemail/error/AndroidManifest.xml \ |
| 133 | $(BASE_DIR)/dialer/backup/AndroidManifest.xml \ |
| 134 | $(BASE_DIR)/dialer/blocking/AndroidManifest.xml \ |
| 135 | $(BASE_DIR)/dialer/callcomposer/AndroidManifest.xml \ |
| 136 | $(BASE_DIR)/dialer/callcomposer/camera/AndroidManifest.xml \ |
| 137 | $(BASE_DIR)/dialer/callcomposer/camera/camerafocus/AndroidManifest.xml \ |
| 138 | $(BASE_DIR)/dialer/callcomposer/cameraui/AndroidManifest.xml \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 139 | $(BASE_DIR)/dialer/calldetails/AndroidManifest.xml \ |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 140 | $(BASE_DIR)/dialer/calllog/ui/AndroidManifest.xml \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 141 | $(BASE_DIR)/dialer/calllogutils/AndroidManifest.xml \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 142 | $(BASE_DIR)/dialer/common/AndroidManifest.xml \ |
Eric Erfanian | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 143 | $(BASE_DIR)/dialer/contactactions/AndroidManifest.xml \ |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 144 | $(BASE_DIR)/dialer/contactsfragment/AndroidManifest.xml \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 145 | $(BASE_DIR)/dialer/dialpadview/AndroidManifest.xml \ |
Eric Erfanian | 842a977 | 2017-06-22 09:39:08 -0700 | [diff] [blame] | 146 | $(BASE_DIR)/dialer/enrichedcall/simulator/AndroidManifest.xml \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 147 | $(BASE_DIR)/dialer/interactions/AndroidManifest.xml \ |
Eric Erfanian | ea7890c | 2017-06-19 12:40:59 -0700 | [diff] [blame] | 148 | $(BASE_DIR)/dialer/main/impl/AndroidManifest.xml \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 149 | $(BASE_DIR)/dialer/notification/AndroidManifest.xml \ |
| 150 | $(BASE_DIR)/dialer/oem/AndroidManifest.xml \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 151 | $(BASE_DIR)/dialer/phonenumberutil/AndroidManifest.xml \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 152 | $(BASE_DIR)/dialer/postcall/AndroidManifest.xml \ |
Eric Erfanian | 842a977 | 2017-06-22 09:39:08 -0700 | [diff] [blame] | 153 | $(BASE_DIR)/dialer/searchfragment/common/AndroidManifest.xml \ |
Eric Erfanian | ea7890c | 2017-06-19 12:40:59 -0700 | [diff] [blame] | 154 | $(BASE_DIR)/dialer/searchfragment/list/AndroidManifest.xml \ |
| 155 | $(BASE_DIR)/dialer/searchfragment/nearbyplaces/AndroidManifest.xml \ |
Eric Erfanian | 842a977 | 2017-06-22 09:39:08 -0700 | [diff] [blame] | 156 | $(BASE_DIR)/dialershared/bubble/AndroidManifest.xml \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 157 | $(BASE_DIR)/dialer/shortcuts/AndroidManifest.xml \ |
| 158 | $(BASE_DIR)/dialer/simulator/impl/AndroidManifest.xml \ |
Eric Erfanian | d8046e5 | 2017-04-06 09:41:50 -0700 | [diff] [blame] | 159 | $(BASE_DIR)/dialer/speeddial/AndroidManifest.xml \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 160 | $(BASE_DIR)/dialer/theme/AndroidManifest.xml \ |
| 161 | $(BASE_DIR)/dialer/util/AndroidManifest.xml \ |
| 162 | $(BASE_DIR)/dialer/voicemailstatus/AndroidManifest.xml \ |
| 163 | $(BASE_DIR)/dialer/widget/AndroidManifest.xml \ |
| 164 | $(BASE_DIR)/incallui/AndroidManifest.xml \ |
| 165 | $(BASE_DIR)/incallui/answer/impl/affordance/AndroidManifest.xml \ |
| 166 | $(BASE_DIR)/incallui/answer/impl/AndroidManifest.xml \ |
| 167 | $(BASE_DIR)/incallui/answer/impl/answermethod/AndroidManifest.xml \ |
| 168 | $(BASE_DIR)/incallui/answer/impl/hint/AndroidManifest.xml \ |
| 169 | $(BASE_DIR)/incallui/audioroute/AndroidManifest.xml \ |
| 170 | $(BASE_DIR)/incallui/autoresizetext/AndroidManifest.xml \ |
| 171 | $(BASE_DIR)/incallui/commontheme/AndroidManifest.xml \ |
| 172 | $(BASE_DIR)/incallui/contactgrid/AndroidManifest.xml \ |
Eric Erfanian | d538e0b | 2017-06-30 15:26:17 -0700 | [diff] [blame] | 173 | $(BASE_DIR)/incallui/disconnectdialog/AndroidManifest.xml \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 174 | $(BASE_DIR)/incallui/hold/AndroidManifest.xml \ |
| 175 | $(BASE_DIR)/incallui/incall/impl/AndroidManifest.xml \ |
| 176 | $(BASE_DIR)/incallui/sessiondata/AndroidManifest.xml \ |
Eric Erfanian | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 177 | $(BASE_DIR)/incallui/speakerbuttonlogic/AndroidManifest.xml \ |
Eric Erfanian | c857f90 | 2017-05-15 14:05:33 -0700 | [diff] [blame] | 178 | $(BASE_DIR)/incallui/telecomeventui/AndroidManifest.xml \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 179 | $(BASE_DIR)/incallui/video/impl/AndroidManifest.xml \ |
Eric Erfanian | d8046e5 | 2017-04-06 09:41:50 -0700 | [diff] [blame] | 180 | $(BASE_DIR)/incallui/video/protocol/AndroidManifest.xml \ |
Eric Erfanian | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 181 | $(BASE_DIR)/voicemail/AndroidManifest.xml \ |
Eric Erfanian | ff2ad7f | 2017-07-27 10:45:54 -0700 | [diff] [blame] | 182 | $(BASE_DIR)/voicemail/impl/configui/AndroidManifest.xml \ |
Eric Erfanian | 842a977 | 2017-06-22 09:39:08 -0700 | [diff] [blame] | 183 | $(BASE_DIR)/voicemail/impl/AndroidManifest.xml \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 184 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 185 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 186 | # Merge all manifest files. |
| 187 | LOCAL_FULL_LIBS_MANIFEST_FILES := \ |
| 188 | $(addprefix $(LOCAL_PATH)/, $(DIALER_MANIFEST_FILES)) |
| 189 | LOCAL_SRC_FILES := $(call all-java-files-under, $(SRC_DIRS)) |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 190 | LOCAL_SRC_FILES := $(filter-out $(EXCLUDE_FILES),$(LOCAL_SRC_FILES)) |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 191 | LOCAL_SRC_FILES += $(call all-proto-files-under, $(SRC_DIRS)) |
Eric Erfanian | b116167 | 2017-08-16 16:33:47 -0700 | [diff] [blame^] | 192 | |
| 193 | # Backup Library |
| 194 | BACKUP_LIB_SRC_DIR := ../../../external/libbackup/src/com/google/android/libraries/backup |
| 195 | EXCLUDE_BACKUP_LIB_SRCS := $(call all-java-files-under, $(BACKUP_LIB_SRC_DIR)/shadow) |
| 196 | LOCAL_SRC_FILES += $(call all-java-files-under, $(BACKUP_LIB_SRC_DIR)) |
| 197 | LOCAL_SRC_FILES := $(filter-out $(EXCLUDE_BACKUP_LIB_SRCS),$(LOCAL_SRC_FILES)) |
| 198 | |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 199 | LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH) |
| 200 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 201 | LOCAL_RESOURCE_DIR := \ |
| 202 | $(addprefix $(LOCAL_PATH)/, $(RES_DIRS)) \ |
Kirill Grouchnikov | fa34097 | 2017-05-16 01:32:43 +0000 | [diff] [blame] | 203 | $(support_library_root_dir)/design/res \ |
| 204 | $(support_library_root_dir)/transition/res \ |
| 205 | $(support_library_root_dir)/v7/appcompat/res \ |
| 206 | $(support_library_root_dir)/v7/cardview/res \ |
| 207 | $(support_library_root_dir)/v7/recyclerview/res |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 208 | |
| 209 | # We specify each package explicitly to glob resource files. |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 210 | LOCAL_AAPT_FLAGS := \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 211 | --auto-add-overlay \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 212 | --extra-packages com.android.contacts.common \ |
Eric Erfanian | c857f90 | 2017-05-15 14:05:33 -0700 | [diff] [blame] | 213 | --extra-packages com.android.dialer.about \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 214 | --extra-packages com.android.dialer.app \ |
| 215 | --extra-packages com.android.dialer.app.voicemail.error \ |
| 216 | --extra-packages com.android.dialer.blocking \ |
| 217 | --extra-packages com.android.dialer.callcomposer \ |
| 218 | --extra-packages com.android.dialer.callcomposer \ |
| 219 | --extra-packages com.android.dialer.callcomposer.camera \ |
| 220 | --extra-packages com.android.dialer.callcomposer.camera.camerafocus \ |
| 221 | --extra-packages com.android.dialer.callcomposer.cameraui \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 222 | --extra-packages com.android.dialer.calldetails \ |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 223 | --extra-packages com.android.dialer.calllog.ui \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 224 | --extra-packages com.android.dialer.calllogutils \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 225 | --extra-packages com.android.dialer.common \ |
Eric Erfanian | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 226 | --extra-packages com.android.dialer.contactactions \ |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 227 | --extra-packages com.android.dialer.contactsfragment \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 228 | --extra-packages com.android.dialer.dialpadview \ |
Eric Erfanian | 842a977 | 2017-06-22 09:39:08 -0700 | [diff] [blame] | 229 | --extra-packages com.android.dialer.enrichedcall.simulator \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 230 | --extra-packages com.android.dialer.interactions \ |
Eric Erfanian | ea7890c | 2017-06-19 12:40:59 -0700 | [diff] [blame] | 231 | --extra-packages com.android.dialer.main.impl \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 232 | --extra-packages com.android.dialer.notification \ |
| 233 | --extra-packages com.android.dialer.oem \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 234 | --extra-packages com.android.dialer.phonenumberutil \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 235 | --extra-packages com.android.dialer.postcall \ |
Eric Erfanian | 842a977 | 2017-06-22 09:39:08 -0700 | [diff] [blame] | 236 | --extra-packages com.android.dialer.searchfragment.common \ |
Eric Erfanian | ea7890c | 2017-06-19 12:40:59 -0700 | [diff] [blame] | 237 | --extra-packages com.android.dialer.searchfragment.list \ |
| 238 | --extra-packages com.android.dialer.searchfragment.nearbyplaces \ |
Eric Erfanian | 842a977 | 2017-06-22 09:39:08 -0700 | [diff] [blame] | 239 | --extra-packages com.android.dialershared.bubble \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 240 | --extra-packages com.android.dialer.shortcuts \ |
Eric Erfanian | d8046e5 | 2017-04-06 09:41:50 -0700 | [diff] [blame] | 241 | --extra-packages com.android.dialer.speeddial \ |
Eric Erfanian | c857f90 | 2017-05-15 14:05:33 -0700 | [diff] [blame] | 242 | --extra-packages com.android.dialer.theme \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 243 | --extra-packages com.android.dialer.util \ |
| 244 | --extra-packages com.android.dialer.voicemailstatus \ |
| 245 | --extra-packages com.android.dialer.widget \ |
| 246 | --extra-packages com.android.incallui \ |
| 247 | --extra-packages com.android.incallui.answer.impl \ |
| 248 | --extra-packages com.android.incallui.answer.impl.affordance \ |
| 249 | --extra-packages com.android.incallui.answer.impl.affordance \ |
| 250 | --extra-packages com.android.incallui.answer.impl.answermethod \ |
| 251 | --extra-packages com.android.incallui.answer.impl.hint \ |
| 252 | --extra-packages com.android.incallui.audioroute \ |
| 253 | --extra-packages com.android.incallui.autoresizetext \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 254 | --extra-packages com.android.incallui.calllocation \ |
| 255 | --extra-packages com.android.incallui.calllocation.impl \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 256 | --extra-packages com.android.incallui.commontheme \ |
| 257 | --extra-packages com.android.incallui.contactgrid \ |
Eric Erfanian | d538e0b | 2017-06-30 15:26:17 -0700 | [diff] [blame] | 258 | --extra-packages com.android.incallui.disconnectdialog \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 259 | --extra-packages com.android.incallui.hold \ |
| 260 | --extra-packages com.android.incallui.incall.impl \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 261 | --extra-packages com.android.incallui.maps.impl \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 262 | --extra-packages com.android.incallui.sessiondata \ |
Eric Erfanian | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 263 | --extra-packages com.android.incallui.speakerbuttonlogic \ |
Eric Erfanian | c857f90 | 2017-05-15 14:05:33 -0700 | [diff] [blame] | 264 | --extra-packages com.android.incallui.telecomeventui \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 265 | --extra-packages com.android.incallui.video \ |
| 266 | --extra-packages com.android.incallui.video.impl \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 267 | --extra-packages com.android.phone.common \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 268 | --extra-packages com.android.voicemail \ |
Eric Erfanian | ff2ad7f | 2017-07-27 10:45:54 -0700 | [diff] [blame] | 269 | --extra-packages com.android.voicemail.impl.configui \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 270 | --extra-packages com.android.voicemail.impl \ |
| 271 | --extra-packages com.android.voicemail.impl.fetch \ |
| 272 | --extra-packages com.android.voicemail.impl.settings \ |
| 273 | --extra-packages com.android.voicemail.settings \ |
Eric Erfanian | 842a977 | 2017-06-22 09:39:08 -0700 | [diff] [blame] | 274 | --extra-packages me.leolin.shortcutbadger \ |
| 275 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 276 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 277 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 278 | android-common \ |
Eric Erfanian | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 279 | android-support-dynamic-animation \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 280 | com.android.vcard \ |
Eric Erfanian | cdb1edf | 2017-03-29 10:20:40 -0700 | [diff] [blame] | 281 | dialer-commons-io-target \ |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 282 | dialer-dagger2-target \ |
| 283 | dialer-disklrucache-target \ |
| 284 | dialer-gifdecoder-target \ |
| 285 | dialer-glide-target \ |
Eric Erfanian | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 286 | dialer-grpc-all-target \ |
Eric Erfanian | 842a977 | 2017-06-22 09:39:08 -0700 | [diff] [blame] | 287 | dialer-grpc-context-target \ |
Eric Erfanian | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 288 | dialer-grpc-core-target \ |
| 289 | dialer-grpc-okhttp-target \ |
| 290 | dialer-grpc-protobuf-lite-target \ |
| 291 | dialer-grpc-stub-target \ |
Eric Erfanian | 842a977 | 2017-06-22 09:39:08 -0700 | [diff] [blame] | 292 | dialer-guava-target \ |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 293 | dialer-javax-annotation-api-target \ |
| 294 | dialer-javax-inject-target \ |
| 295 | dialer-libshortcutbadger-target \ |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 296 | dialer-mime4j-core-target \ |
| 297 | dialer-mime4j-dom-target \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 298 | jsr305 \ |
| 299 | libphonenumber \ |
Eric Erfanian | 842a977 | 2017-06-22 09:39:08 -0700 | [diff] [blame] | 300 | okhttp \ |
Eric Erfanian | cdb1edf | 2017-03-29 10:20:40 -0700 | [diff] [blame] | 301 | volley \ |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 302 | |
Alan Viverette | b5870be | 2017-04-26 11:15:10 -0400 | [diff] [blame] | 303 | LOCAL_STATIC_ANDROID_LIBRARIES := \ |
| 304 | android-support-design \ |
| 305 | android-support-transition \ |
| 306 | android-support-v13 \ |
| 307 | android-support-v4 \ |
| 308 | android-support-v7-appcompat \ |
| 309 | android-support-v7-cardview \ |
| 310 | android-support-v7-recyclerview \ |
| 311 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 312 | LOCAL_JAVA_LIBRARIES := \ |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 313 | dialer-auto-value \ |
Eric Erfanian | 842a977 | 2017-06-22 09:39:08 -0700 | [diff] [blame] | 314 | org.apache.http.legacy \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 315 | |
| 316 | # Libraries needed by the compiler (JACK) to generate code. |
| 317 | PROCESSOR_LIBRARIES_TARGET := \ |
Eric Erfanian | 842a977 | 2017-06-22 09:39:08 -0700 | [diff] [blame] | 318 | dialer-auto-value \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 319 | dialer-dagger2 \ |
Eric Erfanian | 842a977 | 2017-06-22 09:39:08 -0700 | [diff] [blame] | 320 | dialer-dagger2-compiler \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 321 | dialer-dagger2-producers \ |
| 322 | dialer-guava \ |
| 323 | dialer-javax-annotation-api \ |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 324 | dialer-javax-inject \ |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 325 | |
| 326 | # Resolve the jar paths. |
| 327 | PROCESSOR_JARS := $(call java-lib-deps, $(PROCESSOR_LIBRARIES_TARGET)) |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 328 | # Necessary for annotation processors to work correctly. |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 329 | LOCAL_ADDITIONAL_DEPENDENCIES += $(PROCESSOR_JARS) |
| 330 | |
| 331 | LOCAL_JACK_FLAGS += --processorpath $(call normalize-path-list,$(PROCESSOR_JARS)) |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 332 | LOCAL_JAVACFLAGS += -processorpath $(call normalize-path-list,$(PROCESSOR_JARS)) |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 333 | |
Eric Erfanian | ea7890c | 2017-06-19 12:40:59 -0700 | [diff] [blame] | 334 | |
| 335 | # Begin Bug: 37077388 |
Eric Erfanian | 842a977 | 2017-06-22 09:39:08 -0700 | [diff] [blame] | 336 | LOCAL_DX_FLAGS := --multi-dex |
Eric Erfanian | ea7890c | 2017-06-19 12:40:59 -0700 | [diff] [blame] | 337 | LOCAL_JACK_FLAGS := --multi-dex native |
| 338 | |
| 339 | LOCAL_PROGUARD_ENABLED := disabled |
| 340 | ifdef LOCAL_JACK_ENABLED |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 341 | # Proguard includes |
| 342 | LOCAL_PROGUARD_FLAG_FILES := \ |
| 343 | java/com/android/dialer/common/proguard.flags \ |
| 344 | java/com/android/dialer/proguard/proguard_base.flags \ |
| 345 | java/com/android/dialer/proguard/proguard.flags \ |
| 346 | java/com/android/dialer/proguard/proguard_release.flags \ |
| 347 | java/com/android/incallui/answer/impl/proguard.flags |
Colin Cross | f939e09 | 2017-04-05 22:13:40 -0700 | [diff] [blame] | 348 | LOCAL_PROGUARD_ENABLED := custom |
| 349 | |
Colin Cross | f939e09 | 2017-04-05 22:13:40 -0700 | [diff] [blame] | 350 | LOCAL_PROGUARD_ENABLED += optimization |
| 351 | endif |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 352 | |
Eric Erfanian | ea7890c | 2017-06-19 12:40:59 -0700 | [diff] [blame] | 353 | # End Bug: 37077388 |
| 354 | |
Ta-wei Yen | 6640e55 | 2017-04-21 15:33:24 -0700 | [diff] [blame] | 355 | LOCAL_SDK_VERSION := system_current |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 356 | LOCAL_MODULE_TAGS := optional |
| 357 | LOCAL_PACKAGE_NAME := Dialer |
| 358 | LOCAL_CERTIFICATE := shared |
| 359 | LOCAL_PRIVILEGED_MODULE := true |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 360 | LOCAL_USE_AAPT2 := true |
| 361 | |
| 362 | # b/37483961 - Jack Not Compiling Dagger Class Properly |
| 363 | LOCAL_JACK_ENABLED := javac_frontend |
| 364 | |
Chiao Cheng | 94b10b5 | 2012-08-17 16:59:12 -0700 | [diff] [blame] | 365 | include $(BUILD_PACKAGE) |
| 366 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 367 | # Cleanup local state |
| 368 | BASE_DIR := |
| 369 | SRC_DIRS := |
Eric Erfanian | d5e47f6 | 2017-03-15 14:41:07 -0700 | [diff] [blame] | 370 | EXCLUDE_FILES := |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 371 | RES_DIRS := |
| 372 | DIALER_MANIFEST_FILES := |
| 373 | PROCESSOR_LIBRARIES_TARGET := |
| 374 | PROCESSOR_JARS := |
Eric Erfanian | b116167 | 2017-08-16 16:33:47 -0700 | [diff] [blame^] | 375 | BACKUP_LIB_SRC_DIR := |
| 376 | EXCLUDE_BACKUP_LIB_SRCS := |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 377 | |
| 378 | # Create references to prebuilt libraries. |
| 379 | include $(CLEAR_VARS) |
| 380 | |
| 381 | LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \ |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 382 | 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 | 842a977 | 2017-06-22 09:39:08 -0700 | [diff] [blame] | 383 | 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] | 384 | dialer-dagger2:../../../prebuilts/tools/common/m2/repository/com/google/dagger/dagger/2.7/dagger-2.7$(COMMON_JAVA_PACKAGE_SUFFIX) \ |
| 385 | 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 | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 386 | dialer-grpc-all:../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-all/1.0.3/grpc-all-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) \ |
| 387 | dialer-grpc-core:../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-core/1.0.3/grpc-core-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) \ |
| 388 | dialer-grpc-okhttp:../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-okhttp/1.0.3/grpc-okhttp-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) \ |
| 389 | 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) \ |
| 390 | 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 | 842a977 | 2017-06-22 09:39:08 -0700 | [diff] [blame] | 391 | 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] | 392 | 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) \ |
| 393 | 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] | 394 | |
| 395 | include $(BUILD_MULTI_PREBUILT) |
| 396 | |
Eric Erfanian | 9050823 | 2017-03-24 09:31:16 -0700 | [diff] [blame] | 397 | # Enumerate target prebuilts to avoid linker warnings like |
| 398 | # Dialer (java:sdk) should not link to dialer-guava (java:platform) |
| 399 | include $(CLEAR_VARS) |
| 400 | |
| 401 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 402 | LOCAL_MODULE := dialer-guava-target |
| 403 | LOCAL_SDK_VERSION := current |
| 404 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/com/google/guava/guava/20.0/guava-20.0$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 405 | LOCAL_UNINSTALLABLE_MODULE := true |
| 406 | |
| 407 | include $(BUILD_PREBUILT) |
| 408 | |
| 409 | include $(CLEAR_VARS) |
| 410 | |
| 411 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 412 | LOCAL_MODULE := dialer-dagger2-target |
| 413 | LOCAL_SDK_VERSION := current |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 414 | 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] | 415 | LOCAL_UNINSTALLABLE_MODULE := true |
| 416 | |
| 417 | include $(BUILD_PREBUILT) |
| 418 | |
| 419 | include $(CLEAR_VARS) |
| 420 | |
| 421 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 422 | LOCAL_MODULE := dialer-disklrucache-target |
| 423 | LOCAL_SDK_VERSION := current |
Lujiang Xue | c0f306f | 2017-05-25 09:10:58 -0700 | [diff] [blame] | 424 | 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] | 425 | LOCAL_UNINSTALLABLE_MODULE := true |
| 426 | |
| 427 | include $(BUILD_PREBUILT) |
| 428 | |
| 429 | include $(CLEAR_VARS) |
| 430 | |
| 431 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 432 | LOCAL_MODULE := dialer-gifdecoder-target |
| 433 | LOCAL_SDK_VERSION := current |
Lujiang Xue | c0f306f | 2017-05-25 09:10:58 -0700 | [diff] [blame] | 434 | 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] | 435 | LOCAL_UNINSTALLABLE_MODULE := true |
| 436 | |
| 437 | include $(BUILD_PREBUILT) |
| 438 | |
| 439 | include $(CLEAR_VARS) |
| 440 | |
| 441 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 442 | LOCAL_MODULE := dialer-glide-target |
| 443 | LOCAL_SDK_VERSION := current |
Lujiang Xue | c0f306f | 2017-05-25 09:10:58 -0700 | [diff] [blame] | 444 | 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] | 445 | LOCAL_UNINSTALLABLE_MODULE := true |
| 446 | |
| 447 | include $(BUILD_PREBUILT) |
| 448 | |
| 449 | include $(CLEAR_VARS) |
| 450 | |
| 451 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 452 | LOCAL_MODULE := dialer-javax-annotation-api-target |
| 453 | LOCAL_SDK_VERSION := current |
| 454 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 455 | LOCAL_UNINSTALLABLE_MODULE := true |
| 456 | |
| 457 | include $(BUILD_PREBUILT) |
| 458 | |
| 459 | include $(CLEAR_VARS) |
| 460 | |
| 461 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 462 | LOCAL_MODULE := dialer-libshortcutbadger-target |
| 463 | LOCAL_SDK_VERSION := current |
| 464 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/me/leolin/ShortcutBadger/1.1.13/ShortcutBadger-1.1.13$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 465 | LOCAL_UNINSTALLABLE_MODULE := true |
| 466 | |
| 467 | include $(BUILD_PREBUILT) |
| 468 | |
| 469 | include $(CLEAR_VARS) |
| 470 | |
| 471 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 472 | LOCAL_MODULE := dialer-javax-inject-target |
| 473 | LOCAL_SDK_VERSION := current |
| 474 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/javax/inject/javax.inject/1/javax.inject-1$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 475 | LOCAL_UNINSTALLABLE_MODULE := true |
| 476 | |
| 477 | include $(BUILD_PREBUILT) |
| 478 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 479 | include $(CLEAR_VARS) |
Eric Erfanian | cdb1edf | 2017-03-29 10:20:40 -0700 | [diff] [blame] | 480 | |
Eric Erfanian | cdb1edf | 2017-03-29 10:20:40 -0700 | [diff] [blame] | 481 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 482 | LOCAL_MODULE := dialer-commons-io-target |
| 483 | LOCAL_SDK_VERSION := current |
| 484 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/commons-io/commons-io/2.4/commons-io-2.4$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 485 | LOCAL_UNINSTALLABLE_MODULE := true |
| 486 | |
| 487 | include $(BUILD_PREBUILT) |
| 488 | |
| 489 | include $(CLEAR_VARS) |
Eric Erfanian | 8369df0 | 2017-05-03 10:27:13 -0700 | [diff] [blame] | 490 | |
| 491 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 492 | LOCAL_MODULE := dialer-mime4j-core-target |
| 493 | LOCAL_SDK_VERSION := current |
| 494 | 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) |
| 495 | LOCAL_UNINSTALLABLE_MODULE := true |
| 496 | |
| 497 | include $(BUILD_PREBUILT) |
| 498 | |
| 499 | include $(CLEAR_VARS) |
| 500 | |
| 501 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 502 | LOCAL_MODULE := dialer-mime4j-dom-target |
| 503 | LOCAL_SDK_VERSION := current |
| 504 | 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) |
| 505 | LOCAL_UNINSTALLABLE_MODULE := true |
| 506 | |
| 507 | include $(BUILD_PREBUILT) |
| 508 | |
Ta-wei Yen | 6af9c02 | 2017-05-25 14:57:51 -0700 | [diff] [blame] | 509 | include $(CLEAR_VARS) |
Eric Erfanian | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 510 | |
| 511 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 512 | LOCAL_MODULE := dialer-grpc-core-target |
| 513 | LOCAL_SDK_VERSION := current |
| 514 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-core/1.0.3/grpc-core-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 515 | LOCAL_UNINSTALLABLE_MODULE := true |
| 516 | |
| 517 | include $(BUILD_PREBUILT) |
| 518 | |
| 519 | include $(CLEAR_VARS) |
| 520 | |
| 521 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 522 | LOCAL_MODULE := dialer-grpc-okhttp-target |
| 523 | LOCAL_SDK_VERSION := current |
| 524 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-okhttp/1.0.3/grpc-okhttp-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 525 | LOCAL_UNINSTALLABLE_MODULE := true |
| 526 | |
| 527 | include $(BUILD_PREBUILT) |
| 528 | |
| 529 | include $(CLEAR_VARS) |
| 530 | |
| 531 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 532 | LOCAL_MODULE := dialer-grpc-protobuf-lite-target |
| 533 | LOCAL_SDK_VERSION := current |
| 534 | 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) |
| 535 | LOCAL_UNINSTALLABLE_MODULE := true |
| 536 | |
| 537 | include $(BUILD_PREBUILT) |
| 538 | |
| 539 | include $(CLEAR_VARS) |
| 540 | |
| 541 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 542 | LOCAL_MODULE := dialer-grpc-stub-target |
| 543 | LOCAL_SDK_VERSION := current |
| 544 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-stub/1.0.3/grpc-stub-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 545 | LOCAL_UNINSTALLABLE_MODULE := true |
| 546 | |
| 547 | include $(BUILD_PREBUILT) |
| 548 | |
| 549 | include $(CLEAR_VARS) |
| 550 | |
| 551 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 552 | LOCAL_MODULE := dialer-grpc-all-target |
| 553 | LOCAL_SDK_VERSION := current |
| 554 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-all/1.0.3/grpc-all-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 555 | LOCAL_UNINSTALLABLE_MODULE := true |
| 556 | |
| 557 | include $(BUILD_PREBUILT) |
| 558 | |
| 559 | include $(CLEAR_VARS) |
Eric Erfanian | ea7890c | 2017-06-19 12:40:59 -0700 | [diff] [blame] | 560 | |
Eric Erfanian | 842a977 | 2017-06-22 09:39:08 -0700 | [diff] [blame] | 561 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 562 | LOCAL_MODULE := dialer-grpc-context-target |
| 563 | LOCAL_SDK_VERSION := current |
| 564 | LOCAL_SRC_FILES := ../../../prebuilts/tools/common/m2/repository/io/grpc/grpc-context/1.0.3/grpc-context-1.0.3$(COMMON_JAVA_PACKAGE_SUFFIX) |
| 565 | LOCAL_UNINSTALLABLE_MODULE := true |
| 566 | |
| 567 | include $(BUILD_PREBUILT) |
| 568 | |
| 569 | include $(CLEAR_VARS) |