Commit Graph

11531 Commits

Author SHA1 Message Date
Dan Willemsen 950266effc link_type check: Support modules installed into /data am: 3594cee467 am: 16448d0b27 am: 3888162616
am: d3a6a04324

Change-Id: I07635c6d3aa4252dbdc6b2dd05cb58aa0a2f0ca3
2016-09-23 04:43:41 +00:00
Dan Willemsen d3a6a04324 link_type check: Support modules installed into /data am: 3594cee467 am: 16448d0b27
am: 3888162616

Change-Id: I9ed0dd964a51d4b2c5be4ccff2e7191160a73644
2016-09-23 04:38:41 +00:00
Dan Willemsen 3888162616 link_type check: Support modules installed into /data am: 3594cee467
am: 16448d0b27

Change-Id: If1fc6d6d584dd5b58b2a8b84ad7e819d4d6d127b
2016-09-23 04:37:11 +00:00
Dan Willemsen 16448d0b27 link_type check: Support modules installed into /data
am: 3594cee467

Change-Id: I3735c05d317aa5c125471c7e91124cd45ebe4a98
2016-09-23 04:35:13 +00:00
Dan Willemsen 9f98f14ee9 Merge "Pass userdebug/eng variant to Soong" am: 19f24492db am: 7ebc69e881 am: 2ffe3d83fe
am: f786cd465f

Change-Id: Ib6d4d8c03b8e6f4774ce79721589485dd95cdb64
2016-09-23 01:24:13 +00:00
Dan Willemsen f786cd465f Merge "Pass userdebug/eng variant to Soong" am: 19f24492db am: 7ebc69e881
am: 2ffe3d83fe

Change-Id: I244dccec37fc00e5f1a3473de332dfeb0e4d8758
2016-09-23 00:25:14 +00:00
Dan Willemsen 2ffe3d83fe Merge "Pass userdebug/eng variant to Soong" am: 19f24492db
am: 7ebc69e881

Change-Id: Ib3524a0f7e8634164ab77a10873f0e3afb4e47f1
2016-09-23 00:23:17 +00:00
Treehugger Robot 19f24492db Merge "Pass userdebug/eng variant to Soong" 2016-09-23 00:16:52 +00:00
Yohann Roussel 05485ef265 Fix bad JACK_PLUGIN variable am: 16243bdbec am: fa887390aa am: cbe1913c78
am: d52aacb821

Change-Id: I79d8299d4a4b81567a3f4d3b564bbb8813571bbd
2016-09-23 00:09:17 +00:00
Yohann Roussel 646f2121be Add support for Jack plugin am: 53b7fbbe78 am: be50693fc1 am: 62e67d1bff
am: cf65679d9e

Change-Id: I341b3b1708589999bba3bb3d5c49a37f5747dcd0
2016-09-23 00:09:08 +00:00
Dan Willemsen f2649570c5 Pass userdebug/eng variant to Soong
Test: Run build with eng/userdebug/user and check the soong.variables
Change-Id: I7cd71a94e92526b6cc61303b13b7bc593cbbfc3a
2016-09-22 15:22:48 -07:00
Yohann Roussel d52aacb821 Fix bad JACK_PLUGIN variable am: 16243bdbec am: fa887390aa
am: cbe1913c78

Change-Id: I38a75ae28b9994832b5cfcfb053c67cd49ed834c
2016-09-22 22:14:47 +00:00
Yohann Roussel cf65679d9e Add support for Jack plugin am: 53b7fbbe78 am: be50693fc1
am: 62e67d1bff

Change-Id: I7cf2db9ccd9bfe03ec1394340b2683b014e7dde5
2016-09-22 22:14:39 +00:00
Dan Willemsen 3594cee467 link_type check: Support modules installed into /data
Test: compare build.ninja before/after, look at warnings.html
Change-Id: I1b78748dd80b73d2601b2adf0aaac8a6b2b350d5
2016-09-22 13:05:02 -07:00
Yohann Roussel cbe1913c78 Fix bad JACK_PLUGIN variable am: 16243bdbec
am: fa887390aa

Change-Id: I50ffe581aa848fd1b1fe3109eacd19dce4049632
2016-09-22 11:46:09 +00:00
Yohann Roussel 62e67d1bff Add support for Jack plugin am: 53b7fbbe78
am: be50693fc1

Change-Id: I67172f4e42cca74f793426912cc8b0ff036bf47c
2016-09-22 11:46:01 +00:00
Yohann Roussel fa887390aa Fix bad JACK_PLUGIN variable
am: 16243bdbec

Change-Id: Ic0c8dfc081ce1bc0a267474bf1ce7d3ca3dfbb03
2016-09-22 09:41:30 +00:00
Yohann Roussel be50693fc1 Add support for Jack plugin
am: 53b7fbbe78

Change-Id: Idec54986c0afe10973c464c6edb533321441eea7
2016-09-22 09:41:22 +00:00
Benoit Lamarche 52eafee87a Merge changes from topic 'jack-d-b3-as-stable'
* changes:
  Fix bad JACK_PLUGIN variable
  Add support for Jack plugin
2016-09-22 09:34:27 +00:00
Paul Duffin c63fe7db69 Merge "Add support for LOCAL_ERROR_PRONE_FLAGS" 2016-09-22 08:18:47 +00:00
Keun Soo Yim 949c422dd3 Merge "support vts compile mode flag" 2016-09-22 03:08:43 +00:00
Dan Willemsen a8aabe51af Merge "Package up proguard jack_dictionary" am: f7d1a6d75f am: e875b39791 am: f56a3b2513
am: a8780902b2

Change-Id: Ic238229c80441116db4f93d6d83db2895f2662f0
2016-09-21 20:17:42 +00:00
Dan Willemsen a8780902b2 Merge "Package up proguard jack_dictionary" am: f7d1a6d75f am: e875b39791
am: f56a3b2513

Change-Id: Ide4c2d7d17adabdc8375f14d3676f1d6b8e455f4
2016-09-21 19:53:20 +00:00
Dan Willemsen f56a3b2513 Merge "Package up proguard jack_dictionary" am: f7d1a6d75f
am: e875b39791

Change-Id: Ibe68192917534f603872e698131534e55973edae
2016-09-21 19:50:50 +00:00
Dan Willemsen f7d1a6d75f Merge "Package up proguard jack_dictionary" 2016-09-21 19:39:47 +00:00
Adam Seaton 3a45e9471b Updating security string to 2016-11-05 on nyc-dev am: 002132648d am: 8f911960cf
am: 55ed6ce833

Change-Id: I824289a7d48c363b6b9e0a283fdf4a3f5b24d4a5
2016-09-21 18:29:14 +00:00
Adam Seaton 87e7760a3f Updating Security String to 2016-11-01 on nyc-dev am: 2a00b24144 am: f305906a95
am: 0f775c7435

Change-Id: I14e4ebf06b27877fb923238b3d4e1e8c36a73022
2016-09-21 18:29:01 +00:00
Adam Seaton 55ed6ce833 Updating security string to 2016-11-05 on nyc-dev am: 002132648d
am: 8f911960cf

Change-Id: Id8d5c8a3351d87873336a5b14e6634d335af0e9f
2016-09-21 17:57:09 +00:00
Adam Seaton 0f775c7435 Updating Security String to 2016-11-01 on nyc-dev am: 2a00b24144
am: f305906a95

Change-Id: I8a2a223d759402a2d198e34a2f215fa00ab86511
2016-09-21 17:56:58 +00:00
Adam Seaton 8f911960cf Updating security string to 2016-11-05 on nyc-dev
am: 002132648d

Change-Id: I00ffcb925f579ad2e404dafeaa2d85cf76e021f3
2016-09-21 17:55:18 +00:00
Adam Seaton f305906a95 Updating Security String to 2016-11-01 on nyc-dev
am: 2a00b24144

Change-Id: I19a783b2e608de9b3be07f442a9762336f2105c1
2016-09-21 17:51:40 +00:00
Paul Duffin 3ca9298d99 Add support for LOCAL_ERROR_PRONE_FLAGS
This will allow individual modules to enable error prone checks
as needed so that the change to treat an error prone check as a
compiler error can be done atomically with the changes to fix
the issues that check reveals.

Tested with the following steps, cleaning up the targets in
between to ensure that it was rebuilt everytime.

Set LOCAL_ERROR_PRONE_FLAGS := -Xep:ClassCanBeStatic:WARN
compiler error in junit-params-test target. Built
javac-check-junit-params-test with RUN_ERROR_PRONE=true to make
sure that compilation failed.

Built the javac-check-junit-params-test without RUN_ERROR_PRONE
set to make sure that the flag is not included unless explicitly
requested.

Built the junit-params-test as normal to make sure it still
worked properly.

Bug: 31507496
Test: See above
Change-Id: I88b5800dacd0e30dd9dcfa5f42e89d1428957365
2016-09-21 13:39:44 +01:00
Yohann Roussel 16243bdbec Fix bad JACK_PLUGIN variable
Changed to LOCAL_JACK_PLUGIN.

(cherry picked from commit 17924b136cb5bfc60d138e8c7e5c18a90b5965c3)

Test: Manually tested by some manual activations of the coverage plugin.
Change-Id: I1be4aaa502103fc308d35a5672dc4fe5900c4ebe
2016-09-21 10:54:42 +02:00
Yohann Roussel 53b7fbbe78 Add support for Jack plugin
And ensure compatibility with coverage plugin.

(cherry picked from commit 862bb84d37e3e6ca61080de58f206e512e09d4e0)

Bug: 28876950
Test: Manually tested by some manual activations of the coverage plugin.
Change-Id: I804558a501825357bf0812de626d2957eedbdc13
2016-09-21 10:53:45 +02:00
Colin Cross b6e788ff89 Merge "Replace usages of my_register_name with my_all_targets" am: 077d9d5fe7 am: e373117cac am: 1f351ad75c
am: fba6042e11

Change-Id: Id807306cce8447e7170e9c344ce07eb6e03fda52
2016-09-21 02:56:39 +00:00
Colin Cross fba6042e11 Merge "Replace usages of my_register_name with my_all_targets" am: 077d9d5fe7 am: e373117cac
am: 1f351ad75c

Change-Id: Ie0b935e6209a941cfe992276270b5b5b3e5c4f95
2016-09-21 02:28:59 +00:00
Colin Cross 1f351ad75c Merge "Replace usages of my_register_name with my_all_targets" am: 077d9d5fe7
am: e373117cac

Change-Id: I4636a410ec035c21fc20c04f47cada7b08c31b8e
2016-09-21 02:09:54 +00:00
Colin Cross 3388670e78 Replace usages of my_register_name with my_all_targets
A few module types add extra dependencies on $(my_register_name), move
them to $(my_all_targets) so that they are built for mm and mma too.

Bug: 31526036
Test: mmm framework
Change-Id: I2e594ce771451a99691739b963f4ce517e9dd595
2016-09-20 16:03:50 -07:00
Adam Seaton 002132648d Updating security string to 2016-11-05 on nyc-dev
b/31618336

Change-Id: I1489eaf64c59dc0f175eb9220a900c68e262b3dd
2016-09-20 15:48:41 -07:00
Adam Seaton 2a00b24144 Updating Security String to 2016-11-01 on nyc-dev
b/31618336

Change-Id: I8ee8f978fbbf30efb1abca85cf374fc440a1baf7
2016-09-20 15:47:16 -07:00
Dan Willemsen b6c061e9ff Package up proguard jack_dictionary
Bug: 31182185
Test: m dist in an unbundled branch
Change-Id: I7ee1ba076cfa03f294f8231f6bdd8fa8df5557af
2016-09-20 14:21:53 -07:00
Paul Duffin a7e7eb5ecd Merge "Add targets for building individual modules using javac" am: cb6f7c2d86 am: da3fdebc1d am: d8d5065b50
am: d1711efb72

Change-Id: I8c50a2168c0b2990a621b6729a89303fedaefca8
2016-09-20 12:14:20 +00:00
Paul Duffin d1711efb72 Merge "Add targets for building individual modules using javac" am: cb6f7c2d86 am: da3fdebc1d
am: d8d5065b50

Change-Id: Ie5364d8135f2e1523b52069a5bcc28be144dfe37
2016-09-20 12:03:18 +00:00
Paul Duffin d8d5065b50 Merge "Add targets for building individual modules using javac" am: cb6f7c2d86
am: da3fdebc1d

Change-Id: Iff02ac85b5e197135a9729e725a55cb5715cc2a8
2016-09-20 11:59:48 +00:00
Paul Duffin cb6f7c2d86 Merge "Add targets for building individual modules using javac" 2016-09-20 11:51:40 +00:00
Dan Willemsen 98b277b930 Merge "Fix link_type checking" am: 665cda08f0 am: 1347d959de am: 8459bbca6f
am: 83aba3a7ab

Change-Id: I0cca5c1e262c8a8d92858ed5c927e4775c2e3a6e
2016-09-20 03:29:59 +00:00
Dan Willemsen 83aba3a7ab Merge "Fix link_type checking" am: 665cda08f0 am: 1347d959de
am: 8459bbca6f

Change-Id: I22da0f1703995c4734a72901abe2dbcee62c1406
2016-09-20 01:01:38 +00:00
Dan Willemsen 8459bbca6f Merge "Fix link_type checking" am: 665cda08f0
am: 1347d959de

Change-Id: Ia7ba9accbfa4c7de8843d5554a62524500509d5b
2016-09-19 23:21:16 +00:00
Dan Willemsen 665cda08f0 Merge "Fix link_type checking" 2016-09-19 21:54:09 +00:00
Paul Duffin 32bd0adf9c Add targets for building individual modules using javac
This is needed in order to be able to run error prone (which is
a plugin replacement for javac) on a subset of the java code.

Bug: 31507496
Test: Build javac-check-core-tests and check the resulting JAR
Change-Id: I5a556920572fcdad7b39d67e3f00fe0e0f1f8f46
2016-09-19 13:38:51 +01:00