Colin Cross | 0893401 | 2019-04-17 11:12:50 -0700 | [diff] [blame] | 1 | java_sdk_library_import { |
| 2 | name: "android.test.base", |
Paul Duffin | 5df5944 | 2020-01-31 18:20:23 +0000 | [diff] [blame] | 3 | public: { |
| 4 | jars: ["public/android.test.base.jar"], |
| 5 | sdk_version: "current", |
| 6 | }, |
| 7 | system: { |
| 8 | jars: ["system/android.test.base.jar"], |
| 9 | sdk_version: "system_current", |
| 10 | }, |
| 11 | test: { |
| 12 | jars: ["test/android.test.base.jar"], |
| 13 | sdk_version: "test_current", |
| 14 | }, |
Colin Cross | 85c6546 | 2019-04-16 13:22:19 -0700 | [diff] [blame] | 15 | } |
| 16 | |
Colin Cross | 0893401 | 2019-04-17 11:12:50 -0700 | [diff] [blame] | 17 | java_sdk_library_import { |
| 18 | name: "android.test.runner", |
Paul Duffin | 5df5944 | 2020-01-31 18:20:23 +0000 | [diff] [blame] | 19 | public: { |
| 20 | jars: ["public/android.test.runner.jar"], |
| 21 | sdk_version: "current", |
| 22 | }, |
| 23 | system: { |
| 24 | jars: ["system/android.test.runner.jar"], |
| 25 | sdk_version: "system_current", |
| 26 | }, |
| 27 | test: { |
| 28 | jars: ["test/android.test.runner.jar"], |
| 29 | sdk_version: "test_current", |
| 30 | }, |
Paul Duffin | 0ce9f44 | 2020-01-21 18:34:50 +0000 | [diff] [blame] | 31 | libs: [ |
| 32 | "android.test.base", |
| 33 | "android.test.mock", |
| 34 | ], |
Colin Cross | 85c6546 | 2019-04-16 13:22:19 -0700 | [diff] [blame] | 35 | } |
| 36 | |
Colin Cross | 0893401 | 2019-04-17 11:12:50 -0700 | [diff] [blame] | 37 | java_sdk_library_import { |
| 38 | name: "android.test.mock", |
Paul Duffin | 5df5944 | 2020-01-31 18:20:23 +0000 | [diff] [blame] | 39 | public: { |
| 40 | jars: ["public/android.test.mock.jar"], |
| 41 | sdk_version: "current", |
| 42 | }, |
| 43 | system: { |
| 44 | jars: ["system/android.test.mock.jar"], |
| 45 | sdk_version: "system_current", |
| 46 | }, |
| 47 | test: { |
| 48 | jars: ["test/android.test.mock.jar"], |
| 49 | sdk_version: "test_current", |
| 50 | }, |
Colin Cross | 85c6546 | 2019-04-16 13:22:19 -0700 | [diff] [blame] | 51 | } |
| 52 | |
Colin Cross | 0893401 | 2019-04-17 11:12:50 -0700 | [diff] [blame] | 53 | java_sdk_library_import { |
Paul Duffin | fe63c72 | 2020-02-05 10:36:20 +0000 | [diff] [blame] | 54 | name: "com.android.future.usb.accessory", |
| 55 | public: { |
| 56 | jars: ["public/com.android.future.usb.accessory.jar"], |
| 57 | sdk_version: "current", |
| 58 | }, |
| 59 | system: { |
| 60 | jars: ["system/com.android.future.usb.accessory.jar"], |
| 61 | sdk_version: "system_current", |
| 62 | }, |
| 63 | test: { |
| 64 | jars: ["test/com.android.future.usb.accessory.jar"], |
| 65 | sdk_version: "test_current", |
| 66 | }, |
| 67 | } |
| 68 | |
| 69 | java_sdk_library_import { |
| 70 | name: "com.android.location.provider", |
| 71 | public: { |
| 72 | jars: ["public/com.android.location.provider.jar"], |
| 73 | sdk_version: "current", |
| 74 | }, |
| 75 | system: { |
| 76 | jars: ["system/com.android.location.provider.jar"], |
| 77 | sdk_version: "system_current", |
| 78 | }, |
| 79 | test: { |
| 80 | jars: ["test/com.android.location.provider.jar"], |
| 81 | sdk_version: "test_current", |
| 82 | }, |
| 83 | } |
| 84 | |
| 85 | java_sdk_library_import { |
| 86 | name: "com.android.mediadrm.signer", |
| 87 | public: { |
| 88 | jars: ["public/com.android.mediadrm.signer.jar"], |
| 89 | sdk_version: "current", |
| 90 | }, |
| 91 | system: { |
| 92 | jars: ["system/com.android.mediadrm.signer.jar"], |
| 93 | sdk_version: "system_current", |
| 94 | }, |
| 95 | test: { |
| 96 | jars: ["test/com.android.mediadrm.signer.jar"], |
| 97 | sdk_version: "test_current", |
| 98 | }, |
| 99 | } |
| 100 | |
| 101 | java_sdk_library_import { |
| 102 | name: "com.android.media.remotedisplay", |
| 103 | public: { |
| 104 | jars: ["public/com.android.media.remotedisplay.jar"], |
| 105 | sdk_version: "current", |
| 106 | }, |
| 107 | system: { |
| 108 | jars: ["system/com.android.media.remotedisplay.jar"], |
| 109 | sdk_version: "system_current", |
| 110 | }, |
| 111 | test: { |
| 112 | jars: ["test/com.android.media.remotedisplay.jar"], |
| 113 | sdk_version: "test_current", |
| 114 | }, |
| 115 | } |
| 116 | |
| 117 | java_sdk_library_import { |
| 118 | name: "com.android.media.tv.remoteprovider", |
| 119 | public: { |
| 120 | jars: ["public/com.android.media.tv.remoteprovider.jar"], |
| 121 | sdk_version: "current", |
| 122 | }, |
| 123 | system: { |
| 124 | jars: ["system/com.android.media.tv.remoteprovider.jar"], |
| 125 | sdk_version: "system_current", |
| 126 | }, |
| 127 | test: { |
| 128 | jars: ["test/com.android.media.tv.remoteprovider.jar"], |
| 129 | sdk_version: "test_current", |
| 130 | }, |
| 131 | } |
| 132 | |
| 133 | java_sdk_library_import { |
| 134 | name: "com.android.nfc_extras", |
| 135 | public: { |
| 136 | jars: ["public/com.android.nfc_extras.jar"], |
| 137 | sdk_version: "current", |
| 138 | }, |
| 139 | system: { |
| 140 | jars: ["system/com.android.nfc_extras.jar"], |
| 141 | sdk_version: "system_current", |
| 142 | }, |
| 143 | test: { |
| 144 | jars: ["test/com.android.nfc_extras.jar"], |
| 145 | sdk_version: "test_current", |
| 146 | }, |
| 147 | } |
| 148 | |
| 149 | java_sdk_library_import { |
| 150 | name: "javax.obex", |
| 151 | public: { |
| 152 | jars: ["public/javax.obex.jar"], |
| 153 | sdk_version: "current", |
| 154 | }, |
| 155 | system: { |
| 156 | jars: ["system/javax.obex.jar"], |
| 157 | sdk_version: "system_current", |
| 158 | }, |
| 159 | test: { |
| 160 | jars: ["test/javax.obex.jar"], |
| 161 | sdk_version: "test_current", |
| 162 | }, |
| 163 | } |
| 164 | |
| 165 | java_sdk_library_import { |
Colin Cross | 0893401 | 2019-04-17 11:12:50 -0700 | [diff] [blame] | 166 | name: "org.apache.http.legacy", |
Paul Duffin | 5df5944 | 2020-01-31 18:20:23 +0000 | [diff] [blame] | 167 | public: { |
| 168 | jars: ["public/org.apache.http.legacy.jar"], |
| 169 | sdk_version: "current", |
| 170 | }, |
| 171 | system: { |
| 172 | jars: ["system/org.apache.http.legacy.jar"], |
| 173 | sdk_version: "system_current", |
| 174 | }, |
| 175 | test: { |
| 176 | jars: ["test/org.apache.http.legacy.jar"], |
| 177 | sdk_version: "test_current", |
| 178 | }, |
Colin Cross | 85c6546 | 2019-04-16 13:22:19 -0700 | [diff] [blame] | 179 | } |
| 180 | |
Colin Cross | 85c6546 | 2019-04-16 13:22:19 -0700 | [diff] [blame] | 181 | java_import { |
| 182 | name: "android-support-multidex-instrumentation", |
| 183 | jars: ["multidex/instrumentation/android-support-multidex-instrumentation.jar"], |
| 184 | sdk_version: "current", |
| 185 | } |
| 186 | |
| 187 | java_import { |
| 188 | name: "android-support-multidex", |
| 189 | jars: ["multidex/library/android-support-multidex.jar"], |
| 190 | sdk_version: "current", |
| 191 | } |
Felka Chang | 5be9f97 | 2020-04-15 19:58:06 +0800 | [diff] [blame^] | 192 | |
| 193 | // To provide apexer_test_host_tool the current android jar file to execute the host test |
| 194 | filegroup { |
| 195 | name: "current_android_jar", |
| 196 | srcs: [ |
| 197 | "public/android.jar", |
| 198 | ], |
| 199 | visibility: [ |
| 200 | "//system/apex/apexer", |
| 201 | ], |
| 202 | } |
| 203 | |