Colin Cross
389e7d2748
Fix ordering of overlays am: 68a7023436
am: 88f36bb683
...
am: 1dc0a2a9e1
Change-Id: I65c7a071fa3e1062dc290e0333a466f15e9b8697
2018-01-05 03:14:09 +00:00
Colin Cross
1dc0a2a9e1
Fix ordering of overlays am: 68a7023436
...
am: 88f36bb683
Change-Id: I0624954229542718f06fa206d51d94e881495ec4
2018-01-05 03:11:07 +00:00
Colin Cross
88f36bb683
Fix ordering of overlays
...
am: 68a7023436
Change-Id: I39cc6eb00b4a9d9607ad689472de96ae8273bbbb
2018-01-05 03:09:05 +00:00
Colin Cross
2af261143b
Add EMMA_INSTRUMENT_STATIC support am: 3144dfc966
am: b88d9eedb4
...
am: 2750279190
Change-Id: Icf183f74a7e542266a957ae8e7f2b1c43a24651e
2018-01-04 23:16:49 +00:00
Colin Cross
2750279190
Add EMMA_INSTRUMENT_STATIC support am: 3144dfc966
...
am: b88d9eedb4
Change-Id: Ib21f2bbf8c673d4bb1ed70572150ad8d26e2ad94
2018-01-04 23:13:16 +00:00
Colin Cross
b88d9eedb4
Add EMMA_INSTRUMENT_STATIC support
...
am: 3144dfc966
Change-Id: I582b450f357c65d5610fb4c877bf56563cc8cae5
2018-01-04 23:09:14 +00:00
Colin Cross
68a7023436
Fix ordering of overlays
...
Device overlays are passed to Soong in highest priority to lowest
priority order, but aapt2 keeps the last value provided on the
command line. Reverse the order that overlayGlobResults are
collected.
Bug: 71595164
Test: app_test.go
Change-Id: Ibc6b8297f1548766c5c92f3be969b89736dc8dff
2018-01-04 14:52:45 -08:00
Colin Cross
3144dfc966
Add EMMA_INSTRUMENT_STATIC support
...
Add jacocoagent when instrumenting with EMMA_INSTRUMENT_STATIC.
Test: m EMMA_INSTRUMENT=true EMMA_INSTRUMENT_STATIC=true
Change-Id: I451bb9d16b7f0a66fd06c2da576062b28830e470
2018-01-04 14:52:45 -08:00
Colin Cross
065413bd0f
Merge "Fix crash on test failure" am: e7fa3b1b74
am: 9ef9ffb0d0
...
am: 69778fb867
Change-Id: I8f083ebe40773f6ee93dabd8b98c3a689c44bc80
2018-01-04 20:49:54 +00:00
Colin Cross
69778fb867
Merge "Fix crash on test failure" am: e7fa3b1b74
...
am: 9ef9ffb0d0
Change-Id: I259567247b249ed8bb0c0d6cde6e6ed8a837ffd9
2018-01-04 20:45:54 +00:00
Colin Cross
9ef9ffb0d0
Merge "Fix crash on test failure"
...
am: e7fa3b1b74
Change-Id: I7dfa51b4d937070aaaa4ccda44c794dd726fe9c0
2018-01-04 20:41:53 +00:00
Treehugger Robot
e7fa3b1b74
Merge "Fix crash on test failure"
2018-01-04 20:35:38 +00:00
Alan Leung
8588809ae2
Make D8 Desugaring default. am: e2fb6294e9
am: a7fc3b6e83
...
am: 3162a65ce8
Change-Id: Idf31f69ad1c53e6e85f6b0a5c0e6ef869bde597d
2018-01-04 19:52:26 +00:00
Alan Leung
3162a65ce8
Make D8 Desugaring default. am: e2fb6294e9
...
am: a7fc3b6e83
Change-Id: Ib0adcda914fae88aadb80bce9fed2f0c505e53e2
2018-01-04 19:48:14 +00:00
Alan Leung
a7fc3b6e83
Make D8 Desugaring default.
...
am: e2fb6294e9
Change-Id: Ie918214ecc74185548a500df7cc7b4a55253e41d
2018-01-04 19:44:06 +00:00
Alan Leung
e2fb6294e9
Make D8 Desugaring default.
...
Bug: 69329508
Test: m checkbuild
Change-Id: Ie74c2b27764aa5f2d60a0d33141735808bbc6d48
2018-01-04 11:36:27 -08:00
Chih-hung Hsieh
fa3fbbb58a
Merge "Call clang-tidy with -fno-caret-diagnostics by default." am: 0d9868c9af
am: dc15e3487e
...
am: 858b306a2b
Change-Id: I03a39346da388405b407f86b6eba0eb397e0a01b
2018-01-04 19:17:05 +00:00
Chih-hung Hsieh
858b306a2b
Merge "Call clang-tidy with -fno-caret-diagnostics by default." am: 0d9868c9af
...
am: dc15e3487e
Change-Id: I4846d6b39f4b4751ad827606eb85670a6dd9ab44
2018-01-04 19:13:34 +00:00
Chih-hung Hsieh
dc15e3487e
Merge "Call clang-tidy with -fno-caret-diagnostics by default."
...
am: 0d9868c9af
Change-Id: I76a6fa4cbe08c9a63a43a61d81d541eb5cde4665
2018-01-04 19:10:03 +00:00
Chih-hung Hsieh
0d9868c9af
Merge "Call clang-tidy with -fno-caret-diagnostics by default."
2018-01-04 19:05:16 +00:00
Tobias Thierer
48b09c3583
Merge "Build with OpenJDK 9 -target 1.8 by default (attempt 4)." am: 04ddd45f4a
am: dd037898a4
...
am: d3992a4d10
-s ours
Change-Id: Ife1bef35b9f73b77ab39b079a38a164cf90c6450
2018-01-04 11:32:39 +00:00
Tobias Thierer
d3992a4d10
Merge "Build with OpenJDK 9 -target 1.8 by default (attempt 4)." am: 04ddd45f4a
...
am: dd037898a4
Change-Id: Ia1b17e4c125112d665cc83805a91de6c0667541b
2018-01-04 11:29:04 +00:00
Tobias Thierer
dd037898a4
Merge "Build with OpenJDK 9 -target 1.8 by default (attempt 4)."
...
am: 04ddd45f4a
Change-Id: Ia53d9644db1b9e528ab1321e02d955b2a4a1044f
2018-01-04 11:25:03 +00:00
Tobias Thierer
04ddd45f4a
Merge "Build with OpenJDK 9 -target 1.8 by default (attempt 4)."
2018-01-04 11:18:11 +00:00
Tobias Thierer
18099fd856
Build with OpenJDK 9 -target 1.8 by default (attempt 4).
...
This is cherry-picked from attempt 3, which was reverted
due to http://b/70862583 .
Before this CL topic, the build toolchain for .java source files
used OpenJDK 8, targeting 1.8 (v52 class files) by default.
This CL topic switches the default to OpenJDK 9, but still
targeting 1.8 (v52 class files) by default. If USE_ERROR_PRONE
is set to true, then the default remains OpenJDK 8.
Code in the Android platform should generally be unaffected,
but if host tools that are now compiled and run using
OpenJDK 9 are causing problems for your team, then let me
know.
To manually switch back to the old behavior for now (continue
using OpenJDK 8), run this command in your shell:
export EXPERIMENTAL_USE_OPENJDK9=false
Bug: 69449021
Test: Treehugger
Test: art/test/testrunner/run_build_test_target.py -j40 art-interpreter
Test: dalvik/dx/tests/run-all-tests
(cherry picked from commit 13f23a2753
)
Change-Id: I57abae73f9bdb21ef004a5118ff0e4ef70418ed9
Merged-in: Iac78122f58df0ebbb55134d55021ce6c57351b5f
2018-01-04 11:07:38 +00:00
Chih-Hung Hsieh
669cb9150e
Call clang-tidy with -fno-caret-diagnostics by default.
...
* clang -fno-caret-diagnostics
suppresses warning source lines, carets, and
the stats line of "n warnings generated"
* clang-tidy -extra-arg-before=-fno-caret-diagnotics
only suppresses the "n warnings generated" line.
* Pass this flag and -quiet to clang-tidy when
WITH_TIDY is not 1 or true.
Bug: 69051430
Test: normal build and build with WITH_TIDY=1
Change-Id: I34e34cddc0e7329e73b5f04da4b1458dabfcd4c8
2018-01-04 01:41:16 -08:00
Colin Cross
327288f9de
Merge "Fix jacoco_cli invocation" am: 41b97b3001
am: ce010f07f2
...
am: 18209122c5
Change-Id: I4057f16ccaeda459b155a14192cf16735badfcd8
2018-01-04 08:02:43 +00:00
Colin Cross
18209122c5
Merge "Fix jacoco_cli invocation" am: 41b97b3001
...
am: ce010f07f2
Change-Id: Iba8f8f43339f511252611fd728209d8a2b9f9df9
2018-01-04 07:59:16 +00:00
Colin Cross
ce010f07f2
Merge "Fix jacoco_cli invocation"
...
am: 41b97b3001
Change-Id: I1f7c74aecadedd6f2cad89ba6ac5667d664041d2
2018-01-04 07:55:43 +00:00
Treehugger Robot
41b97b3001
Merge "Fix jacoco_cli invocation"
2018-01-04 07:49:52 +00:00
Jae Shin
1146c6cdfa
Add target_arch to vndk prebuilt module name am: 43ef264b3a
am: 36ea7e5a99
...
am: 0f31dbb82e
Change-Id: I8b38494e66a1501a19ce034d901cf44c711b774a
2018-01-04 02:26:52 +00:00
Jae Shin
0f31dbb82e
Add target_arch to vndk prebuilt module name am: 43ef264b3a
...
am: 36ea7e5a99
Change-Id: I284a3d3bfaf746bc0ac5bb93deb394c4ab27225f
2018-01-04 02:16:19 +00:00
Jae Shin
36ea7e5a99
Add target_arch to vndk prebuilt module name
...
am: 43ef264b3a
Change-Id: I9a49f09385e533d6613184b2f55bfd04e52e0cd3
2018-01-04 02:09:46 +00:00
Jae Shin
43ef264b3a
Add target_arch to vndk prebuilt module name
...
To distinguish libfoo.vndk.$VER prebuilts of various
vndk_v$VER_$ARCH phony package modules, append $ARCH to the
LOCAL_MODULE name for VNDK prebuilts.
e.g. libfoo.vndk.$VER becomes libfoo.vndk.$VER.$ARCH
Test: m -j PRODUCT_EXTRA_VNDK_VERSIONS=27
Bug: 71370248
Change-Id: I3e9ebd929111ceb48e362c500adfb4b7a94444e8
2018-01-04 11:02:39 +09:00
Colin Cross
06de222514
Add R8 support am: 66dbc0bc32
am: aedcfc98d3
...
am: b97b4cb961
Change-Id: I990a4d094e97ba99cc46700a95b897afac88ffe9
2018-01-04 00:27:29 +00:00
Colin Cross
b97b4cb961
Add R8 support am: 66dbc0bc32
...
am: aedcfc98d3
Change-Id: I2df60de04b75671743eb582572740117a99f9106
2018-01-04 00:20:47 +00:00
Colin Cross
aedcfc98d3
Add R8 support
...
am: 66dbc0bc32
Change-Id: I75ea64dbeea6395597483998414b719d2cc8d6ad
2018-01-04 00:17:18 +00:00
Colin Cross
95d33fe631
Fix crash on test failure
...
Don't check objs[0] and objs[1] if len(objs) != 2.
Test: cc_test.go
Change-Id: I2ba459a683764691ebf28db3944d7a1e9088eb76
2018-01-03 16:03:06 -08:00
Colin Cross
84c3882e64
Fix jacoco_cli invocation
...
jacoco_cli --dest takes a directory, not a jar name, and assumes
an output file with the same name as the input jar in that
directory. Rename jacoco-report-classes.jar to
jacoco-report-classes/modulename.jar, and generate to
jacoco/tmp/modulename.jar before combining to the final output file
at jacoco/modulename.jar.
Bug: 69669951
Test: m EMMA_INSTRUMENT=true
Change-Id: Ia7dd881d2819ae09dfb60a00b4c1b8396629cd9a
2018-01-03 16:02:47 -08:00
Colin Cross
66dbc0bc32
Add R8 support
...
Add support for R8 to optimize apps and java libraries.
Test: m checkbuild
Change-Id: I2afd5d7a84912d3ab613c32c599bd1ebe60562e0
2018-01-03 14:15:57 -08:00
Colin Cross
2d00f9ac32
Merge "Refactor dexing" am: 10d9930c06
am: a5c0b08f75
...
am: 4b4a8efd5c
Change-Id: I923806b7efcd62ae84b4d015395e7c6bb9490473
2018-01-03 22:14:04 +00:00
Colin Cross
4b4a8efd5c
Merge "Refactor dexing" am: 10d9930c06
...
am: a5c0b08f75
Change-Id: If74a8563efc6550a9e4298454abb8d41909121aa
2018-01-03 22:10:25 +00:00
Colin Cross
a5c0b08f75
Merge "Refactor dexing"
...
am: 10d9930c06
Change-Id: I8266e047520784b8b84fe0eafe5565b3c9749495
2018-01-03 22:06:17 +00:00
Colin Cross
10d9930c06
Merge "Refactor dexing"
2018-01-03 21:59:09 +00:00
Colin Cross
4a9861dd1e
Merge "Move jacoco before desugar" am: a5fcf862ce
am: 550a5f6de5
...
am: 239bbedf8e
Change-Id: I985cf2c64ee752b0797b97e0980de498e4f75315
2018-01-03 21:07:36 +00:00
Colin Cross
239bbedf8e
Merge "Move jacoco before desugar" am: a5fcf862ce
...
am: 550a5f6de5
Change-Id: I8ec088e92fc8247cf3bc33e4c876405ee1864db5
2018-01-03 21:01:15 +00:00
Colin Cross
550a5f6de5
Merge "Move jacoco before desugar"
...
am: a5fcf862ce
Change-Id: Iad33ae53ed433a21c002e1090d04707e336a18dc
2018-01-03 20:57:09 +00:00
Colin Cross
a5fcf862ce
Merge "Move jacoco before desugar"
2018-01-03 20:50:50 +00:00
Colin Cross
3b0badf0fe
Merge "Update jacoco command line flags for latest version" am: 82d1aee779
am: 5ba8a37e54
...
am: 3daf7a1e09
Change-Id: Ic6f82f681d9c301d6dcce50f8e40baa5d4fb60c9
2018-01-03 20:36:19 +00:00
Colin Cross
3daf7a1e09
Merge "Update jacoco command line flags for latest version" am: 82d1aee779
...
am: 5ba8a37e54
Change-Id: If15079e8632dc85a3107e463ad2e50e0a0428c08
2018-01-03 20:12:03 +00:00