1// Copyright (C) 2012 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15//################################################# 16// Build appcompat library 17 18android_library { 19 name: "libphotoviewer_appcompat", 20 21 libs: ["androidx.annotation_annotation"], 22 23 static_libs: [ 24 "androidx.core_core", 25 "androidx.legacy_legacy-support-core-ui", 26 "androidx.legacy_legacy-support-core-utils", 27 "androidx.fragment_fragment", 28 "androidx.appcompat_appcompat", 29 ], 30 31 sdk_version: "current", 32 srcs: [ 33 "src/**/*.java", 34 "appcompat/src/**/*.java", 35 "src/**/*.logtags", 36 ], 37 38 resource_dirs: [ 39 "appcompat/res", 40 "res", 41 ], 42} 43 44//################################################# 45// Build non-appcompat library 46 47android_library { 48 name: "libphotoviewer", 49 50 libs: ["androidx.annotation_annotation"], 51 52 static_libs: [ 53 "androidx.core_core", 54 "androidx.legacy_legacy-support-core-ui", 55 "androidx.legacy_legacy-support-core-utils", 56 "androidx.fragment_fragment", 57 ], 58 59 sdk_version: "current", 60 srcs: [ 61 "src/**/*.java", 62 "activity/src/**/*.java", 63 "src/**/*.logtags", 64 ], 65 66 resource_dirs: [ 67 "activity/res", 68 "res", 69 ] 70} 71