Commit Graph

2703 Commits

Author SHA1 Message Date
Deepanshu Gupta
b916791be8 Update mkstubs to Java 8.
Also remove eclipse project, add intellij project and start using ASM5
API.

Change-Id: I761965fe641879a606d5ec4f0cec0781087e4c20
2016-01-08 08:48:36 -08:00
Deepanshu Gupta
3162d05475 Upgrade to ASM 5
Change-Id: I5c8bbc67017b7de49a9cb34514c087ed2f536495
2016-01-07 16:57:36 -08:00
Elliott Hughes
100586d4e4 Merge "Clean up etc1tool." am: 12b751f1f8
am: 845662e75f

* commit '845662e75fa61f633c43777e3cb5cd8e23b0260e':
  Clean up etc1tool.
2016-01-05 18:04:21 +00:00
Elliott Hughes
845662e75f Merge "Clean up etc1tool."
am: 12b751f1f8

* commit '12b751f1f8efdadf50731dd1ef6af6ac99d061cc':
  Clean up etc1tool.
2016-01-05 18:02:34 +00:00
Elliott Hughes
387b63df19 Clean up etc1tool.
Remove makefile cruft and fix all the compiler warnings.

Change-Id: I24e40143cac47a566c191f4f1ca27df7b4f55821
2016-01-05 09:34:58 -08:00
Aurimas Liutikas
c1cc994f85 Update Checkstyle rules to better match the style guide.
am: 9cd6eaacba

* commit '9cd6eaacba601ce443d9d1fc3573f876a778af35':
  Update Checkstyle rules to better match the style guide.
2015-12-19 01:27:39 +00:00
Aurimas Liutikas
9cd6eaacba Update Checkstyle rules to better match the style guide.
- Correct import order.

Bug: 25852971

Change-Id: I6addc06f7bb91df3d9d011807b5688b5aeba0a0d
2015-12-18 15:10:14 -08:00
Aurimas Liutikas
6b82b75c69 Allow to run checkstyle with untracked files present.
Additionally, this CL adds basic tests.

Bug: 25852971

Change-Id: Ia8a62e0d49428e1d933d2cef832c977e62f9c614
(cherry picked from commit 55e7480eff)
2015-12-18 00:54:02 +00:00
Aurimas Liutikas
4e8bad8045 Fix a crash when a brand new file is added.
Checkstyle.py was not handling additions of new files resulting in
a crash. For new files git.modified_lines() returns None. Added code
handles that case.

Bug: 25852971
Change-Id: I91e2b8c92581ec9e89bcbbcd2d274f56c791f3a9
(cherry picked from commit 5b87dbad0c)
2015-12-18 00:53:20 +00:00
Aurimas Liutikas
1fc79c2192 Add a script that allows developers to run checkstyle.
Allow developers to run Java style check in two ways.

Specific file:
checkstyle.py -f path/to/file/View.java

Lines modified in the latest commit:
checkstyle.py

Review moved from https://googleplex-android-review.googlesource.com/#/c/818813/
due to move from packages/experimental to development/tools

Bug: 25852971
Change-Id: Ibcf9d80644f2938828b21e8f50ab0d6f39c286b0
(cherry picked from commit 96f27d0960)
2015-12-18 00:52:35 +00:00
Aurimas Liutikas
55e7480eff Allow to run checkstyle with untracked files present.
Additionally, this CL adds basic tests.

Bug: 25852971

Change-Id: Ia8a62e0d49428e1d933d2cef832c977e62f9c614
2015-12-17 14:55:51 -08:00
Aurimas Liutikas
e9ad0609c7 Merge "Fix a crash when a brand new file is added." 2015-12-16 17:46:39 +00:00
Geoff Mendal
f76eca584c Import translations. DO NOT MERGE
Change-Id: Icaeb108fd7c922201f18a10083651048fe670d1e
Auto-generated-cl: translation import
2015-12-16 05:16:47 -08:00
Aurimas Liutikas
5b87dbad0c Fix a crash when a brand new file is added.
Checkstyle.py was not handling additions of new files resulting in
a crash. For new files git.modified_lines() returns None. Added code
handles that case.

Bug: 25852971
Change-Id: I91e2b8c92581ec9e89bcbbcd2d274f56c791f3a9
2015-12-15 18:02:50 -08:00
Yohei Yukawa
a6b714374d Merge "Updating Idegen project to use JDK 1.7" am: 72f24a0fa1
am: f499ad0961

* commit 'f499ad096171639c013c0ec21f730ed25da34998':
  Updating Idegen project to use JDK 1.7
2015-12-15 08:17:48 -08:00
Yohei Yukawa
f499ad0961 Merge "Updating Idegen project to use JDK 1.7"
am: 72f24a0fa1

* commit '72f24a0fa1579ba837bdc7b5c605eedd6990999a':
  Updating Idegen project to use JDK 1.7
2015-12-15 16:04:50 +00:00
Yohei Yukawa
72f24a0fa1 Merge "Updating Idegen project to use JDK 1.7" 2015-12-15 05:01:56 +00:00
Yohei Yukawa
65ce0716fc Merge "Fix exception in MakeFileParser"
am: 85fad37aa7

* commit '85fad37aa7ff73341006cbb890eb80a4c5144694':
  Fix exception in MakeFileParser
2015-12-09 11:17:21 -08:00
Xiaohui Chen
0b7e903d4c Fix exception in MakeFileParser
The code currently tries to parse all "$" as variables.  Now narrow it
down to only "$()" as it should.

Bug: 23155276
Change-Id: I1732ce757a9f7d611e90138b595a0aa1d3ce6009
2015-12-08 19:03:23 -08:00
Michael
6836ddf514 Updating Idegen project to use JDK 1.7
Updating Idegen intellij template to use JDK 1.7, which is required for
marshmallow.

Change-Id: I4ad02acb19fa850a62b6a25bbbaf4db2577a9fe0
2015-12-06 13:54:56 +01:00
Aurimas Liutikas
96f27d0960 Add a script that allows developers to run checkstyle.
Allow developers to run Java style check in two ways.

Specific file:
checkstyle.py -f path/to/file/View.java

Lines modified in the latest commit:
checkstyle.py

Review moved from https://googleplex-android-review.googlesource.com/#/c/818813/
due to move from packages/experimental to development/tools

Bug: 25852971
Change-Id: Ibcf9d80644f2938828b21e8f50ab0d6f39c286b0
2015-11-25 15:10:01 -08:00
Baligh Uddin
12460014fb Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 25433205
Change-Id: I33845a9556889471c57fa5c16f9ab8c25fc526a4
2015-11-04 11:41:17 -08:00
Ying Wang
8ee57970d5 Skip nonexistent files/directories (e.g. broken symlinks) in idegen.jar.
We may have broken symlinks in the experimental directories. They
shouldn't fail the idegen.

Bug: 25389477
Change-Id: Ie94ebba9225c928a0990347da259ed7bbd4c9fe1
2015-11-02 17:23:02 -08:00
Dan Willemsen
c081386e94 am 7604e6df: am 00821385: am a55701c0: Merge "Remove USE_MINGW, whitelist modules for windows"
* commit '7604e6dff4d7cd29812e5052b00416961619d2e4':
  Remove USE_MINGW, whitelist modules for windows
2015-09-01 17:04:39 +00:00
Dan Willemsen
0082138519 am a55701c0: Merge "Remove USE_MINGW, whitelist modules for windows"
* commit 'a55701c0bed8cb4d968fea69f0e49d257c096c70':
  Remove USE_MINGW, whitelist modules for windows
2015-09-01 16:37:15 +00:00
Dan Willemsen
b2fa10bf9c Remove USE_MINGW, whitelist modules for windows
Bug: 23566667
Change-Id: I944f48aea13abef0efa157c82ef7c91a63429eb5
2015-08-28 13:29:35 -07:00
Xiaohui Chen
d9a364e405 Merge "intellij-gen: Fix test source dir tag." 2015-08-26 22:06:49 +00:00
Joe Baker-Malone
489a703e79 chmod a-x on files that shouldn't be executable
Part of fix for http://b.android.com/163193

Change-Id: I1160e7b59e93e0ec6e99bcf277ad4875efaef194
2015-08-25 17:42:52 -07:00
Xiaohui Chen
6984d17aa7 intellij-gen: Fix test source dir tag.
Change-Id: Iba8ab25f27f72088088b06ea180bc3b8e912e5c9
2015-08-24 22:11:59 -07:00
Xiaohui Chen
aa5d149bd3 Make intellij-gen.sh take one dir
The common usage from a couple fellow engineers shows that we tend to
put the idea project right at the module root.  This update simplifies
this common use case.

Change-Id: I6020a4e13e376fa2f7641f36a5d4b1b8637fbd86
2015-08-13 13:23:04 -07:00
Xiaohui Chen
3cd9e24e0c Fix exception in MakeFileParser
The code currently tries to parse all "$" as variables.  Now narrow it
down to only "$()" as it should.

Bug: 23155276
Change-Id: I1732ce757a9f7d611e90138b595a0aa1d3ce6009
2015-08-12 20:38:50 +00:00
Geoff Mendal
fdd7b08ed5 Import translations. DO NOT MERGE
Change-Id: I6436814856544b75195ba2463abff39fe0d997e7
Auto-generated-cl: translation import
2015-07-22 05:11:12 -07:00
Andre Eisenbach
58f949d033 am 3039c1f2: am 877ff89b: Bluetooth native dumpsys logging support (5/5)
* commit '3039c1f29953844d0f324d2bb706bec042bb8073':
  Bluetooth native dumpsys logging support (5/5)
2015-05-12 16:53:03 +00:00
Andre Eisenbach
877ff89b54 Bluetooth native dumpsys logging support (5/5)
Added 'btsnooz' debug tool to interpret BTSnoop traces from a bugreport

Bug: 18508263
Change-Id: I774c712300e805e7072c7a453e84b2a06eb67984
2015-05-12 15:57:01 +00:00
Xiaohui Chen
23063be549 Merge "intellij-gen: fix git root problem" 2015-05-08 16:06:00 +00:00
Geoff Mendal
cfec821074 Import translations. DO NOT MERGE
Change-Id: I4b83719c396897c046da4d206146bfc640e45f1c
Auto-generated-cl: translation import
2015-05-01 19:37:44 -07:00
Xiaohui Chen
e472fe6d27 intellij-gen: fix git root problem
Some module dir may not be the git root itself.  Some modules may
share the same git root. e.g. "development/tools/apkcheck" module's
git root is "development/".  So we need to look at the parent
directories too when going through all the modules.

Change-Id: Id2ce859efc0d5f6286eb8545fd6a21244e7d40a6
2015-04-29 20:50:18 -07:00
Xiaohui Chen
8145bd2753 Merge "intellij-gen: fix framework dependencies" 2015-04-29 17:17:14 +00:00
Xiaohui Chen
2821fcb134 Merge "intellij-gen: default to use jdk 1.7" 2015-04-29 17:12:51 +00:00
Geoff Mendal
6d3823b081 Import translations. DO NOT MERGE
Change-Id: I8aaebdb327d41ac7e11ee0ea166307b0f980a42c
Auto-generated-cl: translation import
2015-04-29 07:09:14 -05:00
Xiaohui Chen
b6615dc7f0 intellij-gen: default to use jdk 1.7
1.7 language features seems already used in Android codebase.  Let's
move the generated project config to match that.

Change-Id: I0269f2e73417393bcd7894356caaea5c48b9d0e1
2015-04-27 14:45:10 -07:00
Geoff Mendal
3e691651b2 Import translations. DO NOT MERGE
Change-Id: I59f01c002066b71b1039ca0dbbbbef0efcaa4c47
Auto-generated-cl: translation import
2015-04-24 23:33:17 -07:00
Geoff Mendal
d3ee0196b2 Import translations. DO NOT MERGE
Change-Id: I09d42ebdc9db6569f948ab3e3f3d83e3123ad932
Auto-generated-cl: translation import
2015-04-22 07:10:14 -05:00
Xiaohui Chen
27639ae3db intellij-gen: fix framework dependencies
FrameworkModule has special case dependencies generation.  It is
currently missing some.  This cl fixes that and also fixed an edge case
when finding src directories.

Change-Id: I1593d92530715f3bbc8683cc32164fde4a29f0d8
2015-04-06 14:19:13 -07:00
Geoff Mendal
6db630d8db Import translations. DO NOT MERGE
Change-Id: I7d32af81fdb48a4a5641fbdcb85b9012dbb29af4
Auto-generated-cl: translation import
2015-03-21 01:24:46 -05:00
Geoff Mendal
ee5bd86e43 Import translations. DO NOT MERGE
Change-Id: I3a40482175025bb0c4d4882e13020f7647f93376
Auto-generated-cl: translation import
2015-02-26 12:26:58 -08:00
Bill Yi
35eb9ae37e Merge commit '418d8cac94a1e5f5dad0ee232197f2453a595c14' into HEAD 2015-02-19 14:30:37 -08:00
Elliott Hughes
6243e0ec4b am 5f454f03: am 19fbca0a: Merge "Remove elftree."
* commit '5f454f031f14362846c782e3862d4a9c0b56c9e0':
  Remove elftree.
2015-02-18 00:28:37 +00:00
Elliott Hughes
c5997d72dd am fe7c8b69: am 7a35b085: Merge "Use the exported elfutils headers."
* commit 'fe7c8b693ddd8b4250cdb0dd0e5815966ddd0c20':
  Use the exported elfutils headers.
2015-02-18 00:28:28 +00:00
Elliott Hughes
cbcbb5539d am a865d35c: am 092ddc95: Merge "Clean cruft out of the elftree makefile."
* commit 'a865d35c48a9239980a589eaf5974333fbb32e79':
  Clean cruft out of the elftree makefile.
2015-02-18 00:28:21 +00:00