Commit Graph

17231 Commits

Author SHA1 Message Date
Colin Cross
617d508800 Merge "Add CUJ tests"
am: 6cfd3f0319

Change-Id: I887243b42cc946189e3b000643522d8db1280552
2019-12-05 17:22:07 -08:00
Treehugger Robot
6cfd3f0319 Merge "Add CUJ tests" 2019-12-06 01:17:04 +00:00
Calin Juravle
286be89d7d Merge "Export art dexpreopt image zip file" am: af7c2fcb71
am: 6db8f6c37f

Change-Id: I7a485467c57f96f89d4e62092f1488a4b83dc3e1
2019-12-05 15:05:45 -08:00
Calin Juravle
6db8f6c37f Merge "Export art dexpreopt image zip file"
am: af7c2fcb71

Change-Id: I17b85446b1da661a30e7ba8acdfc390b283e2ce7
2019-12-05 15:03:44 -08:00
Calin Juravle
af7c2fcb71 Merge "Export art dexpreopt image zip file" 2019-12-05 22:11:28 +00:00
Mitch Phillips
71d1368552 Merge "Fix cc_fuzz ignoring soong namespaces." am: 5eb62bc2fe
am: 8e83eb03c7

Change-Id: Id0a8511cfeb0e030fbebdb71e84eaeafa7a6d7e6
2019-12-05 13:50:20 -08:00
Mitch Phillips
8e83eb03c7 Merge "Fix cc_fuzz ignoring soong namespaces."
am: 5eb62bc2fe

Change-Id: I36c2f67b2e28bfb2f299d7417651188b9cefffff
2019-12-05 13:46:19 -08:00
Treehugger Robot
5eb62bc2fe Merge "Fix cc_fuzz ignoring soong namespaces." 2019-12-05 21:41:41 +00:00
Nick Desaulniers
b02c16c39b Merge "soong: upgrade Android platform to clang-r370808" am: ac0336d81f
am: e350a6bf35

Change-Id: I219fe418c0f074e7ade4a4286292ba739cdd6713
2019-12-05 12:25:28 -08:00
Nick Desaulniers
e350a6bf35 Merge "soong: upgrade Android platform to clang-r370808"
am: ac0336d81f

Change-Id: I2c537d2672db4a3aa850da0760be0a571b2cd727
2019-12-05 12:21:49 -08:00
Nick Desaulniers
ac0336d81f Merge "soong: upgrade Android platform to clang-r370808" 2019-12-05 20:12:08 +00:00
Colin Cross
d0be2109cf Add CUJ tests
Add a cuj_tests binary that runs through a sequence of critical
user journey builds and collects metrics.

Bug: 145688720
Test: cuj_tests
Change-Id: I6bb1a3fc4a458fd8cea7b7c924f565d0cf3e6df3
2019-12-05 11:11:37 -08:00
Mitch Phillips
6a9bf214f9 Fix cc_fuzz ignoring soong namespaces.
cc_fuzz ignored soong namespaces, and built all cc_fuzz modules into the
architecture package. This caused naming conflicts where two modules had
the same name but were in different namespaces.

Now, cc_fuzz will only build modules that are in the same namespace as
the product definition - resolving the duplicate definitions error.

Bug: 145240569
Test: m haiku
Change-Id: I0a0acd139426301586ac5e3aba8ce5527cb7a1b5
2019-12-05 09:38:56 -08:00
Dan Willemsen
2edf3385dd Merge "Test par file argument handling" am: bed70f837b
am: 0bf7108a59

Change-Id: Ib8002e6cf1526c345087f5110eb1ee2fcd4c3ee7
2019-12-05 08:56:13 -08:00
Dan Willemsen
0bf7108a59 Merge "Test par file argument handling"
am: bed70f837b

Change-Id: Id46092dfbfb68ade7848feca7198c0d1e2f14244
2019-12-05 08:54:04 -08:00
Treehugger Robot
bed70f837b Merge "Test par file argument handling" 2019-12-05 16:23:56 +00:00
Colin Cross
bb2e18e563 Merge changes Id261b5a3,Ice6f34d0 am: dc0e8fd131
am: 42808fb2fc

Change-Id: I605b37fd0f3268ac872d7be7112ccf45a1ee44cb
2019-12-05 01:23:53 -08:00
Colin Cross
42808fb2fc Merge changes Id261b5a3,Ice6f34d0
am: dc0e8fd131

Change-Id: I5bb5bb93d44182088b7eedd8a96e70de8c23bd9b
2019-12-05 01:21:22 -08:00
Søren Gjesse
7dbc0aac3a Merge "Remove passing -forceprocessing flag to R8" am: 5f9e5244c5
am: e40d85575d

Change-Id: I17002abdb93f24acc6ea252ebe6e029a6b631fed
2019-12-05 01:12:15 -08:00
Treehugger Robot
dc0e8fd131 Merge changes Id261b5a3,Ice6f34d0
* changes:
  Fix errorProtoLog error messages
  Write BUILD_DATETIME_FILE after SetupOutDir
2019-12-05 09:10:13 +00:00
Søren Gjesse
e40d85575d Merge "Remove passing -forceprocessing flag to R8"
am: 5f9e5244c5

Change-Id: Iaa03b8a0cf786195c18b02338ad17329e61674eb
2019-12-05 01:07:43 -08:00
Treehugger Robot
5f9e5244c5 Merge "Remove passing -forceprocessing flag to R8" 2019-12-05 08:56:38 +00:00
Jiyong Park
b326ac2b65 Fix: vendor and odm are restricted to use public platform properties
There was a mistake in the condition.

Bug: N/A
Test: N/A

Change-Id: I07f79fdcc3c946a4b9e957e5a42b6694b5eeb251
2019-12-05 13:35:35 +09:00
Jiyong Park
317645e84c Overridden APEX doesn't contribute to the file contexts
This change fixes the problem that when an apex module is overridden by
another override_apex, the <apex_name>-file_contexts are duplicated when
creating the system-level file-contexts.

Fixing this by not emitting the file_context info for the overridden
apex.

In doing so, OverridableModule interface was extended to have
GetOverriddenBy() method which can be used to test whether a module is
an overridden one or not.

Bug: 144338929
Test: m (apex_test amended)
Test: add "override_apex {name:"com.googlge.android.tzdata",
Change-Id: I5e9401c32899bb9987c90cba4185f571dc1a87f0
base:"com.android.tzdata"}" and the build is successful
2019-12-05 13:25:39 +09:00
Colin Cross
31bf00dac3 Export art dexpreopt image zip file
Test: m  out/target/product/generic_arm64/boot.zip
Bug: 144491400
Change-Id: I84342703ac614e072b0cde8c6f5597dc8cffbc65
2019-12-04 16:50:52 -08:00
Jiyong Park
6ea29f84fe Merge "Remove implicit outputs for the flattened APEX Make module" am: 7b34ebf447
am: 5f5e277514

Change-Id: I458413ea5f43ecb8b9a946ca16e900a9af410755
2019-12-04 16:27:38 -08:00
Jiyong Park
5f5e277514 Merge "Remove implicit outputs for the flattened APEX Make module"
am: 7b34ebf447

Change-Id: Ib30fd58cd1dffc1a0e5d6441e9a2f4e9dfea7873
2019-12-04 16:24:55 -08:00
Treehugger Robot
7b34ebf447 Merge "Remove implicit outputs for the flattened APEX Make module" 2019-12-05 00:21:29 +00:00
Ivan Lozano
d094d4006f Exclude dirs from binder interface whitelisting
Exclude vendor/ and hardware/ from the manually written binder interface
whitelist.

Bug: 136279235
Test: interfaces in excluded directories are not checked against whitelist.
Change-Id: I0d640e23489b37d0c0787d5fca6bcdab10034109
2019-12-04 09:10:21 -08:00
Paul Duffin
14f2cc92d9 Disable TestHostSnapshot test for non-linux build am: 46fc58ee8d
am: 2944053af4

Change-Id: Iaacfdedd690056f012369398778e9e1ed70ea6e4
2019-12-04 09:02:26 -08:00
Elliott Hughes
2cdbdf1093 Enable -Wpragma-pack warnings as errors.
The use of pragma pack(1) affects the packed-ness of every struct
definition that follows it in the translation unit, even in following
header files. This can lead to multiple translation units disagreeing
on whether a struct is packed.

Enable the warnings (as errors) that help spot this problem.

Bug: http://b/73971777
Test: treehugger
Change-Id: Id3096f35dff5dc8723d30d1305f1ed7ae8190a32
2019-12-04 08:48:45 -08:00
Xin Li
99f95375b0 Merge "Merge Android10 QPR1 into AOSP master" am: e06c84e103
am: 3dc38c94a4

Change-Id: I3368ba41d63633b7505d5f0cf25ab7efc5ef3589
2019-12-04 08:07:42 -08:00
Paul Duffin
2944053af4 Disable TestHostSnapshot test for non-linux build
am: 46fc58ee8d

Change-Id: Iff0c275c6cb5894235d5acbeed4b587edbb6f2c0
2019-12-04 06:20:35 -08:00
Paul Duffin
46fc58ee8d Disable TestHostSnapshot test for non-linux build
Building sdk snapshots on anything other than linux glibc is not
supported at the moment.

Bug: 145598135
Test: m nothing
Change-Id: I34155252545e9f37c5361ed94a27a87024fcece2
2019-12-04 10:15:40 +00:00
Dan Willemsen
67d4258786 Test par file argument handling
This had been broken with my python3 launcher.

Test: build/soong/python/tests/runtest.sh
Change-Id: I0524e5a80244bf1080cb28237b23ef0d023e03dc
2019-12-03 23:54:04 -08:00
Jiyong Park
1753e58df7 Remove implicit outputs for the flattened APEX Make module
When flattened, the Make module for an APEX is a phony package for the
files in it. There is no output (either implcit or explicit) there.

Bug: 144338929
Test: m
Test: check the generated Android-<target>.mk file
Change-Id: I86df3b69f402a7e2d94bafa39f2aad3312d8c28b
2019-12-04 13:38:56 +09:00
Xin Li
3dc38c94a4 Merge "Merge Android10 QPR1 into AOSP master"
am: e06c84e103

Change-Id: I214380c0e1d2b34badb8bb57fe90d2f8b286fc91
2019-12-03 16:07:37 -08:00
Treehugger Robot
e06c84e103 Merge "Merge Android10 QPR1 into AOSP master" 2019-12-03 23:15:05 +00:00
Chih-Hung Hsieh
02a7b57102 Merge "Generate tradefed config for rust device tests." am: dc9369ef7f
am: 204cad9008

Change-Id: If50b6bc5e105798b79eee2fd8c0969930db0ac5a
2019-12-03 13:32:26 -08:00
Chih-Hung Hsieh
204cad9008 Merge "Generate tradefed config for rust device tests."
am: dc9369ef7f

Change-Id: I6948b70be74135d81dfaa310927c12848db16fdf
2019-12-03 13:28:35 -08:00
Treehugger Robot
dc9369ef7f Merge "Generate tradefed config for rust device tests." 2019-12-03 21:19:12 +00:00
Ulya Trafimovich
c641b9e722 Use boot image extension for framework libraries. am: 4d2eeed0da
am: 5f14654dcd

Change-Id: I452ecd22661711afa9476ca6fc1e690b3c3fb58b
2019-12-03 08:55:36 -08:00
Paul Duffin
9893e7e61e Merge "Add support for host sdk" am: 3ae3b17083
am: e37a9d1cef

Change-Id: Ieb998381b91d60fbdde7a2e13dedc00aad13884b
2019-12-03 08:55:23 -08:00
Paul Duffin
1a9aff7d2b Merge "Add model to represent generated snapshot .bp file" am: e63106a08c
am: 751ead803b

Change-Id: I4e9703b97e21b7abc11b88d2ca5e83872346dd28
2019-12-03 08:55:10 -08:00
Jeongik Cha
96fef669ae Merge "Link type will be check in android_library also" am: f6739a65dd
am: 9d1c91afb7

Change-Id: Ib16c17f3e9c20b6bb911138b37e5fac0b7fe11c9
2019-12-03 08:49:09 -08:00
Ulya Trafimovich
5f14654dcd Use boot image extension for framework libraries.
am: 4d2eeed0da

Change-Id: Idc0b37370a21f42771b52ee7d2afb9c5f0f249fb
2019-12-03 08:47:21 -08:00
Paul Duffin
e37a9d1cef Merge "Add support for host sdk"
am: 3ae3b17083

Change-Id: I2e07a7c047059a633b2a9283da68044b7b8c7137
2019-12-03 08:47:06 -08:00
Paul Duffin
751ead803b Merge "Add model to represent generated snapshot .bp file"
am: e63106a08c

Change-Id: I6781d38d4000e06ddbc8ee2c16f279c8b59322be
2019-12-03 08:46:48 -08:00
Jeongik Cha
9d1c91afb7 Merge "Link type will be check in android_library also"
am: f6739a65dd

Change-Id: If63bda6fbef29e1f04e7ae400046da75bcdf5225
2019-12-03 08:38:10 -08:00
Ulya Trafimovich
4d2eeed0da Use boot image extension for framework libraries.
This patch splits the system boot image in two parts:

  - The ART boot image. This is the primary boot image that is
    included in the ART apex and contains dexpreopted Core Libraries.

  - The framweork boot image extension. It depends on the ART boot
    image and contains framework libraries.

The third "apex" boot image (used in the JIT-zygote experiment)
remains unchanged; it is a monolithic primary boot image that
contains both libcore and framework libraries.

Dexpreopting of APKs now uses the framework boot image extension
(which in turn pulls in the ART boot image as a dependency).

Test: m
Test: phone boots:
    lunch aosp_walleye-userdebug && m \
        && adb reboot bootloader && fastboot flashall -w

Bug: b/119800099

Exempt-From-Owner-Approval: rebased after getting approval.

Change-Id: Ida40dfae8c83bf7c2e737d5c7ea418e1197ad826
2019-12-03 13:59:25 +00:00