Nan Zhang | 27eb868 | 2018-04-09 17:44:38 -0700 | [diff] [blame] | 1 | // Copyright (C) 2014 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 | |
Jiyong Park | 2fdddb9 | 2018-04-25 20:05:19 +0900 | [diff] [blame] | 15 | java_sdk_library { |
| 16 | name: "org.apache.http.legacy", |
Nan Zhang | 27eb868 | 2018-04-09 17:44:38 -0700 | [diff] [blame] | 17 | srcs: [ |
| 18 | "src/**/*.java", |
| 19 | "android/**/*.java", |
Jiyong Park | 2fdddb9 | 2018-04-25 20:05:19 +0900 | [diff] [blame] | 20 | ], |
| 21 | api_srcs: [ |
Nan Zhang | 27eb868 | 2018-04-09 17:44:38 -0700 | [diff] [blame] | 22 | ":apache-http-stubs-sources", |
| 23 | ], |
| 24 | libs: [ |
| 25 | "conscrypt", |
| 26 | "bouncycastle", |
| 27 | "okhttp", |
| 28 | ], |
Jiyong Park | 2fdddb9 | 2018-04-25 20:05:19 +0900 | [diff] [blame] | 29 | api_packages: [ |
| 30 | "android.net.compatibility", |
| 31 | "android.net.http", |
| 32 | "com.android.internal.http.multipart", |
| 33 | "org.apache.commons.codec", |
| 34 | "org.apache.commons.codec.binary", |
| 35 | "org.apache.commons.codec.language", |
| 36 | "org.apache.commons.codec.net", |
| 37 | "org.apache.commons.logging", |
| 38 | "org.apache.commons.logging.impl", |
| 39 | "org.apache.http", |
| 40 | "org.apache.http.auth", |
| 41 | "org.apache.http.auth.params", |
| 42 | "org.apache.http.client", |
| 43 | "org.apache.http.client.entity", |
| 44 | "org.apache.http.client.methods", |
| 45 | "org.apache.http.client.params", |
| 46 | "org.apache.http.client.protocol", |
| 47 | "org.apache.http.client.utils", |
| 48 | "org.apache.http.conn", |
| 49 | "org.apache.http.conn.params", |
| 50 | "org.apache.http.conn.routing", |
| 51 | "org.apache.http.conn.scheme", |
| 52 | "org.apache.http.conn.util", |
| 53 | "org.apache.http.cookie", |
| 54 | "org.apache.http.cookie.params", |
| 55 | "org.apache.http.entity", |
| 56 | "org.apache.http.impl", |
| 57 | "org.apache.http.impl.auth", |
| 58 | "org.apache.http.impl.client", |
| 59 | "org.apache.http.impl.conn", |
| 60 | "org.apache.http.impl.conn.tsccm", |
| 61 | "org.apache.http.impl.cookie", |
| 62 | "org.apache.http.impl.entity", |
| 63 | "org.apache.http.impl.io", |
| 64 | "org.apache.http.io", |
| 65 | "org.apache.http.message", |
| 66 | "org.apache.http.params", |
| 67 | "org.apache.http.protocol", |
| 68 | "org.apache.http.util", |
Nan Zhang | 27eb868 | 2018-04-09 17:44:38 -0700 | [diff] [blame] | 69 | ], |
Jiyong Park | 2fdddb9 | 2018-04-25 20:05:19 +0900 | [diff] [blame] | 70 | hidden_api_packages: ["com.android.okhttp"], |
| 71 | dex_preopt: { |
| 72 | profile: "art-profile", |
| 73 | app_image: false, |
Nan Zhang | 27eb868 | 2018-04-09 17:44:38 -0700 | [diff] [blame] | 74 | }, |
Andreas Gampe | b61c6f5 | 2018-02-16 11:00:01 -0800 | [diff] [blame^] | 75 | errorprone: { |
| 76 | javacflags: ["-Xep:MissingOverride:OFF"], // b/73499927 |
| 77 | }, |
Nan Zhang | 27eb868 | 2018-04-09 17:44:38 -0700 | [diff] [blame] | 78 | } |