Checkstyle was moved to prebuilts/checkstyle as it is a better
place for a prebuilt jar. All the usages of checkstyle.py in
PREUPLOAD.cfg files has been updated to use the correct checkstyle
and this change should not affect anyone.
Bug: 33078621
Test: none
Change-Id: Ib2e4272a4bea7d16cccdebaeb407acbd7193f248
This CL extends checkstyle check to search for IGNORE_CHECKSTYLE
files in folders which marks them as excluded from checkstyle,
including their sub folders
Change-Id: Id2390bb2a92e03f49c0014888e21549279e4bab6
This change allows us to skip javadoc checks for such test directories:
- cts/tests/tests/
- /test/src/
Test: none
Change-Id: I6a3bedaed816a3e764ca7e66ee364cd30e16c55b
It was originally added internally in ag/1085881, but then got
reverted via merge when android-styles.xml got split into multiple
files in r.android.com/305437
Bug: None
Test: None
Change-Id: I08bde16212c563a8d43995a97ffe47b2c43ed952
This will allow teams to reuse parts of checkstyle without having
to worry about missing any checks when they change in the main configs.
Bug: None
Test: Tested locally and checkstyle still verifies the same rules using android-style.xml
Change-Id: I91ca11d3d7089db656bc640549bd7012284a8859
Add [project/foo/bar] to the beginning of each Checkstyle error line
if the REPO_PROJECT environmental variable is set (set by repo hooks).
Test: manually attempted to run checkstyle.
Change-Id: I8ccf76d9ce9306668109029267081924300cb6ce
Certain projects might want to enable checkstyle gradually so
we need a way to whitelist which files should be checked.
Test: added test_FilterFiles
Change-Id: I501677ce824f882ccb5f2ad129af8f596d01c6e8
Add a check to ignore changes to automatically generated classes.
Bug: None
Test: Tried to run checkstyle locally on a file that containted the comment
and checkstyle script showed no warnings even though that file had issues.
Change-Id: If9085948f1c224dbb53255b2ba1601511ef769dd
Bug: None
Test: Existing test_ShouldSkip will test this as it is using
checkstyle.SKIPPED_RULES_FOR_TEST_FILES
Change-Id: I56c8c86a36f93b6b72a87fd97b75e5233fde9077
am: b2e8ea51a9
* commit 'b2e8ea51a9200af1c7ff7aa75f2fc0e3cf6e6843':
Switch from SHA-1 to SHA-256 for new signing key certs.
Change-Id: Ieb51183816a46c7697ccbcf9854ce485e885abb1
am: 6a65b38
* commit '6a65b38d23d41f59b03d91b2e0d23038b9a56439':
Idegen: Don't assume a backslash is preceded by a space
Change-Id: Ib0fb4f5415e5002c84511653bc1dfcaafd5070d6
Only remove a backslash, nothing more. Otherwise a line with just
a backslash will cause a crash.
Bug: 28218145
Change-Id: I540a2508ba1fbd3f03cf8258d1fe4b99e0472c88
A few LOCAL_ADDITIONAL_DEPENDENCIES were required, where
LOCAL_REQUIRED_MODULES would be nicer, but you can't require a module of
the same name. It would create a dependency loop with the current
require implementation, so it's filtered by the build system.
Also translate monkey from ALL_PREBUILTS to a prebuilt like the rest of
the tools. This doesn't change anything, since 'monkey' is already in
build/target/product/base.mk.
ACP is being removed, so use the standard build system macros to copy
files.
Change-Id: I4f73c6b35c0d7ae25467145b0a9d5c32ba4578d2
Hasn't been touched since cupcake, and only builds if you're targeting 32-bit
ARM, which no target still does anyway.
Change-Id: I6860a34c72c21ca7e04df288631a8950732b2e97
Required if it is to deal with v52 class files.
Bug: 27189914
(cherry-picked from commit 79c3a724b8)
Change-Id: I8647dd7807a153457e5af5ff13a414af853057ab
This is to move OTA update package verification logic for new Android
devices from SHA-1 to SHA-256.
Prior to this change the script which generates new signing keys
used SHA-1 in certificates. This change switches the script from SHA-1
to SHA-256. The reason is that OTA updates are accepted only if they
are signed using the same digest algorithm as in the certificate.
Bug: 25643280
Bug: 20580998
Change-Id: I9babe85946a43697aeb4309837504aea25e26763