Chih-Hung Hsieh
1d6acda9de
Merge "Use -Werror in development/tools/line_endings" am: f1ce8d402c
...
am: e8c304609b
Change-Id: I90ce6c37a23a059e2510cf7cdc46654c9456e5cc
2017-11-04 04:28:04 +00:00
Treehugger Robot
f1ce8d402c
Merge "Use -Werror in development/tools/line_endings"
2017-11-04 04:22:19 +00:00
Chih-Hung Hsieh
4e90055272
Merge "Use -Werror in development/tools/etc1tool" am: 0fb565459f
...
am: 77e8b704ef
Change-Id: I84720e1e41c70cf3176e59d5a6457fbd64a20578
2017-11-04 04:19:30 +00:00
Chih-Hung Hsieh
4944813847
Use -Werror in development/tools/etc1tool
...
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I4403d4e304a662f51a1a239f415cc11d97d33a33
2017-10-31 14:54:46 -07:00
Chih-Hung Hsieh
266197aff9
Use -Werror in development/tools/line_endings
...
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I22e5122f9ebcb0ea063683656fc2a801edf251cd
2017-10-31 09:57:35 -07:00
Chih-Hung Hsieh
a38ca6bb58
Merge "Use -Werror in development" am: 14b2eeb009
...
am: cee88a6a9a
Change-Id: I04f10d5d80f6ca8c58ad5ba609b95ba98507b250
2017-10-27 23:57:58 +00:00
Chih-Hung Hsieh
62f253dc80
Use -Werror in development
...
* Fix/suppress existing warnings.
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Iacc9052f81e6fe7e8a10b00a6fcea912a7d636d3
2017-10-27 14:43:17 -07:00
bohu
9fdedf9df7
emulator: merge oc-emu-dev development project
...
BUG: 64401460
Change-Id: I3fdce5c8aeb4fccb52d04f5da69807da9c86d57a
Merged-In: I3fdce5c8aeb4fccb52d04f5da69807da9c86d57a
Merged-In: I9f757a14d9bb59db2e6c62f4a4c83a4373b7b4d6
2017-10-26 22:08:12 -07:00
Colin Cross
08d7d58b5b
Merge "Convert development/tools to Android.bp" am: 5f3caed3a7
...
am: 6f3ae7994a
Change-Id: Ib4b7924a708f88c38c4f2686bbba3486751f8579
2017-10-27 00:17:35 +00:00
Colin Cross
6d7b346407
Convert development/tools to Android.bp
...
See build/soong/README.md for more information
Also moves rmtypedefs to use the guava prebuilt from
prebuilts/misc/common.
Test: m checkbuild
Change-Id: I9298967275ca40f8d50841b204cd40612a8a5f56
2017-10-24 16:15:15 -07:00
Po-Chien Hsueh
13b293925c
Merge changes from topic "repo_diff" am: 8ee1187ef5 am: a158515008
...
am: 21101d94e4
Change-Id: I6fa28e8fc16fda86c18a3a6454a85e99808f94f0
2017-09-28 17:36:39 +00:00
Po-Chien Hsueh
a158515008
Merge changes from topic "repo_diff"
...
am: 8ee1187ef5
Change-Id: I9e93bc660f32bca7b903acafd44ca4e86d6df37c
2017-09-28 17:31:38 +00:00
Po-Chien Hsueh
79a7b0e8f4
Check project path to make sure it actully exists
...
Some old projects might be removed for some reason, especially
the downstream ones. It should be fine to just skip analysing them
because people have stopped working on them.
Test: run the script against an old release
Change-Id: I563905565c4c502036159fce6a386bba13ba25ea
2017-09-28 17:15:08 +08:00
Po-Chien Hsueh
95ca7ccb84
Add option --ignore_error_during_sync
...
Some old SHA1 might be invalid when we use this tool.
Ignore these projects and keep going on.
Test: run the script against an old release
Change-Id: I5c89911759de6d122052e841eef0b016fa8b1422
2017-09-28 16:55:31 +08:00
Po-Chien Hsueh
f9b8f0cce0
Write results to subfolders
...
We are using this tools on multiple releases (tags).
Create subfolders using release names, so that results won't be
overwitten.
Test: run the script against multiple releases
Change-Id: I9a94940d630874a5b378431f20a6c1182cf11509
2017-09-28 16:55:31 +08:00
Po-Chien Hsueh
fb4ba49c20
Rename exclusions.txt in the script
...
The file name has been changed in a previous CL
Test: run the script
Change-Id: I7cc1b183989ae674e14e65321e09c51d5c689ad0
2017-09-28 16:55:31 +08:00
Diego Wilson
69fd65c62b
Merge "Add README.md" am: 61268564ca am: d82d37b41c
...
am: 78a952d89e
Change-Id: Ida8e5ddfb348f0318715698ae25d70fd9d91b95c
2017-09-28 04:27:06 +00:00
Diego Wilson
d82d37b41c
Merge "Add README.md"
...
am: 61268564ca
Change-Id: Id9766a2e1b9d4323d0f1178f9e9785945cb89312
2017-09-28 04:23:13 +00:00
Treehugger Robot
61268564ca
Merge "Add README.md"
2017-09-28 04:20:06 +00:00
Diego Wilson
7514722144
Add README.md
...
Add a document explaining how to create a data studio dashboard using
the repo diff tool.
Renamed repo_diff_downstream.py to repo_diff_trees.py.
Renamed exclusions.txt to android_exclusions.txt.
2017-09-27 11:19:58 -07:00
Dan Willemsen
698b9340ef
Merge "Always use our copy of libz" am: d78df25e19 am: f5dd447b3c
...
am: 3c0e5ab47f
Change-Id: I5f4d2fd26a032524131a1fab4e4da5446e077a6e
2017-09-27 00:06:04 +00:00
Dan Willemsen
f5dd447b3c
Merge "Always use our copy of libz"
...
am: d78df25e19
Change-Id: I48dfc1fac19774c51f69b089136111867e77aff3
2017-09-27 00:00:54 +00:00
Dan Willemsen
408776f361
Always use our copy of libz
...
Instead of hoping that the host libz is compatible with our build time
stubs.
Test: m etc1tool
Change-Id: I4fe25cd0d265895baf8db1f182f96b171e0c84b6
2017-09-26 14:48:51 -07:00
Diego Wilson
dbffdbf817
Merge "repo_diff: sync tip of branches of no tag is given" am: c18174e3c2 am: 2ca86f070c
...
am: 4f5d3e1f30
Change-Id: Ib1b63799f2e6a2352c5926c9b32efd175d16c85a
2017-09-15 19:28:01 +00:00
Diego Wilson
2ca86f070c
Merge "repo_diff: sync tip of branches of no tag is given"
...
am: c18174e3c2
Change-Id: I74774fe79242530881200d52eb0b7ad49f29bba4
2017-09-15 19:21:20 +00:00
Diego Wilson
190a725b60
repo_diff: sync tip of branches of no tag is given
...
Not all Android source trees support build IDs and tags.
When no build tag is requested, rather than try to match
the build IDs just sync the branch tips of the upstream
and downstream source trees.
Also select two Android Oreo release candidates
as the default branches. The fact that there are frozen
branches and that the diff is small serve as a good showcase
of the tool.
Change-Id: Ifdefd79fb6b32c6b83e0aee390dd5a435b6a61fc
2017-09-14 15:56:54 -07:00
Diego Wilson
833ed7329e
Merge "Rename repo_diff_android.py workspace directories" am: c968b0f53c am: f7ba54a795
...
am: d80ec2e7e1
Change-Id: I5a85181937ce0b2e476b55bdb0ea44970edb9489
2017-09-11 22:04:58 +00:00
Diego Wilson
f7ba54a795
Merge "Rename repo_diff_android.py workspace directories"
...
am: c968b0f53c
Change-Id: Ie497ec83b6796a9447e068482282e56cdc6b33e1
2017-09-11 21:49:30 +00:00
Diego Wilson
dbb1b8d8ef
Rename repo_diff_android.py workspace directories
...
Renamed the upstream and downstream workspaces to
"upstream" and "downstream", respectively.
Change-Id: I28efd32a4fa4c05410940061c18bb463132d9450
2017-09-11 11:10:22 -07:00
Diego Wilson
81fa36f33f
Merge "Add repo_diff tools" am: 725af68e38 am: 06ad379c6e
...
am: df63f18a01
Change-Id: I3be847e238cf09d33033538c6ab40cc8994474b2
2017-09-08 17:10:28 +00:00
Diego Wilson
06ad379c6e
Merge "Add repo_diff tools"
...
am: 725af68e38
Change-Id: Ibb8f4de45c91ed6190d5d7ecce1e7129eeab2f6c
2017-09-08 16:58:01 +00:00
Diego Wilson
61fb65ce4c
Add repo_diff tools
...
These tools help compare android repo workspaces for high level
analysis.
Test: Run python repo_diff/repo_diff_android.py
Change-Id: I645351521c7f61735d3ce65a93569983cd28851c
2017-09-07 17:44:35 -04:00
bohu
4c4bade329
emulator: merge oc-emu-dev development project
...
BUG: 64401460
Change-Id: I9f757a14d9bb59db2e6c62f4a4c83a4373b7b4d6
Merged-In: I9f757a14d9bb59db2e6c62f4a4c83a4373b7b4d6
2017-08-29 15:06:41 -07:00
bohu
f57025e457
emulator: merge oc-emu-dev development project
...
BUG: 64401460
Change-Id: I9f757a14d9bb59db2e6c62f4a4c83a4373b7b4d6
2017-08-04 16:28:34 -07:00
Mark Salyzyn
6d1633e131
logblame: add support for default format logcat
...
Parse default format:
06-19 17:12:50.395 2260 2260 D PackageManager: blah blah
Signed-off-by: Mark Salyzyn <salyzyn@google.com >
Test: Feed logcat -b all -d output to analyze_logs.py
Bug: 62836752
Change-Id: I64140b230558bdfddff0dc1560268b5516b8e04d
2017-07-13 12:25:17 -07:00
Tor Norbye
dcacc725d4
216372: Add metadata for @Duration
...
Test: Tested in lint in tools/base
Change-Id: I64afb83135a18b904b6dba7d2ed37877c1f2ca20
2017-05-31 14:35:18 -07:00
TreeHugger Robot
5dc7d1bfa9
Merge "Fix typo in time duration printing in logblame script."
2017-05-31 19:15:01 +00:00
Joe Onorato
0e71236dd6
make the logblame power toggle test slightly better
...
Bug: 37252687
Test: development/tools/logblame/power_toggle_test
Change-Id: Ie218bb0094bf1574de2e9ab51775984f4969307f
2017-05-31 01:25:16 +00:00
Joe Onorato
5d022704e9
Fix typo in time duration printing in logblame script.
...
Test: development/tools/logblame/medium_idle_test
Change-Id: I1c21f899ac35260a20eabb2d9af197d015b00ce6
2017-05-31 01:23:56 +00:00
Junda Liu
d0484f9b61
Add support for single apk output.
...
Test: manual
Change-Id: Ie202f37a92bfa904e4c17662428e71db699ff929
2017-05-10 15:26:33 -07:00
Aurimas Liutikas
f2e4985ba0
Update default Java level for idegen.
...
This sets it to 1.8 instead of 1.7 as Android now allows using
1.8 java language.
Bug: 38140365
Test: Ran idegen and now java language is set to 1.8 in Intellij
Change-Id: I1a1f0970357f42c3bc5ded9b3f17692812ea130a
2017-05-09 08:08:07 -07:00
Joe Onorato
75f444e139
Add logblame and some log buffer tests.
...
A utility to read a logcat and print statistics about who is spamming the log.
And tests that use it
Bug: 37252687
Test: ./test_analyze.py ; test_logs.py ; test_ps.py
Change-Id: I811ba482b4be9779047f97c3f3b7ea5f996bd503
2017-04-26 19:21:20 -07:00
Colin Cross
6b42baad6e
Merge "Use asm-5.2 prebuilts" am: 956ee36d17 am: b4f28cd8a0 am: cb51137278
...
am: 43d5cee460
Change-Id: I03a3fa19a8997eb54b398f7f531b834902a1821b
2017-02-14 19:27:14 +00:00
Colin Cross
61967edf02
Use asm-5.2 prebuilts
...
Test: m -j checkbuild tests cts
Change-Id: I737c9293662d1e9a5c47f174f160b9fd88bb3b5f
2017-02-13 12:54:21 -08:00
jackqdyulei
7902c8be05
Fix the build dir for check color
...
Bug: 32750778
Test: ./gradlew jar
Change-Id: Ib58b1b9a03d2fb78dc756757b8e0e16549312c1c
2017-02-10 14:05:24 -08:00
jackqdyulei
ddf9a631cc
Create project to build the lint color check library
...
This project is used to create the jar library and will be hooked
to config_apps.py to create the build of jar.
The library built in this project will be used in
prebuilts/checkcolor
Bug: 32750778
Test: ./gradlew jar
Change-Id: I5ba3b94e6fe80ba1de71fdcbda5479a0f14d85ab
2017-02-01 16:10:57 -08:00
Fyodor Kupolov
7fb7f2bca1
Compute permissions against existing whitelists in /etc
...
Test: manual
Bug: 31008485
Change-Id: Icbcf2331dddabce06781d4c66eb5bd3a2966e49c
2017-01-18 17:40:51 -08:00
Aurimas Liutikas
296aa2e3f9
Merge "Remove checkstyle from development/checkstyle." am: 06b3b45f6f am: 327d16e647 am: 24cc2e3cf0
...
am: 12839fd97f
Change-Id: I7284363c3d413d193c799d5ea5b62baec3a858ad
2017-01-13 17:53:19 +00:00
Aurimas Liutikas
ecef09bfa1
Remove checkstyle from development/checkstyle.
...
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
2017-01-12 18:34:00 -08:00
Roozbeh Pournader
90689d9044
Rename language+country resources to just language
...
Bug: 26496609
Test: none
Change-Id: I0c6bbf6f487ad1117dd8dfae11fb0a8534ccaec4
2017-01-10 23:30:24 -08:00