Commit Graph

17729 Commits

Author SHA1 Message Date
Mitch Phillips
ea4aefd269 Merge "'m fuzz' shared lib package should be per-fuzzer." am: 38dec1bcb5 am: fd869a69c7
am: 6796abbe9a

Change-Id: I2e2447898467f7101271449268bb0783ace96741
2019-11-12 14:30:23 -08:00
Mitch Phillips
6796abbe9a Merge "'m fuzz' shared lib package should be per-fuzzer." am: 38dec1bcb5
am: fd869a69c7

Change-Id: I83a03398912ee48449df0d0a0728161606c5fb4c
2019-11-12 14:25:53 -08:00
Mitch Phillips
fd869a69c7 Merge "'m fuzz' shared lib package should be per-fuzzer."
am: 38dec1bcb5

Change-Id: I610894e607a7146af4550dbdf9ca858e184f5046
2019-11-12 14:21:15 -08:00
Treehugger Robot
38dec1bcb5 Merge "'m fuzz' shared lib package should be per-fuzzer." 2019-11-12 22:13:36 +00:00
Mitch Phillips
13ed3f5e34 'm fuzz' shared lib package should be per-fuzzer.
Change the ClusterFuzz package built by 'make fuzz' to now package
shared libraries per-fuzz target.

Changes documented in go/proposed-clusterfuzz-package

This has the impact of:
 - This package is much easier to post-process in the Haiku export
 cronjob.
 - Shared libraries are now per-fuzz-target. This means that we will
 have some level of duplication (libdl, libc, libc++, libclang_rt.*,
 etc.) as these libraries will be in multiple fuzz target's dirs.

This *only* affects the fuzz-$target-$arch.zip file, not the fuzz targets in
$ANDROID_HOST_OUT/fuzz or $ANDROID_PRODUCT_OUT/data/fuzz. These two
install directories still use the global shared libraries in order to
preserve space on devices.

Bug: 144360679
Test: m fuzz
Change-Id: I5f19a13070e01d2d39598f9f215a983b398a9f37
2019-11-12 11:12:10 -08:00
Nick Desaulniers
59ccc23e26 Merge "Expand ClangExtraExternalCflags to non-Google vendor projects" am: 69c013694d am: ebc13b056c
am: 5d53e272f4

Change-Id: I0de8fe352e6c24fde0950e915d84469d5af59f8c
2019-11-12 10:22:10 -08:00
Nick Desaulniers
5d53e272f4 Merge "Expand ClangExtraExternalCflags to non-Google vendor projects" am: 69c013694d
am: ebc13b056c

Change-Id: Ie715b4ca1e061228a8c1617f0547c1744c90eb8e
2019-11-12 10:18:39 -08:00
Nick Desaulniers
ebc13b056c Merge "Expand ClangExtraExternalCflags to non-Google vendor projects"
am: 69c013694d

Change-Id: I0357eceee54272fac3ab546d8eef0a52edbd0228
2019-11-12 10:13:44 -08:00
Nick Desaulniers
69c013694d Merge "Expand ClangExtraExternalCflags to non-Google vendor projects" 2019-11-12 17:45:15 +00:00
Colin Cross
12addd59e0 Merge "Move partner androidmk and bpfix files to match their package path" am: 650e8552a6 am: 687801f83b
am: fffabf0ccb

Change-Id: Ia46ea0ab72eebbf8b2a46d4d5991cfc819b4fbcc
2019-11-11 22:24:03 -08:00
Colin Cross
fffabf0ccb Merge "Move partner androidmk and bpfix files to match their package path" am: 650e8552a6
am: 687801f83b

Change-Id: I45639858ef10f3a3d89cd3a086b35ae7ff08a9a6
2019-11-11 22:20:09 -08:00
Colin Cross
687801f83b Merge "Move partner androidmk and bpfix files to match their package path"
am: 650e8552a6

Change-Id: I99a7e77d5e9eb5d35a44c3b7655a9f9e4e8b6464
2019-11-11 22:16:09 -08:00
Treehugger Robot
650e8552a6 Merge "Move partner androidmk and bpfix files to match their package path" 2019-11-12 06:01:14 +00:00
Mitch Phillips
a5a468f4fb Merge "Sort fuzz target dependencies to avoid rebuilds." am: 3eceaa3240 am: b60e5fbdfe
am: fa2b7a02ad

Change-Id: Ic21ddad505ed9528499cd823884a95879d0b0ae7
2019-11-11 18:58:22 -08:00
Mitch Phillips
fa2b7a02ad Merge "Sort fuzz target dependencies to avoid rebuilds." am: 3eceaa3240
am: b60e5fbdfe

Change-Id: I2edfac497056e890e4c59bc22c2e07d82af5de3c
2019-11-11 18:54:23 -08:00
Mitch Phillips
b60e5fbdfe Merge "Sort fuzz target dependencies to avoid rebuilds."
am: 3eceaa3240

Change-Id: I727d245950912f91c4e0a2cd6beed8a71669f011
2019-11-11 18:50:21 -08:00
Treehugger Robot
3eceaa3240 Merge "Sort fuzz target dependencies to avoid rebuilds." 2019-11-12 02:42:10 +00:00
Colin Cross
5fd427e53f Silence trailing "1 warning" message from javac when warning is silenced am: e94272d0b3 am: 4fe2e4f940
am: 447793c13a

Change-Id: I66d92d854c6fe02f588fddc17601256990675f24
2019-11-11 18:12:57 -08:00
Colin Cross
447793c13a Silence trailing "1 warning" message from javac when warning is silenced am: e94272d0b3
am: 4fe2e4f940

Change-Id: I229312c80c2f21c89cb8ab868bfd7ebf1aee6778
2019-11-11 18:08:56 -08:00
Colin Cross
4fe2e4f940 Silence trailing "1 warning" message from javac when warning is silenced
am: e94272d0b3

Change-Id: Id4946b2c763c229a31527a646839e08452268d36
2019-11-11 18:04:55 -08:00
Colin Cross
ce23942f3c Move partner androidmk and bpfix files to match their package path
Using a gomod-aware editor with build/soong requires that files
in build/soong can be mapped to the android/soong package path.
Move the partner androidmk and bpfix files such that their path
matches the package path when the android/soong package prefix is
replaced with the build/soong path prefix.

Test: go test ./...
Test: m bpfix androidmk partner_bpfix partner_androidmk
Change-Id: Ic7f7aad9e5eb9178eef0383f0b37e4fb93ce8314
2019-11-11 15:44:09 -08:00
Colin Cross
e94272d0b3 Silence trailing "1 warning" message from javac when warning is silenced
soong_javac_wrapper is silencing a useless warning:
warning: [options] bootstrap class path not set in conjunction with -source 1.9
but recent versions of javac have started also printing:
1 warning

Read the warning count, subtract the number of silenced warnings, and
reprint it if the non-silenced warning count is nonzero.

Fixes: 144118634
Test: javac_wrapper_test.go
Change-Id: Ie1d0a978188ab7b1c41027f718a1274608628123
2019-11-11 21:48:33 +00:00
Yi Kong
950e0baf2a Expand ClangExtraExternalCflags to non-Google vendor projects
Some of the warnings are too common to fix/opt-out for non-Google
projects.

Also in the change, minor clean up of duplicated code.

Test: presubmit
Bug: 139945549
Change-Id: Ic176ef1f17133405851a79592b6bef5ccb403bd9
2019-11-11 13:24:39 -08:00
Nick Desaulniers
0405b29044 Merge "soong: move -Wimplicit-fallthrough from cflags to cxxflags" am: 2d5ce8538b am: 3a24eefedb
am: 0d0b3980b8

Change-Id: I8ca47f5a92926f31ff4e5c68cb46801b2183a0b1
2019-11-11 10:29:58 -08:00
Pete Gillin
1209d7ebbc Merge changes I0d679648,I31542e7f am: 31d57588c9 am: 6414dde54e
am: 176de85374

Change-Id: I06ce4efde1122b79b757cef2985ac4ecabad80a6
2019-11-11 10:28:06 -08:00
Ulyana Trafimovich
10314566b1 Merge "Revert^4 "Package dexpreopt artifacts for libcore jars in the ART apex."" am: b21ed4281e am: 8ca57b35ea
am: 7826a2f02a

Change-Id: I191925cc1d1b2abc98c6dfbeedf77ccf1fd02938
2019-11-11 10:11:59 -08:00
Jeongik Cha
93cbf405e5 Merge "Rearrange import order" am: 5666126133 am: 1859bcadbe
am: 70b6bad4bd

Change-Id: I9927e2ac25e72830eaff30712aebd05329c3fa95
2019-11-11 10:10:48 -08:00
Jeongik Cha
87b8ca79a5 Merge "Enforce hidden apis usage in product(soong)" am: 80df439072 am: 8b822f70c3
am: b2d11cb4e8

Change-Id: If4e1019fe7af2e55b63f3ff8850d05c931f34000
2019-11-11 10:09:03 -08:00
Jiyong Park
f954deeccf Merge "APEX now correctly tracks jni_lib dependencies" am: c70d3c3cf6 am: 4538f60bfe
am: caed5cbe9a

Change-Id: I0e95243ec6b4e31dafaeafac7d2f953039990e3a
2019-11-11 10:08:49 -08:00
Paul Duffin
8b6963e332 Merge "Remove unnecessary constraint on previous_api" am: e4ef280532 am: dc931028c5
am: e556b3db03

Change-Id: I98a56c7ff52c8c71ffa0ba930362b20d570f0b96
2019-11-11 10:07:39 -08:00
Colin Cross
6458fee442 Merge "Remove -Wno-thread-safety-negative" am: 075cc44a86 am: dcee4049d6
am: a45513cc6c

Change-Id: Ie671f3ef90115260b5ee604459b33725633110a9
2019-11-11 10:06:32 -08:00
Mitch Phillips
a6ad9a074a Merge "Soong frontend for shared library fuzzing." am: 722b02f84c am: f484975c2d
am: d8e72556ad

Change-Id: Id729340c98645b6b829bc0d7c6b89b374f087e41
2019-11-11 10:06:06 -08:00
Jooyung Han
3e07e88ccc Merge "apex_manifest in protobuf binary format" am: d0e39622c7 am: 2d6a99599f
am: 897561c3e1

Change-Id: I37a214dfc8071f8bb35efdfd86e5fb1b9635aa7a
2019-11-11 10:04:57 -08:00
Nick Desaulniers
0d0b3980b8 Merge "soong: move -Wimplicit-fallthrough from cflags to cxxflags" am: 2d5ce8538b
am: 3a24eefedb

Change-Id: I1898c3c87d9fe96f482f911bdcb43dd1fed06c94
2019-11-11 09:40:45 -08:00
Pete Gillin
176de85374 Merge changes I0d679648,I31542e7f am: 31d57588c9
am: 6414dde54e

Change-Id: I4b1dce04c3785d20d260af4cf1b23c3644c2277f
2019-11-11 09:40:02 -08:00
Nick Desaulniers
3a24eefedb Merge "soong: move -Wimplicit-fallthrough from cflags to cxxflags"
am: 2d5ce8538b

Change-Id: I345c609bcbaf1cb869d60df5e505533e8111d9fe
2019-11-11 09:24:19 -08:00
Pete Gillin
6414dde54e Merge changes I0d679648,I31542e7f
am: 31d57588c9

Change-Id: I3cfdaf2cfb6b5eef840f66c2c9fce5d82c2cd10b
2019-11-11 09:23:35 -08:00
Ulyana Trafimovich
7826a2f02a Merge "Revert^4 "Package dexpreopt artifacts for libcore jars in the ART apex."" am: b21ed4281e
am: 8ca57b35ea

Change-Id: If47489994d86ff2dc8518b9902a104e7c448ab68
2019-11-11 09:19:00 -08:00
Jeongik Cha
70b6bad4bd Merge "Rearrange import order" am: 5666126133
am: 1859bcadbe

Change-Id: Icf00d6ffb905b05b23e62e465bf8d8338c3f614c
2019-11-11 09:18:35 -08:00
Jeongik Cha
b2d11cb4e8 Merge "Enforce hidden apis usage in product(soong)" am: 80df439072
am: 8b822f70c3

Change-Id: I166841f43c65d97b52fd52c4eebba75ea02e7901
2019-11-11 09:17:23 -08:00
Jiyong Park
caed5cbe9a Merge "APEX now correctly tracks jni_lib dependencies" am: c70d3c3cf6
am: 4538f60bfe

Change-Id: Iaeafd2f49e8cf012055089f94c04ef556e645cd4
2019-11-11 09:15:10 -08:00
Paul Duffin
e556b3db03 Merge "Remove unnecessary constraint on previous_api" am: e4ef280532
am: dc931028c5

Change-Id: I05b586dc4463e5f57cef6cac4b74b6e1052373c5
2019-11-11 09:14:08 -08:00
Colin Cross
a45513cc6c Merge "Remove -Wno-thread-safety-negative" am: 075cc44a86
am: dcee4049d6

Change-Id: I6f237a7d3faf6470d6b67218cf335462ff4d5820
2019-11-11 09:11:57 -08:00
Mitch Phillips
d8e72556ad Merge "Soong frontend for shared library fuzzing." am: 722b02f84c
am: f484975c2d

Change-Id: Ie0a01efa75540cfc550d8da390a3bf3a174f2ac6
2019-11-11 09:10:05 -08:00
Ulyana Trafimovich
8ca57b35ea Merge "Revert^4 "Package dexpreopt artifacts for libcore jars in the ART apex.""
am: b21ed4281e

Change-Id: Idca5a2d9e14485efb99451ce689a470ce99ea2a8
2019-11-11 09:07:15 -08:00
Jeongik Cha
1859bcadbe Merge "Rearrange import order"
am: 5666126133

Change-Id: I1535f14d7dda5fa05d3d417b58ea55ffc262c21a
2019-11-11 09:06:44 -08:00
Jooyung Han
897561c3e1 Merge "apex_manifest in protobuf binary format" am: d0e39622c7
am: 2d6a99599f

Change-Id: I58333f5faa6fc2886d1b9227e1f88e0108568a0a
2019-11-11 09:05:29 -08:00
Jeongik Cha
8b822f70c3 Merge "Enforce hidden apis usage in product(soong)"
am: 80df439072

Change-Id: I88469277c70aeae5e66ceabe41e000dd113ef3e7
2019-11-11 09:05:13 -08:00
Jiyong Park
4538f60bfe Merge "APEX now correctly tracks jni_lib dependencies"
am: c70d3c3cf6

Change-Id: I1e1c7a8d9e230aa7e65ef94448fbebba8b7fc19f
2019-11-11 09:05:01 -08:00
Paul Duffin
dc931028c5 Merge "Remove unnecessary constraint on previous_api"
am: e4ef280532

Change-Id: I6951a5df42c4153c813a105f7fed5416a79edd61
2019-11-11 09:03:35 -08:00