Idries Hamadi | 41ad4ed | 2018-01-25 21:13:36 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2018 The Android Open Source Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | // |
| 16 | |
| 17 | java_library_static { |
| 18 | name: "apkzlib_zip", |
Idries Hamadi | 2271048 | 2018-06-15 16:22:56 +0100 | [diff] [blame] | 19 | sdk_version: "24", |
Idries Hamadi | 41ad4ed | 2018-01-25 21:13:36 +0000 | [diff] [blame] | 20 | srcs: [ |
Idries Hamadi | fe54ae3 | 2018-06-08 19:34:42 +0100 | [diff] [blame] | 21 | "src/main/java/com/android/tools/build/apkzlib/utils/**/*.java", |
| 22 | "src/main/java/com/android/tools/build/apkzlib/zip/**/*.java", |
Idries Hamadi | 41ad4ed | 2018-01-25 21:13:36 +0000 | [diff] [blame] | 23 | ], |
| 24 | static_libs: ["guava"], |
| 25 | } |
| 26 | |
| 27 | java_library_host { |
| 28 | name: "apkzlib", |
Idries Hamadi | fe54ae3 | 2018-06-08 19:34:42 +0100 | [diff] [blame] | 29 | srcs: [ |
| 30 | "src/main/java/com/android/tools/build/apkzlib/**/*.java", |
| 31 | ], |
Idries Hamadi | 41ad4ed | 2018-01-25 21:13:36 +0000 | [diff] [blame] | 32 | static_libs: ["guava", "apksig"], |
| 33 | } |