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