• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright (C) 2017 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#      http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17ifneq ($(TARGET_BUILD_PDK), true)
18
19LOCAL_PATH:= $(call my-dir)
20include $(CLEAR_VARS)
21
22LOCAL_SRC_FILES := $(call all-java-files-under, src)
23
24LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
25
26LOCAL_MODULE_TAGS := optional
27
28LOCAL_PACKAGE_NAME := CarMessengerApp
29LOCAL_PRIVATE_PLATFORM_APIS := true
30
31LOCAL_OVERRIDES_PACKAGES := messaging
32
33LOCAL_MODULE_TAGS := optional
34
35LOCAL_PROGUARD_ENABLED := disabled
36
37LOCAL_PRIVILEGED_MODULE := true
38
39LOCAL_USE_AAPT2 := true
40
41LOCAL_STATIC_ANDROID_LIBRARIES += \
42    androidx.car_car \
43    car-apps-common
44
45LOCAL_STATIC_JAVA_LIBRARIES += \
46    androidx.annotation_annotation \
47    car-messenger-glide-target \
48    car-massenger-gifdecoder-target \
49    car-messenger-disklrucache-target
50
51LOCAL_DEX_PREOPT := false
52
53include $(BUILD_PACKAGE)
54
55include $(CLEAR_VARS)
56
57LOCAL_MODULE_CLASS := JAVA_LIBRARIES
58LOCAL_MODULE := car-messenger-disklrucache-target
59LOCAL_SDK_VERSION := current
60LOCAL_SRC_FILES := ../../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/disklrucache/SNAPSHOT/disklrucache-SNAPSHOT$(COMMON_JAVA_PACKAGE_SUFFIX)
61LOCAL_JETIFIER_ENABLED := true
62LOCAL_UNINSTALLABLE_MODULE := true
63
64include $(BUILD_PREBUILT)
65
66include $(CLEAR_VARS)
67
68LOCAL_MODULE_CLASS := JAVA_LIBRARIES
69LOCAL_MODULE := car-massenger-gifdecoder-target
70LOCAL_SDK_VERSION := current
71LOCAL_SRC_FILES := ../../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/gifdecoder/SNAPSHOT/gifdecoder-SNAPSHOT$(COMMON_JAVA_PACKAGE_SUFFIX)
72LOCAL_JETIFIER_ENABLED := true
73LOCAL_UNINSTALLABLE_MODULE := true
74
75include $(BUILD_PREBUILT)
76
77include $(CLEAR_VARS)
78
79LOCAL_MODULE_CLASS := JAVA_LIBRARIES
80LOCAL_MODULE := car-messenger-glide-target
81LOCAL_SDK_VERSION := current
82LOCAL_SRC_FILES := ../../../../prebuilts/maven_repo/bumptech/com/github/bumptech/glide/glide/SNAPSHOT/glide-SNAPSHOT$(COMMON_JAVA_PACKAGE_SUFFIX)
83LOCAL_JETIFIER_ENABLED := true
84LOCAL_UNINSTALLABLE_MODULE := true
85
86include $(BUILD_PREBUILT)
87
88# Use the following include to make our test apk.
89ifeq (,$(ONE_SHOT_MAKEFILE))
90include $(call all-makefiles-under,$(LOCAL_PATH))
91endif
92
93endif
94