blob: 63605ef2c8a63b547fbda8c1af6688fb781d277b [file] [log] [blame]
// Copyright (C) 2019 The Android Open Source 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.
//
java_library {
name: "carsettings-logtags",
srcs: ["src/**/*.logtags"],
}
// Build the Settings APK
android_app {
name: "CarDeveloperOptions",
defaults: [
"SettingsLibDefaults",
"SettingsLib-search-defaults",
],
platform_apis: true,
certificate: "platform",
system_ext_specific: true,
privileged: true,
required: ["privapp_whitelist_com.android.car.developeroptions"],
srcs: ["src/**/*.java"],
static_libs: [
"androidx-constraintlayout_constraintlayout",
"androidx.slice_slice-builders",
"androidx.slice_slice-core",
"androidx.slice_slice-view",
"androidx.core_core",
"androidx.appcompat_appcompat",
"androidx.cardview_cardview",
"androidx.preference_preference",
"androidx.recyclerview_recyclerview",
"com.google.android.material_material",
"setupcompat",
"setupdesign",
"androidx-constraintlayout_constraintlayout-solver",
"androidx.lifecycle_lifecycle-runtime",
"androidx.lifecycle_lifecycle-extensions",
"guava",
"jsr305",
"carsettings-contextual-card-protos-lite",
"carsettings-log-bridge-protos-lite",
"carsettings-logtags",
"statslog-settings",
"zxing-core-1.7",
],
libs: [
"telephony-common",
"android.car.settings",
"ims-common",
],
optimize: {
proguard_flags_files: ["proguard.flags"],
},
// TODO(b/176240706): "org.apache.http.legacy" is used by Settings,
// get rid of this dependency and remove the "uses_libs" property.
uses_libs: ["org.apache.http.legacy"],
}