blob: fc9990ed53a50b8f44c9e2c7f2fc5ba33ebd3fb3 [file] [log] [blame]
// Copyright (C) 2012 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.
//#################################################
// Build appcompat library
android_library {
name: "libphotoviewer_appcompat",
libs: ["androidx.annotation_annotation"],
static_libs: [
"androidx.core_core",
"androidx.legacy_legacy-support-core-ui",
"androidx.legacy_legacy-support-core-utils",
"androidx.fragment_fragment",
"androidx.appcompat_appcompat",
],
sdk_version: "current",
srcs: [
"src/**/*.java",
"appcompat/src/**/*.java",
"src/**/*.logtags",
],
resource_dirs: [
"appcompat/res",
"res",
],
aaptflags: ["--legacy"],
}
//#################################################
// Build non-appcompat library
android_library {
name: "libphotoviewer",
libs: ["androidx.annotation_annotation"],
static_libs: [
"androidx.core_core",
"androidx.legacy_legacy-support-core-ui",
"androidx.legacy_legacy-support-core-utils",
"androidx.fragment_fragment",
],
sdk_version: "current",
srcs: [
"src/**/*.java",
"activity/src/**/*.java",
"src/**/*.logtags",
],
resource_dirs: [
"activity/res",
"res",
],
aaptflags: ["--legacy"],
}