Commit Graph

2932 Commits

Author SHA1 Message Date
Tor Norbye
56001c29f3 Merge "Initial version of Metalava." 2018-01-16 22:20:45 +00:00
Tor Norbye
9216bf6613 Initial version of Metalava.
For full information, read README.md.

Test: Unit tests included
Change-Id: If3696b09d61dd6781f579f39a957635c61a91ff0
2018-01-16 12:23:14 -08:00
Logan Chien
690899995a Merge "idegen: Add compatibility for custom out directory" am: ba6d87d125 am: 92e433e88d
am: 59605d4b36

Change-Id: I434554e710311bd6a43089f8191648d5adc8c17b
2018-01-05 01:52:40 +00:00
Logan Chien
ba6d87d125 Merge "idegen: Add compatibility for custom out directory" 2018-01-05 01:41:06 +00:00
Vishnu Nair
76ff5a145b Display default proto values and enum values as string
Bug: 64831661
Test: npm run dev
Change-Id: Iacde523b3b308dfcef878c9cfbcc758c6a664858
2018-01-03 11:10:58 -08:00
Adrian Roos
77d8a397f3 winscope: fix build configuration
Allows building a single file containing all resources, without breaking
the developer mode, and without having to disable minifying.

Bug: 64831661
Test: yarn run dev; yarn run build
Change-Id: Ifc18a776a3a2fba19be6bbb21713741e5dc27223
2017-12-29 16:28:37 +01:00
Vishnu Nair
f60b79fdc2 Fix proto file paths
Bug: 64831661
Test:  npm run dev
Change-Id: I2283175b50d96de7859b3e80de6228f55d766e67
2017-12-28 11:18:46 -08:00
Christian Oder
644f60e93c idegen: Add compatibility for custom out directory
At the moment the script looks for the jar iside the out dir.
However, if the our dir is set to a different directory via OUT_DIR_COMMON_BASE
the script does not notice that, and errors out saying a build is
needed.

This commits checks if the OUT_DIR_COMMON_BASE is set, then searches the jar in the proper path.
If OUT_DIR_COMMON_BASE is unset, search in "out" like it did before.

Test: Build with OUT_DIR_COMMON_BASE set and unset and verify idegen works in both cases.

Change-Id: Icfcf41af13139bd81f8589bb900debe5ee616022
2017-12-22 12:44:03 +00:00
TreeHugger Robot
763c085bee Merge "Winscope Initial Commit" 2017-12-20 00:48:17 +00:00
Vishnu Nair
46babab973 Winscope Initial Commit
Bug: 64831661
Test: none

Change-Id: I395f5b7d602101811f3450be96990447f145c2ab
2017-12-19 15:15:30 -08:00
Elliott Hughes
03137f4e96 Merge "Remove dead cruft." am: e9ba970f2d am: 9cfa0a80e1
am: d543c9c5ee

Change-Id: I70ebe9ea11e9c49138aa422685a99ddef4972ba9
2017-12-15 01:05:12 +00:00
Elliott Hughes
845a06bac4 Remove dead cruft.
These must have been added internal in the same release cycle that we
moved this to bootable/recovery in AOSP. They're there now.

Bug: N/A
Test: N/A
Change-Id: Id79a0e87e7cb6c03d01a0e3816a58838771411f2
2017-12-14 12:57:53 -08:00
Xin Li
b8d81aed6c Merge commit '514a23836bc263e729c89b4c1ec60912a7cb6765' from
oc-mr1-dev-plus-aosp-without-vendor into stage-aosp-master

Change-Id: I9c96b666efe553d2bc51fca5b9ca5d29c45be083
2017-11-14 11:47:59 -08:00
Chih-Hung Hsieh
f62f99c766 Merge "Use -Werror in development/tools/line_endings" am: f1ce8d402c am: e8c304609b
am: 1d6acda9de

Change-Id: I4060c75001e6d7418ba2b3c71a9e830681a0487b
2017-11-04 04:30:37 +00:00
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
859c3abdb9 Merge "Use -Werror in development/tools/etc1tool" am: 0fb565459f am: 77e8b704ef
am: 4e90055272

Change-Id: I550c7db43024ae74258f3bb7bea1ec67a8df04b7
2017-11-04 04:21:36 +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
64fb92956b Merge "Use -Werror in development" am: 14b2eeb009 am: cee88a6a9a
am: a38ca6bb58

Change-Id: I2ad9578e5185253478dd28c5b9e24ba539149036
2017-10-28 00:29:04 +00: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
97e10dc66f Merge "Convert development/tools to Android.bp" am: 5f3caed3a7 am: 6f3ae7994a
am: 08d7d58b5b

Change-Id: I7193770faed4c37be27e9629d70809059e608061
2017-10-27 00:23:43 +00: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
Fyodor Kupolov
f72358b9ff Handle deny-permission
Do not require to whitelist permissions that are already explicitly denied
using a new <deny-permission> tag

Bug: 64693550
Test: manual
Change-Id: Ic7a65f0f10bffa98b62d196dd6606ea74e40e911
2017-10-09 12:38:07 -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