aboutsummaryrefslogtreecommitdiffstats
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
* vendor/cm: symlink repopick to build/toolsTom Powell2017-02-041-0/+1
| | | | Change-Id: I04b86c7b9445dc98510ba9b3f89a9a9410b26033
* extract_utils: Detect output existence before moving it for backupAdrian DC2017-01-181-1/+3
| | | | | | | | | | * Avoids: Cleaning output directory (./../../../vendor/.../.../proprietary).. mv: cannot stat './../../../vendor/.../.../proprietary/*': No such file or directory Change-Id: I3258e64f3997f139d8db4fb4e07d14964a469c78 (cherry picked from commit 3c6bdac74bc212b26f723aa8697099fd636451a8)
* extract_utils: Introduce variable INITIAL_COPYRIGHT_YEARMatt Mower2017-01-161-2/+25
| | | | | | | | | | Let a device specify INITIAL_COPYRIGHT_YEAR=XXXX in setup-makefiles.sh so that the correct copyright(s) is/are included in vendor makefiles. The CyanogenMod copyright is retained when INITIAL_COPYRIGHT_YEAR<2017 and the LineageOS copyright is now included for >=2017. Change-Id: I6895b5b69bc7ba399042ac3c29e17f3209d15f1b (cherry picked from commit 8945f5e8c796a3fca6fe2ae3cd90df331959c167)
* http_prebuilt: Improve retrieval of artifacts from archiveDavid Marble2017-01-121-2/+4
| | | | | | | | | | | | | | | The current version always redownloads the artifact. Kali does not like the nested md5sum command and ignores it leaving file checksum value blank so the test always fails. A temporary variable is used to get around this limitation of kali. The echo "Downloading..." command has been modified to actually print and has been moved so it only does so when downloading the artifact. Change-Id: I115860a87e55399a652d6548fe50f6204337f854 (cherry picked from commit 20c06fd75e09f3910ec699bdc54eec08f6bb4594)
* http_prebuilt: Implement archive of artifactsBrandon McAnsh2017-01-082-2/+63
| | | | | | | | | * checksum will be downloaded and asserted to prevent a redownload every clean * Archives will exist (invisibly) at vendor/cm/prebuilt/archive Change-Id: I637e86cacd146d665044a119885900dc4660e22b Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
* vendor: Add a task for getting prebuilts via httpDan Pasanen2017-01-022-0/+35
| | | | | | | | * Gello being our first pawn * Use curl instead of wget (more powerful) * Ensure the intermediates directory exists prior to download Change-Id: If19c18638a14a8b9ab55470ae6ee5a2deda2e3ec
* cm: Rebrand to LineageOSZhao Wei Liew2016-12-291-2/+2
| | | | Change-Id: Icf53ce2b98306498cfa815e9fc7377e9a6c583a6
* extract_utils: Add option to define the certificate for jarsElektroschmock2016-11-041-0/+5
| | | | Change-Id: I3fb4ff29b2ce898989f5599b47f47ee7fcfc5e92
* extract_utils: Do not change app SRC if there are argumentsHashBang2016-10-081-4/+6
| | | | | | | Do not prepend app or priv-app to the src when a path is explicitly given as an argument. This fixes the SRC path in such conditions. Change-Id: I43370f17fe224df323fcfa9b0d5eae4ee2996524
* cm: "Released" means current.Adnan Begovic2016-08-171-1/+1
| | | | | | | | Since mainline devices will always identify as a latest release api level (due to userbase volume), make sure we check against the current api vs api -1. Change-Id: I9e9b41a1af5d3a93f58b2e0e0545b979d1cef978
* extract-utils: Add pinning supportSteve Kondik2016-08-141-11/+80
| | | | | | | | | | | | | | | | | | * In many cases, we would like to keep certain files which do not exactly match what might be extracted from a factory ROM. This becomes extremely annoying over time to manually reconstruct, and it's easy to miss these special cases when updating to a new vendor release. It's also useful to flag additions which aren't found in the upstream release at all. * To solve this, we can now "pin" files to a specific sha1 hash. Simply append the sha1sum of the file to the appropriate line in your bloblist, prepended by a | delimiter. * This works by backing up the current files first, running the extraction, then checking if any pinned files need to be restored. * Also add an exit trap to clean up all of our tempfiles Change-Id: I2010b5175b5701e19a3efb112e8907062ca37d66
* cm: extract_utils: Add a firmware extraction methodLouis Popi2016-08-051-0/+65
| | | | Change-Id: If14f6932cbdccf45ca0cc91c403e951363e91260
* cm: extract_utils: Fixup xml filesLuca Stefani2016-08-051-0/+17
| | | | Change-Id: Icb8efcca0e6e37a3ea7432716fcbfbd631d96c19
* cm: extract_utils: Implement oat2dexLuca Stefani2016-08-054-0/+207
| | | | | | | * Shipping baksmali and smali (version 2.1.3) in vendor/cm (Official sources: https://github.com/JesusFreke/smali) Change-Id: Iaca6337fa2d4b5f2d6654ef5142ec0313af63f5a
* Revert "extract_utils: Don't write multilib tags on 32-bit only devices"Steve Kondik2016-07-291-23/+9
| | | | | | | | * Not gonna work without preparsing all the lists combined together. This reverts commit b7b7f884437c76d196f94461751093a7efe47d4c. Change-Id: I63ceead414d7f8416e2c2c8e4b12098077b545e2
* cm: extract_utils: Rewrite file existence checksBruno Martins2016-07-281-12/+10
| | | | Change-Id: I7c1584ec7162e0e18fae471e6aceef6123a5d10b
* extract_utils: Don't write multilib tags on 32-bit only devicesSteve Kondik2016-07-281-9/+23
| | | | Change-Id: I41b6f71c45a566ba1b4dd5cb72c4ebf44388b363
* extract_utils: Add support for files in rootfsSteve Kondik2016-07-281-53/+82
| | | | | | | | | | * A final "rootfs" tag in the last column will place the chosen file into the ramdisk * Currently only supports files in /sbin * Cleaned up usage of class-specific flags * Simplified code Change-Id: Id823d70aab51f8767522f697eaf65f52fc64b94b
* cm: Remove stray echo from extract_utilsSteve Kondik2016-07-211-1/+0
| | | | Change-Id: I2d893a3f8472a86835feef24540e82c47b69fd67
* cm: Underp dumping of 64-bit only librariesSteve Kondik2016-07-201-3/+4
| | | | Change-Id: I9c2140b40747fc7f847f1a532c42fb7ae5bfc3fd
* cm: Add generic tools for extract-files / setup-makefiles scriptsSteve Kondik2016-07-181-0/+626
| | | | | | | | | | | | * Instead of having to enumerate packages and do a bunch of tedious shit, we now have a way to do it automatically based only on the blob lists. * Devices still need to implement a short script, but this library handles all the core functions. * Yes, we should probably be doing this in Python- Bash is absolutely horrible at dealing with arrays and lists. Change-Id: I73b30ff4531c4d1b33ac53db33abf62555f500b4
* cmsdk-api-coverage: Don't prepend ANDROID_BUILD_TOP to file pathLuis Vidal2016-06-131-1/+1
| | | | | | | $@ already contains the full path of the output, so no need to prepend ANDROID_BUILD_TOP to the path Change-Id: Ieeeb9fa16352e80b878cddb89b1e7c04b82ab43c
* cm: Use cmsdk-api-coverage executable for coverage.Adnan Begovic2016-06-131-4/+4
| | | | Change-Id: I8610f402d7c9a55213a520f317d7c94074c96df9
* cm: Include CMSettingsProvider in test coverage report.Adnan Begovic2016-06-071-2/+3
| | | | | TICKET: CYNGNOS-3016 Change-Id: Ia02464614b02b98a535f963aae5a1b13281abaa7
* cm: Change output html name for cmsdk test coverage.Adnan Begovic2016-06-071-1/+1
| | | | Change-Id: Idbea6064b89051b5db99aaadeec71502b65724bf
* cm: Amend api text message.Adnan Begovic2016-04-151-2/+1
| | | | Change-Id: Idfa73b8ec3f9375766e01d8fb7b69079d776b751
* cm: Support maven artifact as aar for publish.Adnan Begovic2016-04-121-2/+2
| | | | | Change-Id: Ie0b81e46823e15b1cadfd1426f6d6cbb6daf4e10 TICKET: CYNGNOS-2305
* cm: Actually have checkapi-cm match against prior release.Adnan Begovic2016-04-011-2/+2
| | | | | Change-Id: I10b88f962d9410687640a40ce7f564e0bd04c2c6 TICKET: CYNGNOS-2303
* cm: Add further verbose messaging for api breaking changes.Adnan Begovic2016-03-301-1/+6
| | | | Change-Id: I2a53cbfb1aff682f0d39c7f600cc755aa9e4baa9
* cm: Always verify against current CMSDK version.Adnan Begovic2016-03-101-5/+2
| | | | | | | | | Since cmsdk prebuilts lives in a single master branch, previous branches that apicheck will fail since they'll verify against an api that exists in future releases. Change-Id: I56594d075b89cb1a3d7a606cc9c1699dfffd94cb TICKET: CYNGNOS-2220
* cm: Create cmsdk coverage task.Adnan Begovic2016-03-041-0/+76
| | | | | | | | | | Add ability to `make cmsdk-test-coverage` to generate an html page which denotes how much the testing package from vendor/cmsdk covers public interfaces. Change-Id: I76556df1822934a6b7e86ebf2ff42e302acff46d TICKET: CYNGNOS-2189
* cm: Set explicit dependencies on stubs for checkapi-cm.Adnan Begovic2016-02-101-0/+4
| | | | | Change-Id: I2c8b8425262a6812f1061326c55ffc7418967444 TICKET: CYNGNOS-1950
* cm: Fix checkapi makefile typo.Adnan Begovic2016-02-091-1/+1
| | | | | Change-Id: I96d1acba8e8f665dabf6d18dac5fc5c3132ad0f7 TICKET: CYNGNOS-1950
* cm: Provide verbosity for checkapi-cm.Adnan Begovic2016-02-093-11/+168
| | | | | | | Also a helper text for how to unbreak yourself. TICKET: CYNGNOS-1950 Change-Id: I8311e19905b507c3a65eba37a6b4ea6606108e4f
* Fixed mmm For Maven APKherriojr2016-01-181-1/+3
| | | | | | | | | Maven APK (Why are these in maven anyways?) will crash due to it not needing to generate a jack file. This wasn't noticed before as brunch succeeded, however, doing an mmm on one will cause this to fail. This adds in logic to not generate a jack file for an apk in maven. Change-Id: I44036bfd51ae3edd9437b153898b419ffc6ba2d6
* Fixed Maven Artifactory to work with jackherriojr2016-01-151-0/+11
| | | | | | | | Prebuilts weren't generating their .jack file when doing an mm or mmm but would work with a brunch or full make. This makes it so mmm/mm will properly generate it. Change-Id: If5ccd1b557ef124b3c57fa09b172ec11caff886e
* cm: Fixup maven artifact publish inclusions.Adnan Begovic2016-01-052-8/+14
| | | | | TICKET: CYNGNOS-1529 Change-Id: Ie7307d43f0b38b179ae42b7c54a790bb7e4c5ea5
* cm: Modify maven artifact publish makefile.Adnan Begovic2016-01-051-7/+11
| | | | | | | | | | | Now allows you to specify a target module to be compiled prior to publish via LOCAL_MAVEN_TARGET_MODULE. This utilizes the definition for intermediates-dir-for on the target module after it sets an explicit dependency from remote to local module. Change-Id: I65b5e07fdcc3368e350b1935ccca381b74dce59e
* cm: Publish system api as part of publish process.Adnan Begovic2015-12-231-0/+3
| | | | Change-Id: Iba8b2fbc43dfd7592d7526b03ce6e1338ea095d0
* vendor/cm: Don't be so noisy.Adnan Begovic2015-08-131-9/+0
| | | | Change-Id: I3aa12c87b4b3e7f3da4fc4971659b981f460872a
* vendor/cm: Always use gpg sign-and-deploy for deployments.Adnan Begovic2015-08-071-5/+15
| | | | | | - Also support LOCAL_MAVEN_SOURCES and LOCAL_MAVEN_JAVADOC Change-Id: Icfab8d23d8a9e9993eb74adf7349439bc4b6d1ed
* vendor/cm: Provide means of uploading an artifact to maven.Adnan Begovic2015-08-062-0/+49
| | | | Change-Id: Ide225d75807a917773520ae1b7772e8de9b1ab73
* Specify the maven-dependency-plugin version directly so as to force Maven ↵Chris Sarbora2015-07-251-26/+12
| | | | | | 3.0.5 to use the correct version. Change-Id: Ia8b943feeb13d8835e0510404d067a2760608aa6
* vendor/cm: Introduce update-cm-prebuilts-latest-public-api.Adnan Begovic2015-07-181-0/+7
| | | | Change-Id: I6a09d3b26573c81e74dc0338ef8899bebb1b5320
* vendor/cm: Clean up paths to known files.Adnan Begovic2015-07-182-10/+28
| | | | Change-Id: I867300c04aae1f429be5e2bd057e559a00bc12b5
* Hack in support for the old version of Maven that Ubuntu apparently ships withChris Sarbora2015-07-161-4/+23
| | | | Change-Id: I39094627ff114901cc49f792ab601ab5b1677c19
* Prevent Maven target from grabbing transitive dependenciesChris Sarbora2015-07-081-1/+2
| | | | | | | | | | | Dependencies of Maven targets will have to be managed manually. The prebuilt target that the Maven target is based off of wasn't designed to handle multiple artifacts per project. Additionally, this target is mainly intended for grabbing APKs or other standalone blobs, not for pulling in a full jar dependency tree. If that is your use case, you may want to investigate simply converting your project to Gradle (or the Maven build system, if you can stomach it). Change-Id: Iaf48c95c704cfdc85e0074394ff3c7464937e60c
* vendor/cm: Represent as CyanogenMod API'sAdnan Begovic2015-06-231-1/+1
| | | | Change-Id: I4c0807df9f2412fef9d44464ab01d019116a7e85
* vendor/cm: Remove search widget from developer docs.Adnan Begovic2015-06-232-124/+0
| | | | | | | Since github.io is a static page, and we lack an enpoint to search, the search widget is useless. Change-Id: I7c5728abaac880359daa71aa1d7093e38061231c
* vendor/cm: Point to proper prebuilts/cmsdk directories.Adnan Begovic2015-06-221-2/+2
| | | | Change-Id: I80ac94fd9b2d3a80d91a82d65a260d26b1436e60