Files
packages_apps_Messaging/Android.bp
T
Michael Bestas b57c41709d Merge tag 'android-16.0.0_r1' into lineage-23.0
Android 16.0.0 release 1

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCaEhhFAAKCRDorT+BmrEO
# eLOdAKCHPJhTvoM0MAV2zS8sTjDG0Y4hwQCfckYdgli0zMEeKt+oxUJzQ0ORmNA=
# =f32s
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Jun 10 19:45:08 2025 EEST
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [ultimate]

# By Christoffer Adamsen (2) and others
# Via Automerger Merge Worker (15) and others
* tag 'android-16.0.0_r1':
  [owners] Remove rtenneti@google.com from OWNERS
  packages/apps/Messaging: remove deprecated Mockito usages
  Do not keep runtime invisible annotations in proguard.flags
  Explicitly keep default constructor in rules without members
  Revert "Remove abandoned implementation."
  Remove abandoned implementation.

 Conflicts:
	proguard.flags
	tests/src/com/android/messaging/FakeFactory.java
	tests/src/com/android/messaging/datamodel/media/ImageRequestTest.java
	tests/src/com/android/messaging/ui/attachmentchooser/AttachmentChooserFragmentTest.java
	tests/src/com/android/messaging/ui/contact/ContactPickerFragmentTest.java
	tests/src/com/android/messaging/ui/conversation/ComposeMessageViewTest.java
	tests/src/com/android/messaging/ui/conversation/ConversationFragmentTest.java
	tests/src/com/android/messaging/ui/conversationlist/ConversationListFragmentTest.java
	tests/src/com/android/messaging/ui/mediapicker/AudioRecordViewTest.java
	tests/src/com/android/messaging/ui/mediapicker/GalleryGridItemViewTest.java
	tests/src/com/android/messaging/ui/mediapicker/MediaPickerTest.java

Change-Id: Ica660f1b6ac136254bc8e91ebee9469f30ebd7c1
2025-06-15 21:21:15 +03:00

114 lines
3.0 KiB
Plaintext

// Copyright (C) 2015 The Android Open Source Project
// Copyright (C) 2024 The LineageOS Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package {
// See: http://go/android-license-faq
default_applicable_licenses: [
"Android-Apache-2.0",
],
}
soong_config_module_type {
name: "messaging_java_defaults",
module_type: "java_defaults",
config_namespace: "messaging",
bool_variables: ["build_variant_eng"],
properties: ["optimize"],
}
messaging_java_defaults {
name: "messaging_defaults",
soong_config_variables: {
build_variant_eng: {
optimize: {
keep_runtime_invisible_annotations: true,
proguard_flags_files: [
"proguard.flags",
"proguard-test.flags",
],
},
conditions_default: {
optimize: {
keep_runtime_invisible_annotations: true,
proguard_flags_files: [
"proguard.flags",
"proguard-release.flags",
],
}
},
},
},
}
android_app {
name: "messaging",
srcs: ["src/**/*.java"],
defaults: ["messaging_defaults"],
static_libs: [
"androidx.activity_activity",
"androidx.annotation_annotation",
"androidx.appcompat_appcompat",
"androidx.collection_collection",
"androidx.core_core",
"androidx.exifinterface_exifinterface",
"androidx.fragment_fragment",
"androidx.media_media",
"androidx.palette_palette",
"androidx.preference_preference",
"androidx.recyclerview_recyclerview",
"androidx.viewpager_viewpager",
"colorpicker",
"com.android.vcard",
"com.google.android.material_material",
"guava",
"libchips",
"libphonenumber",
"libphotoviewer",
],
aaptflags: [
"--version-name",
"1.0.001",
"--version-code",
"10001040",
],
required: [
"libframesequence",
"libgiftranscode",
"com.android.messaging.allowlist",
],
optimize: {
obfuscate: true,
optimize: true,
enabled: true,
},
sdk_version: "current",
product_specific: true,
}
prebuilt_etc {
name: "com.android.messaging.allowlist",
product_specific: true,
sub_dir: "sysconfig",
src: "com.android.messaging.allowlist.xml",
filename_from_src: true,
}