Commit graph

11056 commits

Author SHA1 Message Date
Elliott Hughes
1a294d9bcd Merge "Switch sed(1) to toybox." am: d8c94cb566
am: 1785f2be98

Change-Id: I00925748d8376e12f805297337428254786c6c44
2019-02-16 09:10:11 -08:00
Elliott Hughes
1785f2be98 Merge "Switch sed(1) to toybox."
am: d8c94cb566

Change-Id: I9e9d96bfeab1464e306aac54f2e53e6d1e4f5c8d
2019-02-16 09:06:08 -08:00
Elliott Hughes
d8c94cb566 Merge "Switch sed(1) to toybox." 2019-02-16 16:58:16 +00:00
Colin Cross
5ce79b7e6f Merge "Fix dependencies in strip.sh" am: 8c460a7581
am: 851b48684e

Change-Id: Icbb106e51ebc91413c61f28deeb9f1d49169a51f
2019-02-15 20:58:42 -08:00
Colin Cross
851b48684e Merge "Fix dependencies in strip.sh"
am: 8c460a7581

Change-Id: I4ca646ec5d3d4b9bc39d618a37b2a3dbb69f8299
2019-02-15 20:54:38 -08:00
Treehugger Robot
8c460a7581 Merge "Fix dependencies in strip.sh" 2019-02-16 04:37:20 +00:00
Colin Cross
800fe13146 Move dexpreopting of boot jars into Soong
Implement the dexpreopting of boot jars in singleton rules in
Soong.

Test: m checkbuild
Change-Id: Ic02ce941fa5e238b839b3eb4c06a3e10c62d98ff
2019-02-15 16:16:25 -08:00
Colin Cross
25397f52ff Fix dependencies in strip.sh
strip.sh was including the dependencies of dexpreoptRule instead
of stripRule, resulting in incorrect rebuilds.

Bug: 124529711
Test: m && m
Change-Id: I4b40f7c040442a03918c16a46ecf777f5cc30130
2019-02-15 16:16:25 -08:00
Elliott Hughes
47de2a2f52 Switch sed(1) to toybox.
Test: treehugger
Change-Id: I575ae9db8d94cbec811d0029691df98373f8fe35
2019-02-15 15:49:12 -08:00
Pirama Arumuga Nainar
2f289aca6e Enable coverage for vendor-related libraries
Bug: http://b/116873221

Enable coverage for libraries that use VNDK and those that have vendor
variants.  This previously caused a redefinition error in the
Android-<product>.mk but was indirectly fixed when
https://android-review.googlesource.com/c/platform/build/soong/+/906394
disabled coverage for LLNDK stub libraries.

Test: m NATIVE_COVERAGE=true COVERAGE_PATHS=frameworks nothing
Change-Id: Iccbc1c15c68562449ffffe7bbcc3d22419d84bfe
2019-02-15 15:24:47 -08:00
Dan Willemsen
707542f298 Simplify python launcher, use __main__.py
Uses more python rather than C++, and skips less of Py_Main.

Test: build/soong/python/tests/runtests.sh
Change-Id: I03997d88e2e16047c96bb4e00e530229c42b3325
2019-02-15 14:33:59 -08:00
Dan Willemsen
cd9f6997a2 Merge changes from topics "darwin_awk", "rename_path_prebuilts" am: 7b88d7c9f6
am: e6e08029ac

Change-Id: I599b7a3848ddbcaf5c1771c99a6b865638c39b58
2019-02-15 14:10:35 -08:00
Dan Willemsen
e6e08029ac Merge changes from topics "darwin_awk", "rename_path_prebuilts"
am: 7b88d7c9f6

Change-Id: I1f8b4b5b3850508ce520c996f9a386ebff572011
2019-02-15 13:58:37 -08:00
Dan Willemsen
7b88d7c9f6 Merge changes from topics "darwin_awk", "rename_path_prebuilts"
* changes:
  Use prebuilt awk on Darwin too
  Stop calling our host $PATH prebuilts toybox
2019-02-15 21:45:26 +00:00
Yi Kong
7886a6776f Merge "Annotate No_libcrt with arch_variant" am: 4e3c60128f
am: da69c65b88

Change-Id: I4ab1924fd5258fecf8104ad5bc1d40863f0013b7
2019-02-15 12:49:19 -08:00
Yi Kong
da69c65b88 Merge "Annotate No_libcrt with arch_variant"
am: 4e3c60128f

Change-Id: Ia170a78cb583297f5a7eeb24656b914c5bc50fab
2019-02-15 12:46:14 -08:00
Yi Kong
4e3c60128f Merge "Annotate No_libcrt with arch_variant" 2019-02-15 20:39:25 +00:00
Pirama Arumuga Nainar
d21f0d0df3 Merge "Do not enable coverage for platform/llndk stub libraries" am: ff1b5c7b90
am: 48a609233b

Change-Id: I7d659c1c4d933629da5c565464af563f315992f1
2019-02-15 11:17:42 -08:00
Colin Cross
c6cf7f0f9f Merge "Fix resource overlay order for static libraries" am: 0653d6d464
am: 2a1f4b2bda

Change-Id: I58a9ca5cc4535b86e306c8e76336099c44672cc1
2019-02-15 11:15:23 -08:00
Pirama Arumuga Nainar
48a609233b Merge "Do not enable coverage for platform/llndk stub libraries"
am: ff1b5c7b90

Change-Id: If62904ecb83ad3a3f0419ebb758b9f3d2b045143
2019-02-15 11:11:53 -08:00
Colin Cross
2a1f4b2bda Merge "Fix resource overlay order for static libraries"
am: 0653d6d464

Change-Id: Ibe193ed1291d83cb685b2ad75c33f1c4ddea540e
2019-02-15 11:10:49 -08:00
Pirama Arumuga Nainar
ff1b5c7b90 Merge "Do not enable coverage for platform/llndk stub libraries" 2019-02-15 19:07:39 +00:00
Colin Cross
0653d6d464 Merge "Fix resource overlay order for static libraries" 2019-02-15 18:54:49 +00:00
Sasha Smundak
d3cf4ee87b soong_zip after dex should not fail when no *.dex files were generated
This can happen if Android application has only a manifest file and no
java code.

Fixes: 124483155
Test: treehugger with Android.mk converted to Android.bp in
platforms/frameworks/base/tests/privapp-permnissions

Change-Id: I45f95680b62a7a4bda0e7ab156f3df24b0dad70b
2019-02-15 10:14:23 -08:00
Yi Kong
410d834752 Annotate No_libcrt with arch_variant
libcrt is crashing libc on x86/x86_64 for unknown reason. This enables
us to disable libcrt for these architectures for libc for now.

Test: m checkbuild
Bug: 29275768
Change-Id: I5a717286b3d9cc1ba8cdcd33bafb9c225de4aff8
2019-02-15 10:07:18 -08:00
Paul Duffin
e5b5657f87 Support libraries (not just boot jars) that have hiddenapi
The build assumes (apart from one minor exception) that only modules
that are in the PRODUCT_BOOT_JARS list require processing as part of
the hiddenapi. Unfortunately, that is not true for android.test.base,
at least not when REMOVE_ATB_FROM_BCP=true.

This change adds a white list (containing android.test.base) of
additional modules that should be processed as part of the hiddenapi
and updates the hiddenapi.go file to use it.

It does not matter that android.test.base is a boot jar and in the
white list, the behavior is the same as it would be if it was only
in one.

Bug: 73711752
Test: make REMOVE_ATB_FROM_BCP=true droid and make droid
Change-Id: I1c64272f444e6866136c65fb7c48910d55811844
2019-02-15 14:35:30 +00:00
Dan Willemsen
733547d522 Use prebuilt awk on Darwin too
Test: build on mac
Change-Id: I25d21c0df0b9023d6c43b11dde60e6066f107576
2019-02-14 20:11:26 -08:00
Dan Willemsen
9121973130 Stop calling our host $PATH prebuilts toybox
There's more than just toybox in this group now, so let's rename our
variables to something closer to the desired behavior, rather than the
first user.

Test: treehugger
Change-Id: I76d4407792061c8110b194cfe73f1ddc84dbc22f
2019-02-14 20:07:02 -08:00
Jiyong Park
c4845d6d7e Merge "Add ":name" support for manifest and androidManifest properties in apex" am: bf920d5264
am: 4ccf6449b4

Change-Id: Id678ed4d56a367ae39fa634557b61d4f423a1cb4
2019-02-14 18:06:25 -08:00
Jiyong Park
4ccf6449b4 Merge "Add ":name" support for manifest and androidManifest properties in apex"
am: bf920d5264

Change-Id: Id4eaf24164cebb8678628ccac8ca34158526a47f
2019-02-14 16:21:58 -08:00
Treehugger Robot
bf920d5264 Merge "Add ":name" support for manifest and androidManifest properties in apex" 2019-02-15 00:13:28 +00:00
Pirama Arumuga Nainar
8113835940 Do not enable coverage for platform/llndk stub libraries
Bug: http://b/116873221

These are used only for linking, and secondly, don't link with libc or
other system libraries.

Test: Build system/core/libnativeloader with coverage
Change-Id: I37eae572a5eaa00f0e8c72bc1453e967b5bcb577
2019-02-14 15:39:31 -08:00
Joel Fernandes
fe161b5410 Merge "Add common BPF helper to include path" am: 83ddfdf19a
am: a83face460

Change-Id: Ieae977601cc6cfd26e9d32a623bd3b8d26db9a62
2019-02-14 13:57:26 -08:00
Joel Fernandes
a83face460 Merge "Add common BPF helper to include path"
am: 83ddfdf19a

Change-Id: Ibbf4034e5f945f05f4d95caa2ae67eb6654319bf
2019-02-14 13:52:07 -08:00
Joel Fernandes
83ddfdf19a Merge "Add common BPF helper to include path" 2019-02-14 21:40:43 +00:00
Dan Willemsen
3647603be5 Merge "Add par_test" am: d325aa7b97
am: 36f9c8ff34

Change-Id: Ic83fe3b91843eeb3bdd698d0c57fe9b03024b23d
2019-02-14 13:03:03 -08:00
Dan Willemsen
36f9c8ff34 Merge "Add par_test"
am: d325aa7b97

Change-Id: Id793af966487f2766414e619b55760f4c5ba65a5
2019-02-14 12:58:56 -08:00
Treehugger Robot
d325aa7b97 Merge "Add par_test" 2019-02-14 20:45:12 +00:00
Jaewoong Jung
3875d3c293 Merge "Add a prebuilt module type for usr/share." am: fc46f28b6f
am: b25da89311

Change-Id: I995bbc1cee10bd11acc8543edb71fab68c0697ef
2019-02-14 07:55:05 -08:00
Jaewoong Jung
b25da89311 Merge "Add a prebuilt module type for usr/share."
am: fc46f28b6f

Change-Id: Ic28afc4af2cb1de3db65f01669431259a986b234
2019-02-14 07:50:34 -08:00
Jaewoong Jung
fc46f28b6f Merge "Add a prebuilt module type for usr/share." 2019-02-14 15:39:33 +00:00
Paul Duffin
153044c4c7 Remove reference to legacy-test and core-junit from comments am: 2fbbfb8630
am: 9ed226dad9

Change-Id: I93509731db403caf742333afb237ec4c1e37a47e
2019-02-14 03:15:32 -08:00
Paul Duffin
9ed226dad9 Remove reference to legacy-test and core-junit from comments
am: 2fbbfb8630

Change-Id: Ic9c399c6e0417e84734de728ba28b90292b5c688
2019-02-14 03:11:29 -08:00
Paul Duffin
2fbbfb8630 Remove reference to legacy-test and core-junit from comments
The legacy-test and core-junit are no longer used by the runtime,
core-junit was removed a long time ago, legacy-test will be removed
soon.

Bug: 63127064
Test: TH
Change-Id: I094e7263afcba76b40361c3a681c9fd7a4314133
2019-02-14 10:53:59 +00:00
Sundong Ahn
8faab8a547 Get latest api version
The logic of getting latest api version has problem that we don't
guarantee $(module_name).latest is latest api txt file. So change this
logic to get the latest api txt file.

Test: make -j40
Change-Id: Ibbd8475061fc76169a4c94dcf148fece45b9a41d
2019-02-14 19:46:34 +09:00
Jiyong Park
809bb724f5 Add ":name" support for manifest and androidManifest properties in apex
The manifest and androidManifest properties in the apex module type now
supports ":name" syntax.

Bug: 123857186
Test: m (apex_test amended)
Change-Id: Ic4e5a73cf73260d156ec61d07932ad07b2561413
2019-02-14 15:28:58 +09:00
Jiyong Park
92b89d9114 Remove prefer_sanitize.* properties am: f97782b18c
am: 548f147804

Change-Id: I6c20dec3b8e96dcda3817f7f8c0a87f663f0d878
2019-02-13 21:48:18 -08:00
Jiyong Park
548f147804 Remove prefer_sanitize.* properties
am: f97782b18c

Change-Id: I89cf55ff2cea384e1cf25c59f538dc185088a0cc
2019-02-13 21:42:27 -08:00
Sasha Smundak
ff483393ac Improve documentation page layout
It now has module list on the left and the main panel containing
a section for each module. Each section contains the navigable list
of the module's attributes, grouped by attribute's origin.

Test: Manual
Bug: 120512870
Change-Id: Ib62ef58c61daa88950f0934a70ba8ed16f433bf2
2019-02-13 21:40:21 -08:00
Jaewoong Jung
d4301986d8 Merge "Update Soong docs generator for blueprint changes" am: dfa4a486eb
am: 8b8fc45947

Change-Id: Ia3eca878ab045d4fa62c43215b8bbfa1e6a710b1
2019-02-13 20:30:14 -08:00