Commit graph

13660 commits

Author SHA1 Message Date
Colin Cross
4f3124ee1c Merge "Port uses-shared library verification and dexpreopting to Soong" am: 7a1fefc2de
am: 38ec6cfbf4

Change-Id: Ib9bbb720605f418d242aba98df9d9904671c29e4
2019-05-30 15:04:09 -07:00
Colin Cross
38ec6cfbf4 Merge "Port uses-shared library verification and dexpreopting to Soong"
am: 7a1fefc2de

Change-Id: Iae5fec127304a7b06e111a2d054347111dba3fac
2019-05-30 15:00:08 -07:00
Treehugger Robot
7a1fefc2de Merge "Port uses-shared library verification and dexpreopting to Soong" 2019-05-30 21:50:31 +00:00
Sasha Smundak
9040ad7d49 Merge "Print full diagnostics file when Java process crashes." am: 7b1ca80579
am: 534d99369c

Change-Id: If3406f23f2f8048ed0872fd1b071fac31b138ec3
2019-05-30 14:43:10 -07:00
Sasha Smundak
534d99369c Merge "Print full diagnostics file when Java process crashes."
am: 7b1ca80579

Change-Id: Ib3208a98f4e6a966c892f3b596b8bd8a525b67d7
2019-05-30 14:36:08 -07:00
Treehugger Robot
7b1ca80579 Merge "Print full diagnostics file when Java process crashes." 2019-05-30 21:16:52 +00:00
Colin Cross
50ddcc4b69 Port uses-shared library verification and dexpreopting to Soong
Ports 09f3b97f4b488cd3a7b7d72038b173575b02c162 (Add support for
preopt with uses-libraries) from Make to Soong to support verifying
and preopting shared libraries.

This reapplies Id25f55f07a55120bebe2a9b32c094209efc85c8b with fixes
for unbundled builds and builds with ALLOW_MISSING_DEPENDENCIES=true
set.

Bug: 132357300
Test: app_test.go
Test: m checkbuild
Change-Id: I964309a68ec4ed081f3f3154879c71048ecb5455
2019-05-29 19:11:26 -07:00
Sasha Smundak
9d6df2246c Print full diagnostics file when Java process crashes.
Bug: 132766811
Test: treehugger
Change-Id: I8cca2486f2194a8643007a53e4a695d2a18abbf8
2019-05-29 17:46:22 -07:00
TreeHugger Robot
19ce59f598 Merge "Fix fuzzer builds [#2]." into qt-dev-plus-aosp 2019-05-30 00:40:43 +00:00
Colin Cross
11a19ed1cc Merge "Revert "Port uses-shared library verification and dexpreopting to Soong"" am: 7d06395f0c
am: cc50c0c4de

Change-Id: I4e12ee0f7d2dbb293e492c55f2eae66dc9638266
2019-05-29 13:55:14 -07:00
Colin Cross
cc50c0c4de Merge "Revert "Port uses-shared library verification and dexpreopting to Soong""
am: 7d06395f0c

Change-Id: Ieb207f98c88601f6857ed4ab996dfe850568975d
2019-05-29 13:47:12 -07:00
Colin Cross
7d06395f0c Merge "Revert "Port uses-shared library verification and dexpreopting to Soong"" 2019-05-29 20:34:10 +00:00
Colin Cross
c032498336 Revert "Port uses-shared library verification and dexpreopting to Soong"
This reverts commit b66d7b1c20.

Reason for revert: broke unbundled builds

Change-Id: I96ae287885107079de4a26e6b100ad8ed66961c0
2019-05-29 20:28:47 +00:00
Colin Cross
7cb1d9c5e2 Merge changes from topic "verify_uses_libraries" am: 2f4c55e9f7
am: 3c8e809052

Change-Id: I9bd1e0d745c605b3617576f9a6044527421fbfe4
2019-05-29 11:32:23 -07:00
Colin Cross
d4d02e8441 Move verify_uses_libraries.sh out of dexpreopt am: 38b968555c
am: 16eb45dfae

Change-Id: Icabf684b728f8b3f8d6032358d874dfd607867f2
2019-05-29 11:32:18 -07:00
Colin Cross
3c8e809052 Merge changes from topic "verify_uses_libraries"
am: 2f4c55e9f7

Change-Id: Id646d819bd33084f0f9f632cc5acd2106c05c234
2019-05-29 11:23:07 -07:00
Colin Cross
16eb45dfae Move verify_uses_libraries.sh out of dexpreopt
am: 38b968555c

Change-Id: I03c450b44d8b3e9d7293cd5d07e8b2506b7207be
2019-05-29 11:23:02 -07:00
Treehugger Robot
2f4c55e9f7 Merge changes from topic "verify_uses_libraries"
* changes:
  Port uses-shared library verification and dexpreopting to Soong
  Move verify_uses_libraries.sh out of dexpreopt
2019-05-29 18:09:01 +00:00
Colin Cross
397f6fd15a [automerger skipped] Don't build hiddenapi flags or encode dex for unbundled builds
am: 7b8a567f44 -s ours
am skip reason: change_id I0647451420fd09bb680808b35e1ad3b8f514ba46 with SHA1 9c74a1ee85 is in history

Change-Id: Iab5189a545669f278504411e2a73a0e2820a93b8
2019-05-29 10:06:00 -07:00
Martin Stjernholm
cc83276c90 Merge "Allow //visibility:public to override other visibility rules." am: 90e2eef512
am: 551438983b

Change-Id: I1f62a8d1c5ad91b4e2cc4bf4435e887132b96571
2019-05-29 09:07:49 -07:00
Martin Stjernholm
551438983b Merge "Allow //visibility:public to override other visibility rules."
am: 90e2eef512

Change-Id: I1f59deded1bc3d30cce88dd105460c3bf2c5064c
2019-05-29 08:58:06 -07:00
Martin Stjernholm
90e2eef512 Merge "Allow //visibility:public to override other visibility rules." 2019-05-29 15:46:34 +00:00
Colin Cross
7b8a567f44 Don't build hiddenapi flags or encode dex for unbundled builds
Builds with TARGET_BUILD_APPS shouldn't build the hiddenapi flags
or encode dex files even if frameworks/base exists.

Bug: 133343287
Test: mainline modules build
Change-Id: I0647451420fd09bb680808b35e1ad3b8f514ba46
Merged-In: I0647451420fd09bb680808b35e1ad3b8f514ba46
(cherry picked from commit 9c74a1ee85)
2019-05-29 08:38:53 -07:00
Tobias Thierer
76b62e1596 Merge "Support defaults properties in java_system_module" am: 4b06c20215
am: 9d4e40ea2d

Change-Id: Ib0c4bcfcaf527ff48f21a929deb9fc4666208a92
2019-05-29 04:26:33 -07:00
Tobias Thierer
9d4e40ea2d Merge "Support defaults properties in java_system_module"
am: 4b06c20215

Change-Id: I65b309705df745b5ea351f1a4af52e9675400f61
2019-05-29 04:21:31 -07:00
Tobias Thierer
4b06c20215 Merge "Support defaults properties in java_system_module" 2019-05-29 11:09:01 +00:00
Colin Cross
9b61c51463 Merge "Document escaping" am: 89574e0c40
am: 2d119ed870

Change-Id: Ibfd5a1935105334c3b042883a9c5a3cf10c710a4
2019-05-28 18:39:24 -07:00
Colin Cross
2d119ed870 Merge "Document escaping"
am: 89574e0c40

Change-Id: I5a86b42805964fe95e919a35e33ec7c8f9468d16
2019-05-28 18:34:27 -07:00
Dan Willemsen
e498ba6f9e Merge "Remove BUILD_BROKEN_ANDROIDMK_EXPORTS" am: 20272e1480
am: df12c1e44c

Change-Id: Id858c61f98ec3dfe075a682dab49fb1b102900ac
2019-05-28 18:30:26 -07:00
Colin Cross
979a72c484 Don't build hiddenapi flags or encode dex for unbundled builds am: 9c74a1ee85
am: 4bccc0801c

Change-Id: I392327c382162d537e4d0c577f48e2c8acfe14c0
2019-05-28 18:29:59 -07:00
Colin Cross
89574e0c40 Merge "Document escaping" 2019-05-29 01:28:02 +00:00
Dan Willemsen
df12c1e44c Merge "Remove BUILD_BROKEN_ANDROIDMK_EXPORTS"
am: 20272e1480

Change-Id: I38475ac01867e6c11c40f8526797ddf87968272f
2019-05-28 18:25:35 -07:00
Colin Cross
4bccc0801c Don't build hiddenapi flags or encode dex for unbundled builds
am: 9c74a1ee85

Change-Id: I80ff83a49c809b867acdc2765376da39b1bac70e
2019-05-28 18:25:06 -07:00
Treehugger Robot
20272e1480 Merge "Remove BUILD_BROKEN_ANDROIDMK_EXPORTS" 2019-05-29 01:17:01 +00:00
Mitch Phillips
5a6ea6cf3b Fix fuzzer builds [#2].
- Updates the fuzzer builds to use SANITIZE_TARGET='fuzzer' instead of
'coverage'.
- Removed an old dependency that made fuzzer builds without ASan
an error.
- Fixed up the build flags to allow fuzzers to be built. Previously, the
coverage flags were manually provided. As the toolchain has moved on,
these flags are no longer compatible with libFuzzer, and so I've updated
them to use the correct, compatible flags.
- Added a dependency mutator for fuzzer coverage.

Bug: 121042685
Test: With all patches in the bug merged, build a fuzzer using
'SANITIZE_TARGET=fuzzer mmma <your_fuzzer>'.

This is the qt-dev-plus-aosp cherrypick of aosp/954925. See the AOSP
commit for further information.

Change-Id: Ib6246980f77bc4babe587b1e88038aa12228fa83
2019-05-28 15:46:11 -07:00
Colin Cross
9c74a1ee85 Don't build hiddenapi flags or encode dex for unbundled builds
Builds with TARGET_BUILD_APPS shouldn't build the hiddenapi flags
or encode dex files even if frameworks/base exists.

Bug: 133343287
Test: mainline modules build
Change-Id: I0647451420fd09bb680808b35e1ad3b8f514ba46
2019-05-28 21:48:54 +00:00
Colin Cross
667ffa192f Support defaults properties in java_system_module
Test: none
Change-Id: I08e5c39690b3c9960dc5e99c4b866a2523c9eafb
2019-05-28 20:36:46 +00:00
Colin Cross
b66d7b1c20 Port uses-shared library verification and dexpreopting to Soong
Ports 09f3b97f4b488cd3a7b7d72038b173575b02c162 (Add support for
preopt with uses-libraries) from Make to Soong to support verifying
and preopting shared libraries.

Bug: 132357300
Test: app_test.go
Test: m checkbuild
Change-Id: Id25f55f07a55120bebe2a9b32c094209efc85c8b
2019-05-28 11:20:09 -07:00
Colin Cross
38b968555c Move verify_uses_libraries.sh out of dexpreopt
Verifying the <uses-library> tags in the manifest does not need
to be part of dexpreopt, move it out to a separate rule.

Bug: 132357300
Test: m checkbuild
Change-Id: I9d37872953b46f37ae77804819dc4eb8e2da0657
2019-05-28 11:18:51 -07:00
Colin Cross
e4a0584f60 Document escaping
Document that strings can contain double quotes escaped as \", and
the droiddoc args argument can contain a dollar signe escaped as $$.

Test: none
Change-Id: I91d3fa73f484094c9ce8cbecc93189850856de84
2019-05-28 10:19:31 -07:00
Colin Cross
67999a12d5 Merge changes If15abf79,Iaae177ef am: ff3f43857f
am: 45cc967424

Change-Id: I4b322e79f5177131cd35ae7b943a008fa26c95e2
2019-05-28 09:58:26 -07:00
Colin Cross
45cc967424 Merge changes If15abf79,Iaae177ef
am: ff3f43857f

Change-Id: If60d55c420d53f976881b92c48f18e440c27b4ca
2019-05-28 09:48:29 -07:00
Colin Cross
ff3f43857f Merge changes If15abf79,Iaae177ef
* changes:
  Add manifest_check tool
  Move manifest_fixer to a python_binary_host module
2019-05-28 16:26:05 +00:00
Dan Willemsen
dfa19644fe [automerger skipped] Remove BUILD_BROKEN_ENG_DEBUG_TAGS am: 7101d44442
am: c841d02e28 -s ours
am skip reason: change_id I35e55f3ce79c8e68585be120b5dec810563c7a83 with SHA1 faeec505a9 is in history

Change-Id: Ifa64ca2fc7b21eb7a3043de9ae7437d54f0d8aee
2019-05-28 08:27:23 -07:00
Dan Willemsen
c841d02e28 Remove BUILD_BROKEN_ENG_DEBUG_TAGS
am: 7101d44442

Change-Id: I336abaf4eb958d3ce77f8a199f85e3643a76e7b0
2019-05-28 08:22:22 -07:00
Dan Willemsen
edff034366 Remove BUILD_BROKEN_ANDROIDMK_EXPORTS
Bug: 73959648
Test: treehugger
Change-Id: I932cc3acc6345f8b1ad8e395235489ae8275e2db
2019-05-25 17:13:55 -07:00
Dan Willemsen
7101d44442 Remove BUILD_BROKEN_ENG_DEBUG_TAGS
All users have been removed.

Test: treehugger
Change-Id: I35e55f3ce79c8e68585be120b5dec810563c7a83
Merged-In: I35e55f3ce79c8e68585be120b5dec810563c7a83
2019-05-25 22:48:12 +00:00
TreeHugger Robot
532b9cd451 Merge "Remove BUILD_BROKEN_ENG_DEBUG_TAGS" into qt-dev-plus-aosp 2019-05-25 04:49:35 +00:00
Amin Shaikh
105b33f237 Merge "Make soong lock file sync time configurable.." am: a7a70d5ae6
am: 142327d719

Change-Id: Ia2ed62820a45de197ba542a0e31dba24b484db91
2019-05-24 20:07:07 -07:00
Jooyung Han
519f9f337e Merge "exports LOCAL_SOONG_VNDK_VERSION for VNDK libs" am: 75fcf98038
am: e1d405b385

Change-Id: Ib30ccf47efd65401e2f59d2d18c94c6599674782
2019-05-24 20:05:45 -07:00