1// Copyright 2011, 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 APK 17 18package { 19 default_applicable_licenses: ["Android-Apache-2.0"], 20} 21 22android_app { 23 name: "PhotoViewerSample", 24 25 libs: ["androidx.annotation_annotation"], 26 27 static_libs: [ 28 "androidx.core_core", 29 "androidx.legacy_legacy-support-core-ui", 30 "androidx.legacy_legacy-support-core-utils", 31 "androidx.fragment_fragment", 32 "libphotoviewer", 33 ], 34 35 sdk_version: "current", 36 37 srcs: [ 38 "src/**/*.java", 39 "src/**/*.logtags", 40 ], 41 resource_dirs: ["res"], 42} 43 44//################################################# 45// Build APK 46android_app { 47 name: "AppcompatPhotoViewerSample", 48 49 libs: ["androidx.annotation_annotation"], 50 51 static_libs: [ 52 "androidx.core_core", 53 "androidx.legacy_legacy-support-core-ui", 54 "androidx.legacy_legacy-support-core-utils", 55 "androidx.fragment_fragment", 56 "androidx.media_media", 57 "androidx.appcompat_appcompat", 58 "libphotoviewer_appcompat", 59 ], 60 61 sdk_version: "current", 62 63 srcs: [ 64 "src/**/*.java", 65 "src/**/*.logtags", 66 ], 67 resource_dirs: ["res"], 68 69} 70