Merge pull request #48848 from nicknovitski/android-sdk-26-licenses

Update android sdk, add license config option and selectable build tools
This commit is contained in:
Jörg Thalheim 2018-10-30 21:06:52 +00:00 committed by GitHub
commit 0c1ee96a89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with 1984 additions and 431 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" ?>
<sdk:sdk-addon xmlns:sdk="http://schemas.android.com/sdk/android/addon/7" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!--Generated on 2017-09-08 08:19:28.153828 with ADRT.-->
<!--Generated on 2018-09-27 12:07:52.862255 with ADRT.-->
<sdk:license id="android-sdk-license" type="text">Terms and Conditions
This is the Android Software Development Kit License Agreement
@ -35,7 +35,7 @@ This is the Android Software Development Kit License Agreement
3.3 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. &quot;Intellectual Property Rights&quot; means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you.
3.4 You may not use the SDK for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not: (a) copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK; or (b) load any part of the SDK onto a mobile handset or any other hardware device except a personal computer, combine any part of the SDK with other software, or distribute any software or device incorporating a part of the SDK.
3.4 You may not use the SDK for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK.
3.5 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement.
@ -587,7 +587,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
<sdk:revision>3</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Mon Aug 15 05:06:49 2016.-->
<!--Built on: Sat May 19 22:41:19 2018.-->
<sdk:size>34908058</sdk:size>
<sdk:checksum type="sha1">1f92abf3a76be66ae8032257fc7620acbd2b2e3a</sdk:checksum>
<sdk:url>google_apis-3-r03.zip</sdk:url>
@ -614,7 +614,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
<sdk:revision>2</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Mon Aug 15 05:06:49 2016.-->
<!--Built on: Sun Jun 3 14:03:04 2018.-->
<sdk:size>42435735</sdk:size>
<sdk:checksum type="sha1">9b6e86d8568558de4d606a7debc4f6049608dbd0</sdk:checksum>
<sdk:url>google_apis-4_r02.zip</sdk:url>
@ -641,7 +641,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
<sdk:revision>1</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Mon Aug 15 05:06:51 2016.-->
<!--Built on: Tue Jun 5 17:50:33 2018.-->
<sdk:size>49123776</sdk:size>
<sdk:checksum type="sha1">46eaeb56b645ee7ffa24ede8fa17f3df70db0503</sdk:checksum>
<sdk:url>google_apis-5_r01.zip</sdk:url>
@ -668,7 +668,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
<sdk:revision>1</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Mon Aug 15 05:06:51 2016.-->
<!--Built on: Sun Jun 10 12:37:49 2018.-->
<sdk:size>53382941</sdk:size>
<sdk:checksum type="sha1">5ff545d96e031e09580a6cf55713015c7d4936b2</sdk:checksum>
<sdk:url>google_apis-6_r01.zip</sdk:url>
@ -695,7 +695,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
<sdk:revision>1</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Mon Aug 15 05:06:52 2016.-->
<!--Built on: Wed May 30 22:32:20 2018.-->
<sdk:size>53691339</sdk:size>
<sdk:checksum type="sha1">2e7f91e0fe34fef7f58aeced973c6ae52361b5ac</sdk:checksum>
<sdk:url>google_apis-7_r01.zip</sdk:url>
@ -722,7 +722,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
<sdk:revision>2</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Mon Aug 15 05:06:52 2016.-->
<!--Built on: Mon Jun 11 03:39:55 2018.-->
<sdk:size>59505020</sdk:size>
<sdk:checksum type="sha1">3079958e7ec87222cac1e6b27bc471b27bf2c352</sdk:checksum>
<sdk:url>google_apis-8_r02.zip</sdk:url>
@ -749,7 +749,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
<sdk:revision>2</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Mon Aug 15 05:06:50 2016.-->
<!--Built on: Wed May 23 15:52:14 2018.-->
<sdk:size>63401546</sdk:size>
<sdk:checksum type="sha1">78664645a1e9accea4430814f8694291a7f1ea5d</sdk:checksum>
<sdk:url>google_apis-9_r02.zip</sdk:url>
@ -776,7 +776,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
<sdk:revision>2</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Mon Aug 15 05:06:52 2016.-->
<!--Built on: Tue May 29 03:55:38 2018.-->
<sdk:size>65781578</sdk:size>
<sdk:checksum type="sha1">cc0711857c881fa7534f90cf8cc09b8fe985484d</sdk:checksum>
<sdk:url>google_apis-10_r02.zip</sdk:url>
@ -807,7 +807,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
<sdk:revision>1</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Mon Aug 15 05:06:54 2016.-->
<!--Built on: Thu Jun 14 15:13:30 2018.-->
<sdk:size>83477179</sdk:size>
<sdk:checksum type="sha1">5eab5e81addee9f3576d456d205208314b5146a5</sdk:checksum>
<sdk:url>google_apis-11_r01.zip</sdk:url>
@ -834,7 +834,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
<sdk:revision>1</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Mon Aug 15 05:06:51 2016.-->
<!--Built on: Mon Jun 11 10:52:20 2018.-->
<sdk:size>86099835</sdk:size>
<sdk:checksum type="sha1">e9999f4fa978812174dfeceec0721c793a636e5d</sdk:checksum>
<sdk:url>google_apis-12_r01.zip</sdk:url>
@ -865,7 +865,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
<sdk:revision>1</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Mon Aug 15 05:06:54 2016.-->
<!--Built on: Sun May 27 03:09:43 2018.-->
<sdk:size>88615525</sdk:size>
<sdk:checksum type="sha1">3b153edd211c27dc736c893c658418a4f9041417</sdk:checksum>
<sdk:url>google_apis-13_r01.zip</sdk:url>
@ -896,7 +896,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
<sdk:revision>2</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Mon Aug 15 05:06:53 2016.-->
<!--Built on: Wed Jun 13 22:44:43 2018.-->
<sdk:size>106533714</sdk:size>
<sdk:checksum type="sha1">f8eb4d96ad0492b4c0db2d7e4f1a1a3836664d39</sdk:checksum>
<sdk:url>google_apis-14_r02.zip</sdk:url>
@ -925,7 +925,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
<sdk:revision>3</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Mon Aug 15 05:06:54 2016.-->
<!--Built on: Fri Jun 15 19:37:58 2018.-->
<sdk:size>106624396</sdk:size>
<sdk:checksum type="sha1">d0d2bf26805eb271693570a1aaec33e7dc3f45e9</sdk:checksum>
<sdk:url>google_apis-15_r03.zip</sdk:url>
@ -958,7 +958,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
<sdk:revision>4</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Mon Aug 15 05:06:54 2016.-->
<!--Built on: Sun Jun 10 20:07:39 2018.-->
<sdk:size>127341982</sdk:size>
<sdk:checksum type="sha1">ee6acf1b01020bfa8a8e24725dbc4478bee5e792</sdk:checksum>
<sdk:url>google_apis-16_r04.zip</sdk:url>
@ -991,7 +991,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
<sdk:revision>4</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Mon Aug 15 05:06:55 2016.-->
<!--Built on: Wed May 30 17:17:51 2018.-->
<sdk:size>137231243</sdk:size>
<sdk:checksum type="sha1">a076be0677f38df8ca5536b44dfb411a0c808c4f</sdk:checksum>
<sdk:url>google_apis-17_r04.zip</sdk:url>
@ -1024,7 +1024,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
<sdk:revision>4</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Mon Aug 15 05:06:54 2016.-->
<!--Built on: Sun May 27 23:13:56 2018.-->
<sdk:size>143195183</sdk:size>
<sdk:checksum type="sha1">6109603409debdd40854d4d4a92eaf8481462c8b</sdk:checksum>
<sdk:url>google_apis-18_r04.zip</sdk:url>
@ -1057,7 +1057,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
<sdk:revision>20</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Mon Aug 15 04:16:31 2016.-->
<!--Built on: Sat Jun 2 14:21:02 2018.-->
<sdk:size>147081</sdk:size>
<sdk:checksum type="sha1">5b933abe830b2f25b4c0f171d45e9e0651e56311</sdk:checksum>
<sdk:url>google_apis-19_r20.zip</sdk:url>
@ -1090,7 +1090,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
<sdk:revision>1</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Thu Sep 8 15:11:39 2016.-->
<!--Built on: Fri Jun 1 04:12:18 2018.-->
<sdk:size>154865</sdk:size>
<sdk:checksum type="sha1">31361c2868f27343ee917fbd259c1463821b6145</sdk:checksum>
<sdk:url>google_apis-24_r1.zip</sdk:url>
@ -1123,7 +1123,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
<sdk:revision>1</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Tue Apr 25 23:37:40 2017.-->
<!--Built on: Tue Jun 12 20:09:06 2018.-->
<sdk:size>154871</sdk:size>
<sdk:checksum type="sha1">550e83eea9513ab11c44919ac6da54b36084a9f3</sdk:checksum>
<sdk:url>google_apis-25_r1.zip</sdk:url>
@ -1156,7 +1156,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
<sdk:revision>1</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Mon Aug 15 05:06:45 2016.-->
<!--Built on: Mon Jun 11 05:08:59 2018.-->
<sdk:size>179499</sdk:size>
<sdk:checksum type="sha1">66a754efb24e9bb07cc51648426443c7586c9d4a</sdk:checksum>
<sdk:url>google_apis-21_r01.zip</sdk:url>
@ -1189,7 +1189,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
<sdk:revision>1</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Mon Aug 15 05:06:45 2016.-->
<!--Built on: Fri Jun 15 06:11:24 2018.-->
<sdk:size>179259</sdk:size>
<sdk:checksum type="sha1">5def0f42160cba8acff51b9c0c7e8be313de84f5</sdk:checksum>
<sdk:url>google_apis-22_r01.zip</sdk:url>
@ -1222,7 +1222,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
<sdk:revision>1</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Mon Aug 15 05:06:45 2016.-->
<!--Built on: Sun Jun 10 08:57:09 2018.-->
<sdk:size>179900</sdk:size>
<sdk:checksum type="sha1">04c5cc1a7c88967250ebba9561d81e24104167db</sdk:checksum>
<sdk:url>google_apis-23_r01.zip</sdk:url>
@ -1256,7 +1256,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
<sdk:revision>2</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Mon Aug 15 05:06:54 2016.-->
<!--Built on: Sun May 27 03:16:19 2018.-->
<sdk:size>78266751</sdk:size>
<sdk:checksum type="sha1">92128a12e7e8b0fb5bac59153d7779b717e7b840</sdk:checksum>
<sdk:url>google_tv-12_r02.zip</sdk:url>
@ -1278,7 +1278,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
<sdk:revision>1</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Mon Aug 15 05:06:54 2016.-->
<!--Built on: Tue Jun 19 05:04:20 2018.-->
<sdk:size>87721879</sdk:size>
<sdk:checksum type="sha1">b73f7c66011ac8180b44aa4e83b8d78c66ea9a09</sdk:checksum>
<sdk:url>google_tv-13_r01.zip</sdk:url>
@ -1303,7 +1303,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Wed Mar 22 18:05:52 2017.-->
<!--Built on: Mon Jun 11 04:51:54 2018.-->
<sdk:size>355529608</sdk:size>
<sdk:checksum type="sha1">a0d22beacc106a6977321f2b07d692ce4979e96a</sdk:checksum>
<sdk:url>android_m2repository_r47.zip</sdk:url>
@ -1323,7 +1323,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Wed Sep 6 06:12:47 2017.-->
<!--Built on: Mon Jun 11 11:10:27 2018.-->
<sdk:size>215426029</sdk:size>
<sdk:checksum type="sha1">05086add9e3a0eb1b67111108d7757a4337c3f10</sdk:checksum>
<sdk:url>google_m2repository_gms_v11_3_rc05_wear_2_0_5.zip</sdk:url>
@ -1343,7 +1343,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Tue Apr 5 11:38:56 2016.-->
<!--Built on: Sun Jun 10 01:20:16 2018.-->
<sdk:size>75109</sdk:size>
<sdk:checksum type="sha1">355e8dc304a92a5616db235af8ee7bd554356254</sdk:checksum>
<sdk:url>market_licensing-r02.zip</sdk:url>
@ -1364,7 +1364,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Tue Apr 5 11:38:59 2016.-->
<!--Built on: Sun Jun 17 19:31:02 2018.-->
<sdk:size>110201</sdk:size>
<sdk:checksum type="sha1">5305399dc1a56814e86b8459ce24871916f78b8c</sdk:checksum>
<sdk:url>market_apk_expansion-r03.zip</sdk:url>
@ -1386,7 +1386,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Tue Apr 5 11:39:02 2016.-->
<!--Built on: Sun May 27 10:44:16 2018.-->
<sdk:size>5265389</sdk:size>
<sdk:checksum type="sha1">92558dbc380bba3d55d0ec181167fb05ce7c79d9</sdk:checksum>
<sdk:url>google_play_services_3265130_r12.zip</sdk:url>
@ -1401,16 +1401,16 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
<sdk:path>google_play_services_froyo</sdk:path>
</sdk:extra>
<sdk:extra>
<!--Generated from bid:164902609, branch:perforce-->
<!--Generated from bid:189640690, branch:perforce-->
<sdk:revision>
<sdk:major>44</sdk:major>
<sdk:major>49</sdk:major>
</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Thu Aug 10 14:27:42 2017.-->
<sdk:size>13796755</sdk:size>
<sdk:checksum type="sha1">d2bb583a3f62b068d448df10544c1852d910526f</sdk:checksum>
<sdk:url>google_play_services_v12_1_rc11.zip</sdk:url>
<!--Built on: Mon Jun 11 08:08:54 2018.-->
<sdk:size>15456884</sdk:size>
<sdk:checksum type="sha1">f95bf19634e2ab0430923247fe2c50246432d2e9</sdk:checksum>
<sdk:url>google_play_services_v16_1_rc09.zip</sdk:url>
</sdk:archive>
</sdk:archives>
<sdk:uses-license ref="android-sdk-license"/>
@ -1428,7 +1428,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Tue Apr 5 11:39:08 2016.-->
<!--Built on: Thu Jun 7 01:53:27 2018.-->
<sdk:size>8682859</sdk:size>
<sdk:checksum type="sha1">dc8a2ed2fbd7246d4caf9ab10ffe7749dc35d1cc</sdk:checksum>
<sdk:url>usb_driver_r11-windows.zip</sdk:url>
@ -1443,28 +1443,6 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
<sdk:name-display>Google USB Driver</sdk:name-display>
<sdk:path>usb_driver</sdk:path>
</sdk:extra>
<sdk:extra>
<!--Generated from bid:53928043, branch:perforce-->
<sdk:revision>
<sdk:major>5</sdk:major>
</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Tue Apr 5 11:39:11 2016.-->
<sdk:size>436654</sdk:size>
<sdk:checksum type="sha1">bd2ac5ce7127070ac3229003eb69cfb806628ac9</sdk:checksum>
<sdk:url>play_billing_r05.zip</sdk:url>
</sdk:archive>
</sdk:archives>
<sdk:uses-license ref="android-sdk-license"/>
<sdk:vendor-id>google</sdk:vendor-id>
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
<sdk:description>Google Play Billing files and sample code</sdk:description>
<sdk:desc-url>http://developer.android.com/google/play/billing/index.html</sdk:desc-url>
<sdk:name-display>Google Play Billing Library</sdk:name-display>
<sdk:path>play_billing</sdk:path>
<sdk:old-paths>market_billing</sdk:old-paths>
</sdk:extra>
<sdk:extra>
<!--Generated from bid:45484492, branch:perforce-->
<sdk:obsolete/>
@ -1473,7 +1451,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Tue Apr 5 11:39:14 2016.-->
<!--Built on: Thu Jun 7 11:48:51 2018.-->
<sdk:size>704512</sdk:size>
<sdk:checksum type="sha1">0102859d9575baa0bf4fd5eb422af2ad0fe6cb82</sdk:checksum>
<sdk:url>GoogleAdMobAdsSdkAndroid-6.4.1.zip</sdk:url>
@ -1495,7 +1473,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Tue Apr 5 11:39:17 2016.-->
<!--Built on: Tue Jun 5 05:29:27 2018.-->
<sdk:size>211432</sdk:size>
<sdk:checksum type="sha1">dc14026bf0ce78315cb5dd00552607de0894de83</sdk:checksum>
<sdk:url>GoogleAnalyticsAndroid_2.0beta5.zip</sdk:url>
@ -1516,7 +1494,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Tue Apr 5 11:39:20 2016.-->
<!--Built on: Thu May 31 20:21:33 2018.-->
<sdk:size>4055193</sdk:size>
<sdk:checksum type="sha1">13f3a3b2670a5fc04a7342861644be9a01b07e38</sdk:checksum>
<sdk:url>webdriver_r02.zip</sdk:url>
@ -1538,7 +1516,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Tue Apr 5 11:39:23 2016.-->
<!--Built on: Sun May 27 10:27:10 2018.-->
<sdk:size>5901400</sdk:size>
<sdk:checksum type="sha1">ad066fd0dc7fc99d8aadac09c65a3c2519fbc7bf</sdk:checksum>
<sdk:url>gcm_r03.zip</sdk:url>
@ -1559,7 +1537,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Tue Apr 5 11:39:26 2016.-->
<!--Built on: Tue Jun 5 14:06:56 2018.-->
<sdk:size>2167286</sdk:size>
<sdk:checksum type="sha1">4fb5344e34e8faab4db18af07dace44c50db26a7</sdk:checksum>
<sdk:url>simulator_r01.zip</sdk:url>
@ -1581,21 +1559,21 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Tue Apr 5 11:39:34 2016.-->
<!--Built on: Sat Jun 16 20:44:31 2018.-->
<sdk:size>1346009</sdk:size>
<sdk:checksum type="sha1">202a6e1b3009a0eb815f8c672d2d5b3717de6169</sdk:checksum>
<sdk:url>desktop-head-unit-linux_r01.1.zip</sdk:url>
<sdk:host-os>linux</sdk:host-os>
</sdk:archive>
<sdk:archive>
<!--Built on: Tue Apr 5 11:39:35 2016.-->
<!--Built on: Tue Jun 12 06:56:07 2018.-->
<sdk:size>2375533</sdk:size>
<sdk:checksum type="sha1">8179cbb3914493ebc5eb65b731cba061582f2e84</sdk:checksum>
<sdk:url>desktop-head-unit-macosx_r01.1.zip</sdk:url>
<sdk:host-os>macosx</sdk:host-os>
</sdk:archive>
<sdk:archive>
<!--Built on: Tue Apr 5 11:39:34 2016.-->
<!--Built on: Tue Jun 12 13:47:09 2018.-->
<sdk:size>2691901</sdk:size>
<sdk:checksum type="sha1">99c4a7172d73673552119347bc24c58b47da177b</sdk:checksum>
<sdk:url>desktop-head-unit-windows_r01.1.zip</sdk:url>
@ -1611,26 +1589,26 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&
<sdk:path>auto</sdk:path>
</sdk:extra>
<sdk:extra>
<!--Generated from bid:155747253, branch:perforce-->
<!--Generated from bid:214678223, branch:perforce-->
<sdk:revision>
<sdk:major>1</sdk:major>
<sdk:minor>0</sdk:minor>
<sdk:minor>5</sdk:minor>
<sdk:micro>0</sdk:micro>
</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Thu May 11 08:10:37 2017.-->
<sdk:size>450468876</sdk:size>
<sdk:checksum type="sha1">50074a0f0312ee1d0d81d2cddc3d84a8a9e97a53</sdk:checksum>
<sdk:url>aiasdk-1.0.0.zip</sdk:url>
<!--Built on: Wed Sep 26 15:20:22 2018.-->
<sdk:size>33351418</sdk:size>
<sdk:checksum type="sha1">6c282b9c686e819fe7f5ac8f2249d2479acb63b4</sdk:checksum>
<sdk:url>iasdk-1.5.0-1538000167.zip</sdk:url>
</sdk:archive>
</sdk:archives>
<sdk:uses-license ref="android-sdk-license"/>
<sdk:vendor-id>google</sdk:vendor-id>
<sdk:vendor-display>Google Inc.</sdk:vendor-display>
<sdk:description>Android Instant Apps Development SDK</sdk:description>
<sdk:desc-url>https://developer.android.com/topic/instant-apps/index.html</sdk:desc-url>
<sdk:name-display>Instant Apps Development SDK</sdk:name-display>
<sdk:description>Google Play Instant Development SDK</sdk:description>
<sdk:desc-url>https://developer.android.com/topic/google-play-instant/</sdk:desc-url>
<sdk:name-display>Google Play Instant Development SDK</sdk:name-display>
<sdk:path>instantapps</sdk:path>
</sdk:extra>
</sdk:sdk-addon>

View File

@ -296,8 +296,8 @@ in
google_play_services = buildGoogleApis {
name = "google_play_services";
src = fetchurl {
url = https://dl.google.com/android/repository/google_play_services_v12_1_rc11.zip;
sha1 = "d2bb583a3f62b068d448df10544c1852d910526f";
url = https://dl.google.com/android/repository/google_play_services_v16_1_rc09.zip;
sha1 = "f95bf19634e2ab0430923247fe2c50246432d2e9";
};
meta = {
description = "Google Play services client library and sample code";
@ -308,8 +308,8 @@ in
instant_apps = buildGoogleApis {
name = "instant_apps_sdk";
src = fetchurl {
url = https://dl.google.com/android/repository/aiasdk-1.0.0.zip;
sha1 = "50074a0f0312ee1d0d81d2cddc3d84a8a9e97a53";
url = https://dl.google.com/android/repository/iasdk-1.5.0-1538000167.zip;
sha1 = "6c282b9c686e819fe7f5ac8f2249d2479acb63b4";
};
meta = {
description = "Android Instant Apps Development SDK";
@ -317,4 +317,5 @@ in
};
};
}

View File

@ -89,6 +89,16 @@ let
do
wrapProgram "$(pwd)/$i" --prefix PATH : "${runtime_paths}"
done
${stdenv.lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux") ''
for i in ${pkg_path}/prebuilt/linux-x86_64/bin/*
do
if ! isELF $i; then continue; fi
patchelf --set-interpreter ${stdenv.cc.libc.out}/lib/ld-linux-x86-64.so.2 $i
patchelf --set-rpath ${stdenv.cc.cc.lib}/lib64 $i
done
''}
# make some executables available in PATH
mkdir -pv ${bin_path}
for i in \

View File

@ -4,10 +4,18 @@
, freetype, fontconfig, glib, gtk2, atk, file, jdk, coreutils, libpulseaudio, dbus
, zlib, glxinfo, xkeyboardconfig
, includeSources
, licenseAccepted
}:
{ platformVersions, abiVersions, useGoogleAPIs, useExtraSupportLibs ? false
{ platformVersions, abiVersions, useGoogleAPIs, buildToolsVersions ? [], useExtraSupportLibs ? false
, useGooglePlayServices ? false, useInstantApps ? false }:
if !licenseAccepted then throw ''
You must accept the Android Software Development Kit License Agreement at
https://developer.android.com/studio/terms
by setting nixpkgs config option 'android_sdk.accept_license = true;'
''
else assert licenseAccepted;
let inherit (stdenv.lib) makeLibraryPath;
googleRepository = let version = "gms_v9_rc41_wear_2_0_rc6";
@ -20,16 +28,16 @@ in
stdenv.mkDerivation rec {
name = "android-sdk-${version}";
version = "25.2.5";
version = "26.1.1";
src = if (stdenv.hostPlatform.system == "i686-linux" || stdenv.hostPlatform.system == "x86_64-linux")
then fetchurl {
url = "https://dl.google.com/android/repository/tools_r${version}-linux.zip";
sha256 = "0gnk49pkwy4m0nqwm1xnf3w4mfpi9w0kk7841xlawpwbkj0icxap";
url = "https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip";
sha256 = "1yfy0qqxz1ixpsci1pizls1nrncmi8p16wcb9rimdn4q3mdfxzwj";
}
else if stdenv.hostPlatform.system == "x86_64-darwin" then fetchurl {
url = "http://dl.google.com/android/repository/tools_r${version}-macosx.zip";
sha256 = "0yg7wjmyw70xsh8k4hgbqb5rilam2a94yc8dwbh7fjwqcmpxgwqb";
url = "https://dl.google.com/android/repository/sdk-tools-darwin-4333796.zip";
sha256 = "0gl5c30m40kx0vvrpbaa8cw8wq2vb89r14hgzb1df4qgpic97cpc";
}
else throw "platform not ${stdenv.hostPlatform.system} supported!";
@ -39,7 +47,7 @@ stdenv.mkDerivation rec {
unpackFile $src
cd tools
for f in android traceview draw9patch hierarchyviewer monitor ddms screenshot2 uiautomatorviewer monkeyrunner jobb lint
for f in monitor bin/monkeyrunner bin/uiautomatorviewer
do
sed -i -e "s|/bin/ls|${coreutils}/bin/ls|" "$f"
done
@ -54,24 +62,6 @@ stdenv.mkDerivation rec {
patchelf --set-rpath ${stdenv_32bit.cc.cc.lib}/lib $i
done
${stdenv.lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux") ''
for i in bin64/{mkfs.ext4,fsck.ext4,e2fsck,tune2fs,resize2fs}
do
patchelf --set-interpreter ${stdenv.cc.libc.out}/lib/ld-linux-x86-64.so.2 $i
patchelf --set-rpath ${stdenv.cc.cc.lib}/lib64 $i
done
''}
${stdenv.lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux") ''
# We must also patch the 64-bit emulator instances, if needed
for i in emulator emulator64-arm emulator64-mips emulator64-x86 emulator64-crash-service emulator-check qemu/linux-x86_64/qemu-system-*
do
patchelf --set-interpreter ${stdenv.cc.libc.out}/lib/ld-linux-x86-64.so.2 $i
patchelf --set-rpath ${stdenv.cc.cc.lib}/lib64 $i
done
''}
# The following scripts used SWT and wants to dynamically load some GTK+ stuff.
# Creating these wrappers ensure that they can be found:
@ -79,22 +69,18 @@ stdenv.mkDerivation rec {
--prefix PATH : ${jdk}/bin \
--prefix LD_LIBRARY_PATH : ${makeLibraryPath [ glib gtk2 libXtst ]}
wrapProgram `pwd`/uiautomatorviewer \
--prefix PATH : ${jdk}/bin \
--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ glib gtk2 libXtst ]}
wrapProgram `pwd`/hierarchyviewer \
wrapProgram `pwd`/bin/uiautomatorviewer \
--prefix PATH : ${jdk}/bin \
--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ glib gtk2 libXtst ]}
# The emulators need additional libraries, which are dynamically loaded => let's wrap them
${stdenv.lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux") ''
for i in emulator emulator64-arm emulator64-mips emulator64-x86 emulator64-crash-service
for i in emulator emulator-check
do
wrapProgram `pwd`/$i \
--prefix PATH : ${stdenv.lib.makeBinPath [ file glxinfo ]} \
--suffix LD_LIBRARY_PATH : `pwd`/lib64:`pwd`/lib64/qt/lib:${makeLibraryPath [ stdenv.cc.cc libX11 libxcb libXau libXdmcp libXext libGLU_combined alsaLib zlib libpulseaudio dbus.lib ]} \
--suffix LD_LIBRARY_PATH : `pwd`/lib:${makeLibraryPath [ stdenv.cc.cc libX11 libxcb libXau libXdmcp libXext libGLU_combined alsaLib zlib libpulseaudio dbus.lib ]} \
--suffix QT_XKB_CONFIG_ROOT : ${xkeyboardconfig}/share/X11/xkb
done
''}
@ -134,9 +120,17 @@ stdenv.mkDerivation rec {
cd ..
ln -s ${platformTools}/platform-tools
ln -s ${buildTools}/build-tools
ln -s ${support}/support
mkdir -p build-tools
cd build-tools
${stdenv.lib.concatMapStrings
(v: "ln -s ${builtins.getAttr "v${builtins.replaceStrings ["."] ["_"] v}" buildTools}/build-tools/*")
(if (builtins.length buildToolsVersions) == 0 then platformVersions else buildToolsVersions)}
cd ..
# Symlink required Google API add-ons
mkdir -p add-ons
@ -245,6 +239,14 @@ stdenv.mkDerivation rec {
fi
done
for i in $out/libexec/tools/bin/*
do
if [ ! -d $i ] && [ -x $i ]
then
ln -sf $i $out/bin/$(basename $i)
fi
done
for i in $out/libexec/platform-tools/*
do
if [ ! -d $i ] && [ -x $i ]
@ -260,6 +262,11 @@ stdenv.mkDerivation rec {
ln -sf $i $out/bin/$(basename $i)
fi
done
wrapProgram $out/bin/sdkmanager \
--set JAVA_HOME ${jdk}
yes | ANDROID_SDK_HOME=$(mktemp -d) $out/bin/sdkmanager --licenses || true
'';
buildInputs = [ unzip makeWrapper ];

View File

@ -0,0 +1,376 @@
# This file is generated from generate-tools.sh. DO NOT EDIT.
# Execute generate-tools.sh or fetch.sh to update the file.
{ fetchurl }:
{
v17 = {
version = "17.0.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r17-linux.zip;
sha1 = "2c2872bc3806aabf16a12e3959c2183ddc866e6d";
};
};
v18_0_1 = {
version = "18.0.1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r18.0.1-linux.zip;
sha1 = "f11618492b0d2270c332325d45d752d3656a9640";
};
};
v18_1_0 = {
version = "18.1.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r18.1-linux.zip;
sha1 = "f314a0599e51397f0886fe888b50dd98f2f050d8";
};
};
v18_1_1 = {
version = "18.1.1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r18.1.1-linux.zip;
sha1 = "68c9acbfc0cec2d51b19efaed39831a17055d998";
};
};
v19 = {
version = "19.0.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r19-linux.zip;
sha1 = "55c1a6cf632e7d346f0002b275ec41fd3137fd83";
};
};
v19_0_1 = {
version = "19.0.1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r19.0.1-linux.zip;
sha1 = "18d2312dc4368858914213087f4e61445aca4517";
};
};
v19_0_2 = {
version = "19.0.2";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r19.0.2-linux.zip;
sha1 = "a03a6bdea0091aea32e1b35b90a7294c9f04e3dd";
};
};
v19_0_3 = {
version = "19.0.3";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r19.0.3-linux.zip;
sha1 = "c2d6055478e9d2d4fba476ee85f99181ddd1160c";
};
};
v19_1_0 = {
version = "19.1.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r19.1-linux.zip;
sha1 = "1ff20ac15fa47a75d00346ec12f180d531b3ca89";
};
};
v20 = {
version = "20.0.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r20-linux.zip;
sha1 = "b688905526a5584d1327a662d871a635ff502758";
};
};
v21 = {
version = "21.0.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r21-linux.zip;
sha1 = "4933328fdeecbd554a29528f254f4993468e1cf4";
};
};
v21_0_1 = {
version = "21.0.1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r21.0.1-linux.zip;
sha1 = "e573069eea3e5255e7a65bedeb767f4fd0a5f49a";
};
};
v21_0_2 = {
version = "21.0.2";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r21.0.2-linux.zip;
sha1 = "e1236ab8897b62b57414adcf04c132567b2612a5";
};
};
v21_1_0 = {
version = "21.1.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r21.1-linux.zip;
sha1 = "b7455e543784d52a8925f960bc880493ed1478cb";
};
};
v21_1_1 = {
version = "21.1.1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r21.1.1-linux.zip;
sha1 = "1c712ee3a1ba5a8b0548f9c32f17d4a0ddfd727d";
};
};
v21_1_2 = {
version = "21.1.2";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r21.1.2-linux.zip;
sha1 = "5e35259843bf2926113a38368b08458735479658";
};
};
v22 = {
version = "22.0.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r22-linux.zip;
sha1 = "a8a1619dd090e44fac957bce6842e62abf87965b";
};
};
v22_0_1 = {
version = "22.0.1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r22.0.1-linux.zip;
sha1 = "da8b9c5c3ede39298e6cf0283c000c2ee9029646";
};
};
v23 = {
version = "23.0.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r23-linux.zip;
sha1 = "c1d6209212b01469f80fa804e0c1d39a06bc9060";
};
};
v23_0_1 = {
version = "23.0.1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r23.0.1-linux.zip;
sha1 = "b6ba7c399d5fa487d95289d8832e4ad943aed556";
};
};
v23_0_2 = {
version = "23.0.2";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r23.0.2-linux.zip;
sha1 = "8a9f2b37f6fcf7a9fa784dc21aeaeb41bbb9f2c3";
};
};
v23_0_3 = {
version = "23.0.3";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r23.0.3-linux.zip;
sha1 = "368f2600feac7e9b511b82f53d1f2240ae4a91a3";
};
};
v24 = {
version = "24.0.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r24-linux.zip;
sha1 = "c6271c4d78a5612ea6c7150688bcd5b7313de8d1";
};
};
v24_0_1 = {
version = "24.0.1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r24.0.1-linux.zip;
sha1 = "84f18c392919a074fcbb9b1d967984e6b2fef8b4";
};
};
v24_0_2 = {
version = "24.0.2";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r24.0.2-linux.zip;
sha1 = "f199a7a788c3fefbed102eea34d6007737b803cf";
};
};
v24_0_3 = {
version = "24.0.3";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r24.0.3-linux.zip;
sha1 = "9e8cc49d66e03fa1a8ecc1ac3e58f1324f5da304";
};
};
v25 = {
version = "25.0.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r25-linux.zip;
sha1 = "f2bbda60403e75cabd0f238598c3b4dfca56ea44";
};
};
v25_0_1 = {
version = "25.0.1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r25.0.1-linux.zip;
sha1 = "ff063d252ab750d339f5947d06ff782836f22bac";
};
};
v25_0_2 = {
version = "25.0.2";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r25.0.2-linux.zip;
sha1 = "ff953c0177e317618fda40516f3e9d95fd43c7ae";
};
};
v25_0_3 = {
version = "25.0.3";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r25.0.3-linux.zip;
sha1 = "db95f3a0ae376534d4d69f4cdb6fad20649f3509";
};
};
v26 = {
version = "26.0.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r26-linux.zip;
sha1 = "1cbe72929876f8a872ab1f1b1040a9f720261f59";
};
};
v26_rc1 = {
version = "26.0.0-rc1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r26-rc1-linux.zip;
sha1 = "8cd6388dc96db2d7a49d06159cf990d3bbc78d04";
};
};
v26_rc2 = {
version = "26.0.0-rc2";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r26-rc2-linux.zip;
sha1 = "629bbd8d2e415bf64871fb0b4c0540fd6d0347a0";
};
};
v26_0_1 = {
version = "26.0.1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r26.0.1-linux.zip;
sha1 = "5378c2c78091b414d0eac40a6bd37f2faa31a365";
};
};
v26_0_2 = {
version = "26.0.2";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r26.0.2-linux.zip;
sha1 = "5b2b7b66c7bf2151f2af183b5b50a17808850592";
};
};
v26_0_3 = {
version = "26.0.3";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r26.0.3-linux.zip;
sha1 = "8a2e6c1bcd845844523a68aa17e5442f0dce328c";
};
};
v27 = {
version = "27.0.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r27-linux.zip;
sha1 = "28542332ba97cf4a08c3eddfcf5edd70e3cf1260";
};
};
v27_0_1 = {
version = "27.0.1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r27.0.1-linux.zip;
sha1 = "7f4eedb1077ef948b848040dcd15de9e8a759f4a";
};
};
v27_0_2 = {
version = "27.0.2";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r27.0.2-linux.zip;
sha1 = "b687ddf6be84f11607871138aad32cf857d0b837";
};
};
v27_0_3 = {
version = "27.0.3";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r27.0.3-linux.zip;
sha1 = "d85e7a6320eddffe7eeace3437605079dac938ca";
};
};
v28 = {
version = "28.0.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r28-linux.zip;
sha1 = "d9f8a754d833ccd334f56fcc6089c5925cd82abb";
};
};
v28_rc1 = {
version = "28.0.0-rc1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r28-rc1-linux.zip;
sha1 = "1601977fae25fd478bcfaa0481ca5ea3c609d840";
};
};
v28_rc2 = {
version = "28.0.0-rc2";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r28-rc2-linux.zip;
sha1 = "efe9c0dde0646a07544c864276390ca6e96b24dc";
};
};
v28_0_1 = {
version = "28.0.1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r28.0.1-linux.zip;
sha1 = "ee70dfa1fccb58b37cebc9544830511f36a137a0";
};
};
v28_0_2 = {
version = "28.0.2";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r28.0.2-linux.zip;
sha1 = "b4492209810a3fd48deaa982f9852fef12433d55";
};
};
v28_0_3 = {
version = "28.0.3";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r28.0.3-linux.zip;
sha1 = "ea6f2f7103cd9da9ff0bdf6e37fbbba548fa4165";
};
};
}

View File

@ -0,0 +1,376 @@
# This file is generated from generate-tools.sh. DO NOT EDIT.
# Execute generate-tools.sh or fetch.sh to update the file.
{ fetchurl }:
{
v17 = {
version = "17.0.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r17-macosx.zip;
sha1 = "602ee709be9dbb8f179b1e4075148a57f9419930";
};
};
v18_0_1 = {
version = "18.0.1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r18.0.1-macosx.zip;
sha1 = "d84f5692fb44d60fc53e5b2507cebf9f24626902";
};
};
v18_1_0 = {
version = "18.1.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r18.1-macosx.zip;
sha1 = "16ddb299b8b43063e5bb3387ec17147c5053dfd8";
};
};
v18_1_1 = {
version = "18.1.1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r18.1.1-macosx.zip;
sha1 = "a9d9d37f6ddf859e57abc78802a77aaa166e48d4";
};
};
v19 = {
version = "19.0.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r19-macosx.zip;
sha1 = "86ec1c12db1bc446b7bcaefc5cc14eb361044e90";
};
};
v19_0_1 = {
version = "19.0.1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r19.0.1-macosx.zip;
sha1 = "efaf50fb19a3edb8d03efbff76f89a249ad2920b";
};
};
v19_0_2 = {
version = "19.0.2";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r19.0.2-macosx.zip;
sha1 = "145bc43065d45f756d99d87329d899052b9a9288";
};
};
v19_0_3 = {
version = "19.0.3";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r19.0.3-macosx.zip;
sha1 = "651cf8754373b2d52e7f6aab2c52eabffe4e9ea4";
};
};
v19_1_0 = {
version = "19.1.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r19.1-macosx.zip;
sha1 = "0d11aae3417de1efb4b9a0e0a7855904a61bcec1";
};
};
v20 = {
version = "20.0.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r20-macosx.zip;
sha1 = "1240f629411c108a714c4ddd756937c7fab93f83";
};
};
v21 = {
version = "21.0.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r21-macosx.zip;
sha1 = "9bef7989b51436bd4e5114d8a0330359f077cbfa";
};
};
v21_0_1 = {
version = "21.0.1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r21.0.1-macosx.zip;
sha1 = "b60c8f9b810c980abafa04896706f3911be1ade7";
};
};
v21_0_2 = {
version = "21.0.2";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r21.0.2-macosx.zip;
sha1 = "f17471c154058f3734729ef3cc363399b1cd3de1";
};
};
v21_1_0 = {
version = "21.1.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r21.1-macosx.zip;
sha1 = "df619356c2359aa5eacdd48699d15b335d9bd246";
};
};
v21_1_1 = {
version = "21.1.1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r21.1.1-macosx.zip;
sha1 = "836a146eab0504aa9387a5132e986fe7c7381571";
};
};
v21_1_2 = {
version = "21.1.2";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r21.1.2-macosx.zip;
sha1 = "e7c906b4ba0eea93b32ba36c610dbd6b204bff48";
};
};
v22 = {
version = "22.0.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r22-macosx.zip;
sha1 = "af95429b24088d704bc5db9bd606e34ac1b82c0d";
};
};
v22_0_1 = {
version = "22.0.1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r22.0.1-macosx.zip;
sha1 = "53dad7f608e01d53b17176ba11165acbfccc5bbf";
};
};
v23 = {
version = "23.0.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r23-macosx.zip;
sha1 = "90ba6e716f7703a236cd44b2e71c5ff430855a03";
};
};
v23_0_1 = {
version = "23.0.1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r23.0.1-macosx.zip;
sha1 = "d96ec1522721e9a179ae2c591c99f75d31d39718";
};
};
v23_0_2 = {
version = "23.0.2";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r23.0.2-macosx.zip;
sha1 = "482c4cbceef8ff58aefd92d8155a38610158fdaf";
};
};
v23_0_3 = {
version = "23.0.3";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r23.0.3-macosx.zip;
sha1 = "fbc98cd303fd15a31d472de6c03bd707829f00b0";
};
};
v24 = {
version = "24.0.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r24-macosx.zip;
sha1 = "97fc4ed442f23989cc488d02c1d1de9bdde241de";
};
};
v24_0_1 = {
version = "24.0.1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r24.0.1-macosx.zip;
sha1 = "5c6457fcdfa07724fb086d8ff4e8316fc0742848";
};
};
v24_0_2 = {
version = "24.0.2";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r24.0.2-macosx.zip;
sha1 = "8bb8fc575477491d5957de743089df412de55cda";
};
};
v24_0_3 = {
version = "24.0.3";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r24.0.3-macosx.zip;
sha1 = "a01c15f1b105c34595681075e1895d58b3fff48c";
};
};
v25 = {
version = "25.0.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r25-macosx.zip;
sha1 = "273c5c29a65cbed00e44f3aa470bbd7dce556606";
};
};
v25_0_1 = {
version = "25.0.1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r25.0.1-macosx.zip;
sha1 = "7bf7f22d7d48ef20b6ab0e3d7a2912e5c088340f";
};
};
v25_0_2 = {
version = "25.0.2";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r25.0.2-macosx.zip;
sha1 = "12a5204bb3b6e39437535469fde7ddf42da46b16";
};
};
v25_0_3 = {
version = "25.0.3";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r25.0.3-macosx.zip;
sha1 = "160d2fefb5ce68e443427fc30a793a703b63e26e";
};
};
v26 = {
version = "26.0.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r26-macosx.zip;
sha1 = "d01a1aeca03747245f1f5936b3cb01759c66d086";
};
};
v26_rc1 = {
version = "26.0.0-rc1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r26-rc1-macosx.zip;
sha1 = "5c5a1de7d5f4f000d36ae349229fe0be846d6137";
};
};
v26_rc2 = {
version = "26.0.0-rc2";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r26-rc2-macosx.zip;
sha1 = "cb1eb738a1f7003025af267a9b8cc2d259533c70";
};
};
v26_0_1 = {
version = "26.0.1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r26.0.1-macosx.zip;
sha1 = "cbde59de198916b390777dd0227921bfa2120832";
};
};
v26_0_2 = {
version = "26.0.2";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r26.0.2-macosx.zip;
sha1 = "d9ed7c7f149ce38be5dc08979aea8acec1459ca0";
};
};
v26_0_3 = {
version = "26.0.3";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r26.0.3-macosx.zip;
sha1 = "5bb90ed935d99e5bc90686f43b852e68c5ad40df";
};
};
v27 = {
version = "27.0.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r27-macosx.zip;
sha1 = "fb4e8d7e6b8d29a77090e34024077a80458d5ae1";
};
};
v27_0_1 = {
version = "27.0.1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r27.0.1-macosx.zip;
sha1 = "1edd07bfdbadd95652d093040e16d858f7489594";
};
};
v27_0_2 = {
version = "27.0.2";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r27.0.2-macosx.zip;
sha1 = "6d5d9cf2a47877f273f4b742b19e712a051a31be";
};
};
v27_0_3 = {
version = "27.0.3";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r27.0.3-macosx.zip;
sha1 = "61d9fb18790c68d66ff73bf1e7ad56bc1f1eef2d";
};
};
v28 = {
version = "28.0.0";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r28-macosx.zip;
sha1 = "72088d32d1d82cc3c2cf7cf6618b6130c0c84ade";
};
};
v28_rc1 = {
version = "28.0.0-rc1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r28-rc1-macosx.zip;
sha1 = "2c77821967a2330b7b227072d0b1c02ef19fe2fc";
};
};
v28_rc2 = {
version = "28.0.0-rc2";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r28-rc2-macosx.zip;
sha1 = "0d0314b353589feb10e528b44c5a685b6658d797";
};
};
v28_0_1 = {
version = "28.0.1";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r28.0.1-macosx.zip;
sha1 = "aeef42ad953f1630dd6f5d71eefdc0b825211462";
};
};
v28_0_2 = {
version = "28.0.2";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r28.0.2-macosx.zip;
sha1 = "c10dd5a7825578622fb362a8a34f76eb3ba0c0a9";
};
};
v28_0_3 = {
version = "28.0.3";
src = fetchurl {
url = https://dl.google.com/android/repository/build-tools_r28.0.3-macosx.zip;
sha1 = "f8c333a2991b1ab05a671bc6248b78e00edcd83a";
};
};
}

View File

@ -1,56 +1,53 @@
{stdenv, stdenv_32bit, fetchurl, unzip, zlib_32bit, ncurses_32bit, file, zlib, ncurses}:
{stdenv, lib, stdenv_32bit, fetchurl, unzip, zlib_32bit, ncurses_32bit, file, zlib, ncurses, coreutils, buildToolsSources}:
stdenv.mkDerivation rec {
version = "26.0.2";
name = "android-build-tools-r${version}";
src = if (stdenv.hostPlatform.system == "i686-linux" || stdenv.hostPlatform.system == "x86_64-linux")
then fetchurl {
url = "https://dl.google.com/android/repository/build-tools_r${version}-linux.zip";
sha256 = "1kii880bwhjkc343zwx1ysxyisxhczrwhphnxbwsgi45mjgq8lm7";
}
else if stdenv.hostPlatform.system == "x86_64-darwin" then fetchurl {
url = "https://dl.google.com/android/repository/build-tools_r${version}-macosx.zip";
sha256 = "1x0ycprl6hgsm23kck5ind7x00hzydc5k3h3ch4a13407xbpvzvx";
}
else throw "System ${stdenv.hostPlatform.system} not supported!";
let buildBuildTools = name: { version, src }:
stdenv.mkDerivation rec {
inherit version src;
name = "android-build-tools-r${version}";
buildCommand = ''
mkdir -p $out/build-tools
cd $out/build-tools
unzip $src
mv android-* ${version}
buildCommand = ''
mkdir -p $out/build-tools
cd $out/build-tools
unzip $src
mv android-* ${version}
cd ${version}
${stdenv.lib.optionalString (stdenv.hostPlatform.system == "i686-linux" || stdenv.hostPlatform.system == "x86_64-linux")
''
cd ${version}
for f in $(grep -Rl /bin/ls .); do
sed -i -e "s|/bin/ls|${coreutils}/bin/ls|" "$f"
done
ln -s ${ncurses.out}/lib/libncurses.so.5 `pwd`/lib64/libtinfo.so.5
${stdenv.lib.optionalString (stdenv.hostPlatform.system == "i686-linux" || stdenv.hostPlatform.system == "x86_64-linux")
''
find . -type f -print0 | while IFS= read -r -d "" file
do
type=$(file "$file")
## Patch 64-bit binaries
if grep -q "ELF 64-bit" <<< "$type"
then
if grep -q "interpreter" <<< "$type"
ln -s ${ncurses.out}/lib/libncurses.so.5 `pwd`/lib64/libtinfo.so.5
find . -type f -print0 | while IFS= read -r -d "" file
do
type=$(file "$file")
## Patch 64-bit binaries
if grep -q "ELF 64-bit" <<< "$type"
then
patchelf --set-interpreter ${stdenv.cc.libc.out}/lib/ld-linux-x86-64.so.2 "$file"
fi
patchelf --set-rpath `pwd`/lib64:${stdenv.cc.cc.lib.out}/lib:${zlib.out}/lib:${ncurses.out}/lib "$file"
## Patch 32-bit binaries
elif grep -q "ELF 32-bit" <<< "$type"
then
if grep -q "interpreter" <<< "$type"
if grep -q "interpreter" <<< "$type"
then
patchelf --set-interpreter ${stdenv.cc.libc.out}/lib/ld-linux-x86-64.so.2 "$file"
fi
patchelf --set-rpath `pwd`/lib64:${stdenv.cc.cc.lib.out}/lib:${zlib.out}/lib:${ncurses.out}/lib "$file"
## Patch 32-bit binaries
elif grep -q "ELF 32-bit" <<< "$type"
then
patchelf --set-interpreter ${stdenv_32bit.cc.libc.out}/lib/ld-linux.so.2 "$file"
if grep -q "interpreter" <<< "$type"
then
patchelf --set-interpreter ${stdenv_32bit.cc.libc.out}/lib/ld-linux.so.2 "$file"
fi
patchelf --set-rpath ${stdenv_32bit.cc.cc.lib.out}/lib:${zlib_32bit.out}/lib:${ncurses_32bit.out}/lib "$file"
fi
patchelf --set-rpath ${stdenv_32bit.cc.cc.lib.out}/lib:${zlib_32bit.out}/lib:${ncurses_32bit.out}/lib "$file"
fi
done
''}
done
''}
patchShebangs .
'';
patchShebangs .
'';
buildInputs = [ unzip file ];
}
buildInputs = [ unzip file ];
};
in
lib.mapAttrs buildBuildTools buildToolsSources

View File

@ -1,5 +1,5 @@
{ buildPackages, pkgs, pkgs_i686, targetPackages
, includeSources ? true
, includeSources ? true, licenseAccepted ? false
}:
# TODO: use callPackage instead of import to avoid so many inherits
@ -9,8 +9,19 @@ rec {
inherit buildPackages pkgs;
};
buildToolsSources = let
system = pkgs.stdenv.hostPlatform.system;
path = if (system == "i686-linux" || system == "x86_64-linux")
then ./build-tools-srcs-linux.nix
else if system == "x86_64-darwin"
then ./build-tools-srcs-macosx.nix
else throw "System: ${system} not supported!";
in
import path { inherit (pkgs) fetchurl; };
buildTools = import ./build-tools.nix {
inherit (pkgs) stdenv fetchurl unzip zlib file;
inherit (pkgs) stdenv lib fetchurl unzip zlib file coreutils;
inherit buildToolsSources;
stdenv_32bit = pkgs_i686.stdenv;
zlib_32bit = pkgs_i686.zlib;
ncurses_32bit = pkgs_i686.ncurses5;
@ -57,7 +68,7 @@ rec {
inherit platformTools buildTools support
supportRepository platforms sysimages
addons sources includeSources;
addons sources includeSources licenseAccepted;
stdenv_32bit = pkgs_i686.stdenv;
};
@ -222,7 +233,37 @@ rec {
useInstantApps = true;
};
androidsdk_latest = androidsdk_8_0;
androidsdk_8_1 = androidsdk {
platformVersions = [ "27" ];
abiVersions = [ "x86" "x86_64"];
useGoogleAPIs = true;
};
androidsdk_8_1_extras = androidsdk {
platformVersions = [ "27" ];
abiVersions = [ "x86" "x86_64"];
useGoogleAPIs = true;
useExtraSupportLibs = true;
useGooglePlayServices = true;
useInstantApps = true;
};
androidsdk_9_0 = androidsdk {
platformVersions = [ "28" ];
abiVersions = [ "x86" "x86_64"];
useGoogleAPIs = true;
};
androidsdk_9_0_extras = androidsdk {
platformVersions = [ "28" ];
abiVersions = [ "x86" "x86_64"];
useGoogleAPIs = true;
useExtraSupportLibs = true;
useGooglePlayServices = true;
useInstantApps = true;
};
androidsdk_latest = androidsdk_9_0;
androidndk_10e = pkgs.callPackage ./androidndk.nix {
inherit (buildPackages)

View File

@ -1,8 +1,5 @@
#! /usr/bin/env nix-shell
#! nix-shell -i bash --pure -p androidsdk curl libxslt
# this shows a list of available xmls
android list sdk | grep 'Parse XML:' | cut -f8- -d\ # | xargs -n 1 curl -O
#! nix-shell -i bash --pure -p curl libxslt
# we skip the intel addons, as they are Windows+osX only
# we skip the default sys-img (arm?) because it is empty
@ -14,3 +11,4 @@ curl -o sys-img.xml https://dl.google.com/android/repository/sys-img/andro
./generate-platforms.sh
./generate-sysimages.sh
./generate-sources.sh
./generate-tools.sh

View File

@ -0,0 +1,4 @@
#!/bin/sh -e
xsltproc --stringparam os linux generate-tools.xsl repository-11.xml > build-tools-srcs-linux.nix
xsltproc --stringparam os macosx generate-tools.xsl repository-11.xml > build-tools-srcs-macosx.nix

View File

@ -0,0 +1,43 @@
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:sdk="http://schemas.android.com/sdk/android/repository/11">
<xsl:param name="os" />
<xsl:output omit-xml-declaration="yes" indent="no" />
<xsl:template name="repository-url">
<xsl:variable name="raw-url" select="sdk:archives/sdk:archive[sdk:host-os=$os or count(sdk:host-os) = 0]/sdk:url"/>
<xsl:choose>
<xsl:when test="starts-with($raw-url, 'http')">
<xsl:value-of select="$raw-url"/>
</xsl:when>
<xsl:otherwise>
<xsl:text>https://dl.google.com/android/repository/</xsl:text>
<xsl:value-of select="$raw-url"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="/sdk:sdk-repository">
# This file is generated from generate-tools.sh. DO NOT EDIT.
# Execute generate-tools.sh or fetch.sh to update the file.
{ fetchurl }:
{
<xsl:for-each select="sdk:build-tool">
<xsl:sort select="sdk:revision/sdk:major" data-type="number"/>
<xsl:sort select="sdk:revision/sdk:minor" data-type="number"/>
<xsl:sort select="sdk:revision/sdk:micro" data-type="number"/>
<xsl:sort select="sdk:revision/sdk:preview" data-type="number"/>
v<xsl:value-of select="sdk:revision/sdk:major"/><xsl:if test="sdk:revision/sdk:minor + sdk:revision/sdk:micro > 0">_<xsl:value-of select="sdk:revision/sdk:minor" />_<xsl:value-of select="sdk:revision/sdk:micro"/></xsl:if><xsl:if test="sdk:revision/sdk:preview > 0">_rc<xsl:value-of select="sdk:revision/sdk:preview"/></xsl:if> = {
version = "<xsl:value-of select="sdk:revision/sdk:major"/>.<xsl:value-of select="sdk:revision/sdk:minor" />.<xsl:value-of select="sdk:revision/sdk:micro"/><xsl:if test="sdk:revision/sdk:preview > 0">-rc<xsl:value-of select="sdk:revision/sdk:preview"/></xsl:if>";
src = fetchurl {
url = <xsl:call-template name="repository-url"/>;
sha1 = "<xsl:value-of select="sdk:archives/sdk:archive[sdk:host-os=$os or count(sdk:host-os) = 0]/sdk:checksum[@type='sha1']" />";
};
};
</xsl:for-each>
}
</xsl:template>
</xsl:stylesheet>

View File

@ -316,4 +316,28 @@ in
};
};
platform_27 = buildPlatform {
name = "android-platform-8.1.0";
src = fetchurl {
url = https://dl.google.com/android/repository/platform-27_r03.zip;
sha1 = "35f747e7e70b2d16e0e4246876be28d15ea1c353";
};
meta = {
description = "Android SDK Platform 27";
homepage = http://developer.android.com/sdk/;
};
};
platform_28 = buildPlatform {
name = "android-platform-9";
src = fetchurl {
url = https://dl.google.com/android/repository/platform-28_r06.zip;
sha1 = "9a4e52b1d55bd2e24216b150aafae2503d3efba6";
};
meta = {
description = "Android SDK Platform 28";
homepage = http://developer.android.com/sdk/;
};
};
}

View File

@ -316,4 +316,28 @@ in
};
};
platform_27 = buildPlatform {
name = "android-platform-8.1.0";
src = fetchurl {
url = https://dl.google.com/android/repository/platform-27_r03.zip;
sha1 = "35f747e7e70b2d16e0e4246876be28d15ea1c353";
};
meta = {
description = "Android SDK Platform 27";
homepage = http://developer.android.com/sdk/;
};
};
platform_28 = buildPlatform {
name = "android-platform-9";
src = fetchurl {
url = https://dl.google.com/android/repository/platform-28_r06.zip;
sha1 = "9a4e52b1d55bd2e24216b150aafae2503d3efba6";
};
meta = {
description = "Android SDK Platform 28";
homepage = http://developer.android.com/sdk/;
};
};
}

File diff suppressed because it is too large Load Diff

View File

@ -148,4 +148,37 @@ in
};
};
source_26 = buildSource {
name = "android-source-26";
src = fetchurl {
url = https://dl.google.com/android/repository/sources-26_r01.zip;
sha1 = "2af701ee3223d580409288540b1d06932fd8f9b9";
};
meta = {
description = "Source code for Android API 26";
};
};
source_27 = buildSource {
name = "android-source-27";
src = fetchurl {
url = https://dl.google.com/android/repository/sources-27_r01.zip;
sha1 = "7b714670561d08f54751af42aca929867b806596";
};
meta = {
description = "Source code for Android API 27";
};
};
source_28 = buildSource {
name = "android-source-28";
src = fetchurl {
url = https://dl.google.com/android/repository/sources-28_r01.zip;
sha1 = "5610e0c24235ee3fa343c899ddd551be30315255";
};
meta = {
description = "Source code for Android API 28";
};
};
}

View File

@ -1,6 +1,6 @@
<?xml version="1.0" ?>
<sdk:sdk-sys-img xmlns:sdk="http://schemas.android.com/sdk/android/sys-img/3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!--Generated on 2017-08-28 14:42:29.488243 with ADRT.-->
<!--Generated on 2018-09-27 12:07:51.414125 with ADRT.-->
<sdk:license id="android-sdk-license" type="text">Terms and Conditions
This is the Android Software Development Kit License Agreement
@ -35,7 +35,7 @@ This is the Android Software Development Kit License Agreement
3.3 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. &quot;Intellectual Property Rights&quot; means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you.
3.4 You may not use the SDK for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not: (a) copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK; or (b) load any part of the SDK onto a mobile handset or any other hardware device except a personal computer, combine any part of the SDK with other software, or distribute any software or device incorporating a part of the SDK.
3.4 You may not use the SDK for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK.
3.5 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement.
@ -411,7 +411,7 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:revision>4</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Fri Sep 16 16:38:16 2016.-->
<!--Built on: Fri Jul 27 08:50:45 2018.-->
<sdk:size>67918042</sdk:size>
<sdk:checksum type="sha1">54680383118eb5c95a11e1cc2a14aa572c86ee69</sdk:checksum>
<sdk:url>armv7-10_r04.zip</sdk:url>
@ -428,7 +428,7 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:revision>2</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Tue Mar 29 18:25:05 2016.-->
<!--Built on: Thu Jul 26 20:46:32 2018.-->
<sdk:size>99621822</sdk:size>
<sdk:checksum type="sha1">d8991b0c06b18d7d6ed4169d67460ee1add6661b</sdk:checksum>
<sdk:url>sysimg_armv7a-14_r02.zip</sdk:url>
@ -445,7 +445,7 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:revision>4</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Thu Nov 10 17:19:27 2016.-->
<!--Built on: Fri Jul 27 08:53:17 2018.-->
<sdk:size>102079727</sdk:size>
<sdk:checksum type="sha1">363223bd62f5afc0b2bd760b54ce9d26b31eacf1</sdk:checksum>
<sdk:url>armeabi-v7a-15_r04.zip</sdk:url>
@ -462,7 +462,7 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:revision>4</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Tue Mar 29 18:24:59 2016.-->
<!--Built on: Thu Jul 26 16:01:22 2018.-->
<sdk:size>112608076</sdk:size>
<sdk:checksum type="sha1">39c093ea755098f0ee79f607be7df9e54ba4943f</sdk:checksum>
<sdk:url>sysimg_armv7a-16_r04.zip</sdk:url>
@ -479,7 +479,7 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:revision>5</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Thu Nov 10 17:19:54 2016.-->
<!--Built on: Fri Jul 27 08:53:02 2018.-->
<sdk:size>124238679</sdk:size>
<sdk:checksum type="sha1">7460e8110f4a87f9644f1bdb5511a66872d50fd9</sdk:checksum>
<sdk:url>armeabi-v7a-17_r05.zip</sdk:url>
@ -496,7 +496,7 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:revision>4</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Thu Nov 10 17:20:07 2016.-->
<!--Built on: Fri Jul 27 08:53:09 2018.-->
<sdk:size>130394401</sdk:size>
<sdk:checksum type="sha1">0bf34ecf4ddd53f6b1b7fe7dfa12f2887c17e642</sdk:checksum>
<sdk:url>armeabi-v7a-18_r04.zip</sdk:url>
@ -513,7 +513,7 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:revision>5</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Thu Nov 10 17:20:23 2016.-->
<!--Built on: Fri Jul 27 08:53:25 2018.-->
<sdk:size>159871567</sdk:size>
<sdk:checksum type="sha1">d1a5fd4f2e1c013c3d3d9bfe7e9db908c3ed56fa</sdk:checksum>
<sdk:url>armeabi-v7a-19_r05.zip</sdk:url>
@ -530,7 +530,7 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:revision>4</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Fri Sep 16 16:35:34 2016.-->
<!--Built on: Fri Jul 27 08:50:26 2018.-->
<sdk:size>187163871</sdk:size>
<sdk:checksum type="sha1">8c606f81306564b65e41303d2603e4c42ded0d10</sdk:checksum>
<sdk:url>armeabi-v7a-21_r04.zip</sdk:url>
@ -547,7 +547,7 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:revision>2</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Fri Sep 16 16:35:50 2016.-->
<!--Built on: Fri Jul 27 08:50:08 2018.-->
<sdk:size>194596267</sdk:size>
<sdk:checksum type="sha1">2114ec015dbf3a16cbcb4f63e8a84a1b206a07a1</sdk:checksum>
<sdk:url>armeabi-v7a-22_r02.zip</sdk:url>
@ -564,7 +564,7 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:revision>6</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Fri Sep 16 16:41:26 2016.-->
<!--Built on: Fri Jul 27 08:50:36 2018.-->
<sdk:size>238333358</sdk:size>
<sdk:checksum type="sha1">7cf2ad756e54a3acfd81064b63cb0cb9dff2798d</sdk:checksum>
<sdk:url>armeabi-v7a-23_r06.zip</sdk:url>
@ -582,7 +582,7 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:revision>7</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Tue Sep 6 08:28:18 2016.-->
<!--Built on: Fri Jul 27 08:51:39 2018.-->
<sdk:size>283677512</sdk:size>
<sdk:checksum type="sha1">3454546b4eed2d6c3dd06d47757d6da9f4176033</sdk:checksum>
<sdk:url>armeabi-v7a-24_r07.zip</sdk:url>
@ -599,7 +599,7 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:revision>7</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Tue Sep 6 08:28:58 2016.-->
<!--Built on: Fri Jul 27 08:51:37 2018.-->
<sdk:size>384556503</sdk:size>
<sdk:checksum type="sha1">e8ab2e49e4efe4b064232b33b5eeaded61437d7f</sdk:checksum>
<sdk:url>arm64-v8a-24_r07.zip</sdk:url>
@ -609,23 +609,6 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:abi>arm64-v8a</sdk:abi>
<sdk:tag-id>default</sdk:tag-id>
</sdk:system-image>
<sdk:system-image>
<!--Generated from bid:1741834, branch:git_ics-mr1-->
<sdk:api-level>15</sdk:api-level>
<sdk:description>MIPS System Image</sdk:description>
<sdk:revision>1</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Tue Mar 29 18:24:59 2016.-->
<sdk:size>117503178</sdk:size>
<sdk:checksum type="sha1">a753bb4a6783124dad726c500ce9aec9d2c1b2d9</sdk:checksum>
<sdk:url>sysimg_mips-15_r01.zip</sdk:url>
</sdk:archive>
</sdk:archives>
<sdk:uses-license ref="mips-android-sysimage-license"/>
<sdk:abi>mips</sdk:abi>
<sdk:tag-id>default</sdk:tag-id>
</sdk:system-image>
<sdk:system-image>
<!--Generated from bid:1741836, branch:git_jb-dev-->
<sdk:api-level>16</sdk:api-level>
@ -633,7 +616,7 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:revision>1</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Tue Mar 29 18:25:00 2016.-->
<!--Built on: Thu Jul 26 16:01:28 2018.-->
<sdk:size>122482530</sdk:size>
<sdk:checksum type="sha1">67943c54fb3943943ffeb05fdd39c0b753681f6e</sdk:checksum>
<sdk:url>sysimg_mips-16_r04.zip</sdk:url>
@ -650,7 +633,7 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:revision>1</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Tue Mar 29 18:25:00 2016.-->
<!--Built on: Thu Jul 26 16:01:38 2018.-->
<sdk:size>131781761</sdk:size>
<sdk:checksum type="sha1">f0c6e153bd584c29e51b5c9723cfbf30f996a05d</sdk:checksum>
<sdk:url>sysimg_mips-17_r01.zip</sdk:url>
@ -667,7 +650,7 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:revision>4</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Fri Sep 16 16:10:43 2016.-->
<!--Built on: Fri Jul 27 08:50:47 2018.-->
<sdk:size>75382637</sdk:size>
<sdk:checksum type="sha1">655ffc5cc89dd45a3aca154b254009016e473aeb</sdk:checksum>
<sdk:url>x86-10_r04.zip</sdk:url>
@ -684,7 +667,7 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:revision>4</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Thu Nov 10 17:20:36 2016.-->
<!--Built on: Fri Jul 27 08:53:18 2018.-->
<sdk:size>115324561</sdk:size>
<sdk:checksum type="sha1">e45c728b64881c0e86529a8f7ea9c103a3cd14c1</sdk:checksum>
<sdk:url>x86-15_r04.zip</sdk:url>
@ -695,16 +678,16 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:tag-id>default</sdk:tag-id>
</sdk:system-image>
<sdk:system-image>
<!--Generated from bid:3462064, branch:git_jb-emu-release-->
<!--Generated from bid:4875369, branch:git_jb-emu-release-->
<sdk:api-level>16</sdk:api-level>
<sdk:description>Intel x86 Atom System Image</sdk:description>
<sdk:revision>5</sdk:revision>
<sdk:revision>6</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Thu Nov 10 17:20:52 2016.-->
<sdk:size>134339698</sdk:size>
<sdk:checksum type="sha1">7ea16da3a8fdb880b1b290190fcc1bde2821c1e0</sdk:checksum>
<sdk:url>x86-16_r05.zip</sdk:url>
<!--Built on: Tue Jul 17 16:27:13 2018.-->
<sdk:size>134926152</sdk:size>
<sdk:checksum type="sha1">bf1bf8c5591346118d2235da1ad20e7be8a3e9cd</sdk:checksum>
<sdk:url>x86-16_r06.zip</sdk:url>
</sdk:archive>
</sdk:archives>
<sdk:uses-license ref="android-sdk-license"/>
@ -712,16 +695,16 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:tag-id>default</sdk:tag-id>
</sdk:system-image>
<sdk:system-image>
<!--Generated from bid:3453820, branch:git_jb-mr1.1-emu-release-->
<!--Generated from bid:4875371, branch:git_jb-mr1.1-emu-release-->
<sdk:api-level>17</sdk:api-level>
<sdk:description>Intel x86 Atom System Image</sdk:description>
<sdk:revision>3</sdk:revision>
<sdk:revision>4</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Thu Nov 10 17:21:06 2016.-->
<sdk:size>142951842</sdk:size>
<sdk:checksum type="sha1">eb30274460ff0d61f3ed37862b567811bebd8270</sdk:checksum>
<sdk:url>x86-17_r03.zip</sdk:url>
<!--Built on: Tue Jul 17 16:30:45 2018.-->
<sdk:size>143278662</sdk:size>
<sdk:checksum type="sha1">03c6d022ab2dcbbcf655d78ba5ccb0431cadcaec</sdk:checksum>
<sdk:url>x86-17_r04.zip</sdk:url>
</sdk:archive>
</sdk:archives>
<sdk:uses-license ref="android-sdk-license"/>
@ -735,7 +718,7 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:revision>3</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Thu Nov 10 17:21:19 2016.-->
<!--Built on: Fri Jul 27 08:53:12 2018.-->
<sdk:size>149657535</sdk:size>
<sdk:checksum type="sha1">03a0cb23465c3de15215934a1dbc9715b56e9458</sdk:checksum>
<sdk:url>x86-18_r03.zip</sdk:url>
@ -752,7 +735,7 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:revision>6</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Thu Jul 13 12:41:20 2017.-->
<!--Built on: Wed Jun 13 18:42:22 2018.-->
<sdk:size>185886274</sdk:size>
<sdk:checksum type="sha1">2ac82153aae97f7eae4c5a0761224fe04321d03d</sdk:checksum>
<sdk:url>x86-19_r06.zip</sdk:url>
@ -769,7 +752,7 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:revision>5</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Thu Jul 13 12:42:18 2017.-->
<!--Built on: Tue May 22 03:41:51 2018.-->
<sdk:size>208212529</sdk:size>
<sdk:checksum type="sha1">00f0eb0a1003efe3316347f762e20a85d8749cff</sdk:checksum>
<sdk:url>x86-21_r05.zip</sdk:url>
@ -786,7 +769,7 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:revision>6</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Thu Jul 13 12:43:18 2017.-->
<!--Built on: Sun May 20 00:45:19 2018.-->
<sdk:size>214268954</sdk:size>
<sdk:checksum type="sha1">e33e2a6cc3f1cc56b2019dbef3917d2eeb26f54e</sdk:checksum>
<sdk:url>x86-22_r06.zip</sdk:url>
@ -803,7 +786,7 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:revision>10</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Thu Jul 13 12:44:25 2017.-->
<!--Built on: Tue Jun 5 22:05:27 2018.-->
<sdk:size>260804863</sdk:size>
<sdk:checksum type="sha1">f6c3e3dd7bd951454795aa75c3a145fd05ac25bb</sdk:checksum>
<sdk:url>x86-23_r10.zip</sdk:url>
@ -820,7 +803,7 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:revision>8</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Thu Jul 13 12:45:47 2017.-->
<!--Built on: Tue May 22 10:30:01 2018.-->
<sdk:size>313489224</sdk:size>
<sdk:checksum type="sha1">c1cae7634b0216c0b5990f2c144eb8ca948e3511</sdk:checksum>
<sdk:url>x86-24_r08.zip</sdk:url>
@ -830,6 +813,77 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:abi>x86</sdk:abi>
<sdk:tag-id>default</sdk:tag-id>
</sdk:system-image>
<sdk:system-image>
<!--Generated from bid:4931657, branch:git_nyc-mr1-emu-release-->
<sdk:api-level>25</sdk:api-level>
<sdk:description>Intel x86 Atom System Image</sdk:description>
<sdk:revision>1</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Tue Aug 7 14:04:45 2018.-->
<sdk:size>316695942</sdk:size>
<sdk:checksum type="sha1">78ce7eb1387d598685633b9f7cbb300c3d3aeb5f</sdk:checksum>
<sdk:url>x86-25_r01.zip</sdk:url>
</sdk:archive>
</sdk:archives>
<sdk:uses-license ref="android-sdk-license"/>
<sdk:abi>x86</sdk:abi>
<sdk:tag-id>default</sdk:tag-id>
</sdk:system-image>
<sdk:system-image>
<!--Generated from bid:4931640, branch:git_oc-emu-release-->
<sdk:api-level>26</sdk:api-level>
<sdk:description>Intel x86 Atom System Image</sdk:description>
<sdk:revision>1</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Tue Aug 7 14:05:14 2018.-->
<sdk:size>350195807</sdk:size>
<sdk:checksum type="sha1">e613d6e0da668e30daf547f3c6627a6352846f90</sdk:checksum>
<sdk:url>x86-26_r01.zip</sdk:url>
</sdk:archive>
</sdk:archives>
<sdk:uses-license ref="android-sdk-license"/>
<sdk:abi>x86</sdk:abi>
<sdk:tag-id>default</sdk:tag-id>
<sdk:tag-display>Default Android System Image</sdk:tag-display>
</sdk:system-image>
<sdk:system-image>
<!--Generated from bid:4931629, branch:git_oc-mr1-emu-release-->
<sdk:api-level>27</sdk:api-level>
<sdk:description>Intel x86 Atom System Image</sdk:description>
<sdk:revision>1</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Tue Aug 7 14:05:43 2018.-->
<sdk:size>360984187</sdk:size>
<sdk:checksum type="sha1">4ec990fac7b62958decd12e18a4cd389dfe7c582</sdk:checksum>
<sdk:url>x86-27_r01.zip</sdk:url>
</sdk:archive>
</sdk:archives>
<sdk:uses-license ref="android-sdk-license"/>
<sdk:abi>x86</sdk:abi>
<sdk:tag-id>default</sdk:tag-id>
<sdk:tag-display>Default Android System Image</sdk:tag-display>
</sdk:system-image>
<sdk:system-image>
<!--Generated from bid:4923214, branch:git_pi-emu-release-->
<sdk:api-level>28</sdk:api-level>
<sdk:description>Intel x86 Atom System Image</sdk:description>
<sdk:revision>4</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Tue Jul 31 17:43:13 2018.-->
<sdk:size>437320152</sdk:size>
<sdk:checksum type="sha1">ce03c42d80c0fc6dc47f6455dbee7aa275d02780</sdk:checksum>
<sdk:url>x86-28_r04.zip</sdk:url>
</sdk:archive>
</sdk:archives>
<sdk:uses-license ref="android-sdk-preview-license"/>
<sdk:abi>x86</sdk:abi>
<sdk:tag-id>default</sdk:tag-id>
<sdk:tag-display>Default Android System Image</sdk:tag-display>
</sdk:system-image>
<sdk:system-image>
<!--Generated from bid:4174711, branch:git_lmp-emu-release-->
<sdk:api-level>21</sdk:api-level>
@ -837,7 +891,7 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:revision>5</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Thu Jul 13 12:46:57 2017.-->
<!--Built on: Wed Jun 6 04:05:38 2018.-->
<sdk:size>292623982</sdk:size>
<sdk:checksum type="sha1">9078a095825a69e5e215713f0866c83cef65a342</sdk:checksum>
<sdk:url>x86_64-21_r05.zip</sdk:url>
@ -854,7 +908,7 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:revision>6</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Thu Jul 13 12:48:15 2017.-->
<!--Built on: Sun May 27 01:45:29 2018.-->
<sdk:size>299976630</sdk:size>
<sdk:checksum type="sha1">5db3b27f78cd9c4c5092b1cad5a5dd479fb5b2e4</sdk:checksum>
<sdk:url>x86_64-22_r06.zip</sdk:url>
@ -871,7 +925,7 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:revision>10</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Thu Jul 13 12:49:37 2017.-->
<!--Built on: Tue Jun 12 05:59:42 2018.-->
<sdk:size>365009313</sdk:size>
<sdk:checksum type="sha1">7cbc291483ca07dc67b71268c5f08a5755f50f51</sdk:checksum>
<sdk:url>x86_64-23_r10.zip</sdk:url>
@ -888,7 +942,7 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:revision>8</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Thu Jul 13 12:51:15 2017.-->
<!--Built on: Sat Jun 16 05:29:19 2018.-->
<sdk:size>419261998</sdk:size>
<sdk:checksum type="sha1">f6559e1949a5879f31a9662f4f0e50ad60181684</sdk:checksum>
<sdk:url>x86_64-24_r08.zip</sdk:url>
@ -898,4 +952,75 @@ ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS
<sdk:abi>x86_64</sdk:abi>
<sdk:tag-id>default</sdk:tag-id>
</sdk:system-image>
<sdk:system-image>
<!--Generated from bid:4931657, branch:git_nyc-mr1-emu-release-->
<sdk:api-level>25</sdk:api-level>
<sdk:description>Intel x86 Atom_64 System Image</sdk:description>
<sdk:revision>1</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Tue Aug 7 14:06:13 2018.-->
<sdk:size>422702097</sdk:size>
<sdk:checksum type="sha1">7093d7b39216020226ff430a3b7b81c94d31ad37</sdk:checksum>
<sdk:url>x86_64-25_r01.zip</sdk:url>
</sdk:archive>
</sdk:archives>
<sdk:uses-license ref="android-sdk-license"/>
<sdk:abi>x86_64</sdk:abi>
<sdk:tag-id>default</sdk:tag-id>
</sdk:system-image>
<sdk:system-image>
<!--Generated from bid:4931640, branch:git_oc-emu-release-->
<sdk:api-level>26</sdk:api-level>
<sdk:description>Intel x86 Atom_64 System Image</sdk:description>
<sdk:revision>1</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Tue Aug 7 14:06:52 2018.-->
<sdk:size>474178332</sdk:size>
<sdk:checksum type="sha1">432f149c048bffce7f9de526ec65b336daf7a0a3</sdk:checksum>
<sdk:url>x86_64-26_r01.zip</sdk:url>
</sdk:archive>
</sdk:archives>
<sdk:uses-license ref="android-sdk-license"/>
<sdk:abi>x86_64</sdk:abi>
<sdk:tag-id>default</sdk:tag-id>
<sdk:tag-display>Default Android System Image</sdk:tag-display>
</sdk:system-image>
<sdk:system-image>
<!--Generated from bid:4931629, branch:git_oc-mr1-emu-release-->
<sdk:api-level>27</sdk:api-level>
<sdk:description>Intel x86 Atom_64 System Image</sdk:description>
<sdk:revision>1</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Tue Aug 7 14:07:35 2018.-->
<sdk:size>491675204</sdk:size>
<sdk:checksum type="sha1">2878261011a59ca3de29dc5b457a495fdb268d60</sdk:checksum>
<sdk:url>x86_64-27_r01.zip</sdk:url>
</sdk:archive>
</sdk:archives>
<sdk:uses-license ref="android-sdk-license"/>
<sdk:abi>x86_64</sdk:abi>
<sdk:tag-id>default</sdk:tag-id>
<sdk:tag-display>Default Android System Image</sdk:tag-display>
</sdk:system-image>
<sdk:system-image>
<!--Generated from bid:4923214, branch:git_pi-emu-release-->
<sdk:api-level>28</sdk:api-level>
<sdk:description>Intel x86 Atom_64 System Image</sdk:description>
<sdk:revision>4</sdk:revision>
<sdk:archives>
<sdk:archive>
<!--Built on: Tue Jul 31 17:43:48 2018.-->
<sdk:size>564792723</sdk:size>
<sdk:checksum type="sha1">d47a85c8f4e9fd57df97814ad8884eeb0f3a0ef0</sdk:checksum>
<sdk:url>x86_64-28_r04.zip</sdk:url>
</sdk:archive>
</sdk:archives>
<sdk:uses-license ref="android-sdk-preview-license"/>
<sdk:abi>x86_64</sdk:abi>
<sdk:tag-id>default</sdk:tag-id>
<sdk:tag-display>Default Android System Image</sdk:tag-display>
</sdk:system-image>
</sdk:sdk-sys-img>

View File

@ -47,14 +47,6 @@ in
};
};
sysimg_mips_15 = buildSystemImage {
name = "sysimg-mips-15";
src = fetchurl {
url = https://dl.google.com/android/repository/sys-img/android/sysimg_mips-15_r01.zip;
sha1 = "a753bb4a6783124dad726c500ce9aec9d2c1b2d9";
};
};
sysimg_x86_15 = buildSystemImage {
name = "sysimg-x86-15";
src = fetchurl {
@ -82,8 +74,8 @@ in
sysimg_x86_16 = buildSystemImage {
name = "sysimg-x86-16";
src = fetchurl {
url = https://dl.google.com/android/repository/sys-img/android/x86-16_r05.zip;
sha1 = "7ea16da3a8fdb880b1b290190fcc1bde2821c1e0";
url = https://dl.google.com/android/repository/sys-img/android/x86-16_r06.zip;
sha1 = "bf1bf8c5591346118d2235da1ad20e7be8a3e9cd";
};
};
@ -106,8 +98,8 @@ in
sysimg_x86_17 = buildSystemImage {
name = "sysimg-x86-17";
src = fetchurl {
url = https://dl.google.com/android/repository/sys-img/android/x86-17_r03.zip;
sha1 = "eb30274460ff0d61f3ed37862b567811bebd8270";
url = https://dl.google.com/android/repository/sys-img/android/x86-17_r04.zip;
sha1 = "03c6d022ab2dcbbcf655d78ba5ccb0431cadcaec";
};
};
@ -250,17 +242,64 @@ in
sysimg_x86_25 = buildSystemImage {
name = "sysimg-x86-25";
src = fetchurl {
url = https://dl.google.com/android/repository/sys-img/android/x86-25_r03.zip;
sha1 = "7dd19cfee4e43a1f60e0f5f058404d92d9544b33";
url = https://dl.google.com/android/repository/sys-img/android/x86-25_r01.zip;
sha1 = "78ce7eb1387d598685633b9f7cbb300c3d3aeb5f";
};
};
sysimg_x86_64_25 = buildSystemImage {
name = "sysimg-x86_64-25";
src = fetchurl {
url = https://dl.google.com/android/repository/sys-img/android/x86_64-25_r03.zip;
sha1 = "4593ee04811df21c339f3374fc5917843db06f8d";
url = https://dl.google.com/android/repository/sys-img/android/x86_64-25_r01.zip;
sha1 = "7093d7b39216020226ff430a3b7b81c94d31ad37";
};
};
sysimg_x86_26 = buildSystemImage {
name = "sysimg-x86-26";
src = fetchurl {
url = https://dl.google.com/android/repository/sys-img/android/x86-26_r01.zip;
sha1 = "e613d6e0da668e30daf547f3c6627a6352846f90";
};
};
sysimg_x86_64_26 = buildSystemImage {
name = "sysimg-x86_64-26";
src = fetchurl {
url = https://dl.google.com/android/repository/sys-img/android/x86_64-26_r01.zip;
sha1 = "432f149c048bffce7f9de526ec65b336daf7a0a3";
};
};
sysimg_x86_27 = buildSystemImage {
name = "sysimg-x86-27";
src = fetchurl {
url = https://dl.google.com/android/repository/sys-img/android/x86-27_r01.zip;
sha1 = "4ec990fac7b62958decd12e18a4cd389dfe7c582";
};
};
sysimg_x86_64_27 = buildSystemImage {
name = "sysimg-x86_64-27";
src = fetchurl {
url = https://dl.google.com/android/repository/sys-img/android/x86_64-27_r01.zip;
sha1 = "2878261011a59ca3de29dc5b457a495fdb268d60";
};
};
sysimg_x86_28 = buildSystemImage {
name = "sysimg-x86-28";
src = fetchurl {
url = https://dl.google.com/android/repository/sys-img/android/x86-28_r04.zip;
sha1 = "ce03c42d80c0fc6dc47f6455dbee7aa275d02780";
};
};
sysimg_x86_64_28 = buildSystemImage {
name = "sysimg-x86_64-28";
src = fetchurl {
url = https://dl.google.com/android/repository/sys-img/android/x86_64-28_r04.zip;
sha1 = "d47a85c8f4e9fd57df97814ad8884eeb0f3a0ef0";
};
};
}

View File

@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
mkdir -p "$out/bin"
makeWrapper "${jre}/bin/java" "$out/bin/apktool" \
--add-flags "-jar $out/libexec/apktool/apktool.jar" \
--prefix PATH : "${buildTools}/build-tools/25.0.1/"
--prefix PATH : "${buildTools.v25_0_1}/build-tools/25.0.1/"
'';
meta = with stdenv.lib; {

View File

@ -770,6 +770,7 @@ with pkgs;
androidenv = callPackage ../development/mobile/androidenv {
pkgs_i686 = pkgsi686Linux;
licenseAccepted = (config.android_sdk.accept_license or false);
};
inherit (androidenv) androidndk;