Commit Graph

2932 Commits

Author SHA1 Message Date
Aurimas Liutikas
c42b8e8bb0 Merge "Add tests/test-data/ to test file list for Checkstyle" am: aa2ea17237 am: 646db5802a am: a12b72439c
am: 86462d00e1

Change-Id: I76fe3bc4a126382001d9d7a563ebb1b77ea4d90a
2016-10-28 17:40:56 +00:00
Aurimas Liutikas
794494e88f Add tests/test-data/ to test file list for Checkstyle
This will skip javadoc checks for Java files in tests/test-data.

Bug: None
Test: None
Change-Id: I517f7d28d49e66c6c7029787e377fbbfe6df8154
2016-10-28 10:08:35 -07:00
Aurimas Liutikas
159ad93394 Merge "Add file whitelisting capabilities to checkstyle.py" am: 837e792666 am: 04e2e2dc41 am: 6a51e0d6be
am: 18dccc569f

Change-Id: I903cee66412e0e0e2e36e7102932cc6765ec993c
2016-10-12 17:53:32 +00:00
Aurimas Liutikas
21b3a7463b Add file whitelisting capabilities to checkstyle.py
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
2016-10-11 13:52:46 -07:00
Aurimas Liutikas
d7c9736408 Merge "Disable Checkstyle checks on auto-generated files." am: 518e6c3a28 am: af779fe149 am: 2378d4c491
am: 371f7e181f

Change-Id: I1e1806d4a905b293bebe8d719576ec463b862337
2016-09-21 21:06:54 +00:00
Aurimas Liutikas
b40478c7fa Disable Checkstyle checks on auto-generated files.
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
2016-09-20 16:46:12 -07:00
Aurimas Liutikas
e71af079f3 Merge "Do not warn about uncommited files if sha is set explicitly." am: f32000dda2 am: bf406fd592 am: f3637cd006
am: ebd8b74b5c

Change-Id: If172b7623f276bb22dcadb94361f7459e9d1fc1c
2016-09-20 18:17:59 +00:00
Aurimas Liutikas
fc518c714c Do not warn about uncommited files if sha is set explicitly.
Bug: 31603810
Test: Added test_GetModifiedFilesUncommittedExplicitCommit, all tests pass
Change-Id: I953f22df5be8030fc8a7145531026220c97a8dd8
2016-09-20 10:23:34 -07:00
Aurimas Liutikas
0b77686215 Allow missing method Javadocs for test classes in Checkstyle.
Bug: None
Test: Existing test_ShouldSkip will test this as it is using
      checkstyle.SKIPPED_RULES_FOR_TEST_FILES

Change-Id: I56c8c86a36f93b6b72a87fd97b75e5233fde9077
2016-09-20 10:19:48 -07:00
Aurimas Liutikas
570e3b4533 Allow missing method Javadocs for test classes in Checkstyle.
Bug: None
Test: Existing test_ShouldSkip will test this as it is using
      checkstyle.SKIPPED_RULES_FOR_TEST_FILES

Change-Id: I56c8c86a36f93b6b72a87fd97b75e5233fde9077
2016-09-19 10:23:18 -07:00
Tor Norbye
d28b49f318 Tool to extract annotations from the framework
Change-Id: I5cf8ddde2ecf502331ead19110a2e48fdf500e28
2016-07-06 09:33:19 -07:00
Rebecca Silberstein
77c6e0589a Allow MockitoAnnotations.* as static import
Allow org.mockito.MockitoAnnotations.* as a static import.

Change-Id: Ibc160dfcc6b46040560765bdb5df622ffdaebe33
2016-05-27 13:56:11 -07:00
TreeHugger Robot
0e926849a5 Merge "Allow org.mockito.Matchers.* as a static import" 2016-05-07 02:17:27 +00:00
Mitchell Wills
d4d682b6ca Allow org.mockito.Matchers.* as a static import
Change-Id: I550b785746136d183cff648b3a9634c9a786ac17
2016-05-06 17:40:28 -07:00
Alex Klyubin
745fece87f Merge "Switch from SHA-1 to SHA-256 for new signing key certs." am: 574ad2ec86 am: b2e8ea51a9 am: 0684d848fb
am: eb66c53367

* commit 'eb66c53367ef381b88149c1e769435730ae78abc':
  Switch from SHA-1 to SHA-256 for new signing key certs.

Change-Id: I3d86ae39ffbdc496c537b3789c170f7a8ee0cb13
2016-05-06 19:51:02 +00:00
Alex Klyubin
0684d848fb Merge "Switch from SHA-1 to SHA-256 for new signing key certs." am: 574ad2ec86
am: b2e8ea51a9

* commit 'b2e8ea51a9200af1c7ff7aa75f2fc0e3cf6e6843':
  Switch from SHA-1 to SHA-256 for new signing key certs.

Change-Id: Ieb51183816a46c7697ccbcf9854ce485e885abb1
2016-05-06 19:41:32 +00:00
Alex Klyubin
574ad2ec86 Merge "Switch from SHA-1 to SHA-256 for new signing key certs." 2016-05-06 19:25:25 +00:00
Eino-Ville Talvala
482e6c6ca2 Idegen: Don\'t assume a backslash is preceded by a space am: 6a65b38
am: 6e854fb

* commit '6e854fb335a6de13956a22fe0e3fb2aad867b8a9':
  Idegen: Don't assume a backslash is preceded by a space

Change-Id: I7383d6278f0d88f255b188802b0e0f443994d7aa
2016-04-15 22:48:54 +00:00
Eino-Ville Talvala
6e854fb335 Idegen: Don\'t assume a backslash is preceded by a space
am: 6a65b38

* commit '6a65b38d23d41f59b03d91b2e0d23038b9a56439':
  Idegen: Don't assume a backslash is preceded by a space

Change-Id: Ib0fb4f5415e5002c84511653bc1dfcaafd5070d6
2016-04-15 22:44:11 +00:00
Eino-Ville Talvala
6a65b38d23 Idegen: Don't assume a backslash is preceded by a space
Only remove a backslash, nothing more. Otherwise a line with just
a backslash will cause a crash.

Bug: 28218145
Change-Id: I540a2508ba1fbd3f03cf8258d1fe4b99e0472c88
2016-04-15 14:06:53 -07:00
Elliott Hughes
1b950cee7a Remove dead translations. am: 39a86fa
am: 4df2aff

* commit '4df2affeb1769edab4a58ececb46850a72eace23':
  Remove dead translations.
2016-03-27 15:46:18 +00:00
Elliott Hughes
4df2affeb1 Remove dead translations.
am: 39a86fa

* commit '39a86fa08f72e815c04db853ed88486656a95198':
  Remove dead translations.
2016-03-27 15:43:14 +00:00
Elliott Hughes
39a86fa08f Remove dead translations.
This tool has moved to bootable/recovery.

Bug: http://b/27837319
Change-Id: Icc91e8a6fca4ccbc3f55afb3fd930c5996cd8ae9
2016-03-26 18:50:22 -07:00
Elliott Hughes
fc4e80e19f Merge "Remove yuv420sp2rgb." am: 34874d7
am: fc9af66

* commit 'fc9af66183ecc4707764707616f31dbdb6388668':
  Remove yuv420sp2rgb.
2016-03-26 17:12:12 +00:00
Elliott Hughes
6a44ee4775 resolve merge conflicts of e291159 to master
Change-Id: I8799393acf7b2e09fe12c7a4f7a22ca76b6717da
2016-03-26 10:05:33 -07:00
Elliott Hughes
fc9af66183 Merge "Remove yuv420sp2rgb."
am: 34874d7

* commit '34874d7a867a9f85d64d982ba86d707824d8003e':
  Remove yuv420sp2rgb.
2016-03-26 16:48:11 +00:00
Elliott Hughes
e2911592da resolve merge conflicts of 1aff55c to nyc-dev-plus-aosp
Change-Id: I21808f7a212b4be8bfb8d3ddf0a0612b18911867
2016-03-26 09:44:22 -07:00
Elliott Hughes
34874d7a86 Merge "Remove yuv420sp2rgb." 2016-03-26 16:09:23 +00:00
Elliott Hughes
e66fdbfff7 Lose recovery_l10n to bootable/recovery, where it belongs.
Bug: http://b/27837319

(cherry picked from commit 00e91ab81b)

Change-Id: Ic483867ab37e949e9e1c9b58b2c9be049fdfc5e8
2016-03-26 08:46:25 -07:00
Elliott Hughes
1aff55c947 Merge "Lose recovery_l10n to bootable/recovery, where it belongs." 2016-03-26 15:45:24 +00:00
Elliott Hughes
00e91ab81b Lose recovery_l10n to bootable/recovery, where it belongs.
Bug: http://b/27837319
Change-Id: I13de34390338ba4c420a7ff6cc8e6d3858038f28
2016-03-26 08:43:08 -07:00
Dan Willemsen
e57c3099fa Merge "Replace custom rules, remove ACP" am: a279b12
am: 15348ea

* commit '15348ea4aaa9dc449ab8705e1d5ba108f475dc68':
  Replace custom rules, remove ACP
2016-03-23 22:07:38 +00:00
Dan Willemsen
15348ea4aa Merge "Replace custom rules, remove ACP"
am: a279b12

* commit 'a279b12905f31231a8f3c36c52abcd1224449c1a':
  Replace custom rules, remove ACP
2016-03-23 22:02:06 +00:00
Dan Willemsen
f230a38299 Replace custom rules, remove ACP
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
2016-03-23 13:22:38 -07:00
Elliott Hughes
89f8743783 Remove yuv420sp2rgb.
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
2016-03-22 21:13:28 -07:00
Geoff Mendal
b32511e86d Import translations. DO NOT MERGE
Change-Id: Ia5f1fa9731b8b6b71d6a2cdb0e23de8da7fbbca3
Auto-generated-cl: translation import
2016-03-19 03:38:30 +01:00
Geoff Mendal
1e41ed2e5b Import translations. DO NOT MERGE
Change-Id: Ica7662cd694aa814751efba0e603a505d68e2c50
Auto-generated-cl: translation import
2016-03-18 19:27:11 -07:00
Maurice Lam
54d3e7e34c Merge "Add custom config XML support for checkstyle" into nyc-dev am: f98b371
am: 5baa0bf

* commit '5baa0bf5444cb8ede35aad5ae929e1dfe50eb64c':
  Add custom config XML support for checkstyle
2016-03-17 17:35:08 +00:00
Maurice Lam
5baa0bf544 Merge "Add custom config XML support for checkstyle" into nyc-dev
am: f98b371

* commit 'f98b3710206d5fa58a8914bf05bf649cb85d1239':
  Add custom config XML support for checkstyle
2016-03-17 17:32:00 +00:00
Maurice Lam
d513a1723f Add custom config XML support for checkstyle
Change-Id: If94dd073d7270d8fcdcf4f3041770712a193ce9e
2016-03-16 14:53:15 -07:00
Dan Willemsen
92d49e22ef Merge "Remove unused libhost dependency" am: 360bff6959 am: 2f3ee5f0a5
am: 655aeacf34

* commit '655aeacf342f576b6f94c44ebdf149055dc935de':
  Remove unused libhost dependency
2016-03-01 16:42:33 +00:00
Dan Willemsen
655aeacf34 Merge "Remove unused libhost dependency" am: 360bff6959
am: 2f3ee5f0a5

* commit '2f3ee5f0a5cf5ca51d5233bb0ce1470ba859599b':
  Remove unused libhost dependency
2016-03-01 16:38:57 +00:00
Dan Willemsen
2f3ee5f0a5 Merge "Remove unused libhost dependency"
am: 360bff6959

* commit '360bff69598661c8aee6a236d87e2f68576eb7eb':
  Remove unused libhost dependency
2016-03-01 04:59:05 +00:00
Dan Willemsen
0877623830 Remove unused libhost dependency
Change-Id: I5999c1076ca0bce7a7ee91a0c533d99e639062c9
2016-02-29 19:56:40 -08:00
Mitchell Wills
7ed20cf136 Checkstyle: Allow star imports for certain classes am: 753fae1d8b
am: 85e58c7725

* commit '85e58c7725b197190a4b78d70082eefb56361e94':
  Checkstyle: Allow star imports for certain classes
2016-02-24 01:49:18 +00:00
Baligh Uddin
39eb80b297 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 27293916
Change-Id: I7cc8fcb40692858d637e967ca524dea0efc06f4a
2016-02-23 08:38:49 -08:00
Geoff Mendal
4be230ec43 Import translations. DO NOT MERGE
Change-Id: I9c40026c181a82bc0404ef5cc870f24a4e2fcacb
Auto-generated-cl: translation import
2016-02-22 05:06:41 -08:00
Mitchell Wills
753fae1d8b Checkstyle: Allow star imports for certain classes
Bug: 27282855
Change-Id: Iab492c8b558e37af0dded33d99e309c4fd559b05
2016-02-21 12:11:32 -08:00
Neil Fuller
602245b028 Merge "Switch RmTypeDefs over to asm v5"
am: 611120adfd

* commit '611120adfd390a98a1ffab89a6b20d1be589edf6':
  Switch RmTypeDefs over to asm v5
2016-02-18 18:22:43 +00:00
Neil Fuller
1388ea2a6c Switch RmTypeDefs over to asm v5
Required if it is to deal with v52 class files.

Bug: 27189914
(cherry-picked from commit 79c3a724b8)

Change-Id: I8647dd7807a153457e5af5ff13a414af853057ab
2016-02-18 11:53:07 +00:00