Commit Graph

13318 Commits

Author SHA1 Message Date
Colin Cross
d756aa05c9 Merge "Support robolectric_test" am: 5346d07108
am: 74e9718189

Change-Id: I271db13eb5c2cee1e72d0b68bd9666bad4e10e24
2019-05-02 09:55:30 -07:00
Colin Cross
74e9718189 Merge "Support robolectric_test"
am: 5346d07108

Change-Id: I3cfaed80b45ef76d0be1769e35ea379896fcbcbd
2019-05-02 09:49:58 -07:00
Colin Cross
5346d07108 Merge "Support robolectric_test" 2019-05-02 16:37:33 +00:00
Jaewoong Jung
212106a722 Merge "Add android_app_import." am: e7d52c779f
am: 5fa44dfb04

Change-Id: I1ec1d30fe592f1997f41eb66f1ad85d9b2b4abeb
2019-05-02 07:15:42 -07:00
Jaewoong Jung
5fa44dfb04 Merge "Add android_app_import."
am: e7d52c779f

Change-Id: I28dba5eeceda144703b416d541c66b13970f823f
2019-05-02 07:11:35 -07:00
Jaewoong Jung
e7d52c779f Merge "Add android_app_import." 2019-05-02 14:00:22 +00:00
Colin Cross
6128ec2dc1 Merge "Reverse merge order of resources and implementation" am: b5ad835dfe
am: d2c3fb93b6

Change-Id: Ib4c8c0022c2dcb72c2c61adca0dfdc944d7bb841
2019-05-01 21:07:38 -07:00
Colin Cross
d2c3fb93b6 Merge "Reverse merge order of resources and implementation"
am: b5ad835dfe

Change-Id: I61bfcc5bf2f8325aa393893ec44378db8c88a831
2019-05-01 20:42:51 -07:00
Treehugger Robot
b5ad835dfe Merge "Reverse merge order of resources and implementation" 2019-05-02 03:04:24 +00:00
Colin Cross
0ef0816727 Support robolectric_test
robolectric_test will compile a suite of tests that run in
robolectric.  For now it also generates a Run* rule, later
that will be removed in favor of atest.

Bug: 123248659
Test: m RunSettingsLibRoboTests
Change-Id: I12407d0b0d639e31c1969077ba787e8985e6a506
2019-05-01 16:41:44 -07:00
Mathieu Chartier
c5e44ec335 [automerger skipped] Merge "Enable app image startup cache for preopted apps" am: 60a839dd42
am: 8a8f4d5199 -s ours
am skip reason: change_id I46dc3e4a588be52f359577ca1f0fd2dcd440c4bf with SHA1 8910722e71 is in history

Change-Id: I7c3952a397da6b036c4a90722aeebbf6eca58a0b
2019-05-01 14:32:44 -07:00
Paul Duffin
e2d89215bf [automerger skipped] Remove unnecessary core library neverallow rules am: ff5a177879
am: 1e0ae9f523 -s ours
am skip reason: change_id Ibfef74db0769992266ebadf445836d2a183df3f7 with SHA1 25f35fa650 is in history

Change-Id: I68b032872283f2b68dca73a32adc3b804dbb1760
2019-05-01 14:32:13 -07:00
Mathieu Chartier
8a8f4d5199 Merge "Enable app image startup cache for preopted apps"
am: 60a839dd42

Change-Id: I4082b861d48d028532625bf9280e9730ab6cb793
2019-05-01 13:49:33 -07:00
Paul Duffin
25f35fa650 Remove unnecessary core library neverallow rules
The rules that restricted access to core library targets are no longer
required as they have been replaced with visibility rules. The
visibility rules are safer because they check all dependencies whereas
the neverallow rules that have been removed only checked dependencies
in the libs property and so missed dependencies in static_libs and
java_libs properties.

Bug: 112158820
Test: m core-tests
Change-Id: Ibfef74db0769992266ebadf445836d2a183df3f7
Merged-In: Ibfef74db0769992266ebadf445836d2a183df3f7
(cherry picked from commit 8e8c01c382)
2019-05-01 20:31:24 +00:00
Mathieu Chartier
60a839dd42 Merge "Enable app image startup cache for preopted apps" 2019-05-01 20:29:20 +00:00
Paul Duffin
1e0ae9f523 Remove unnecessary core library neverallow rules
am: ff5a177879

Change-Id: Iad4785586714383726fa89d659f4e2f8df0d9830
2019-05-01 12:46:01 -07:00
Jaewoong Jung
ccbb393651 Add android_app_import.
This is an initial version that handles the most basic cases.

Bug: 128610294
Test: app_test.go + prebuilt webview.apk
Change-Id: Ic525559aad5612987e50aa75b326b77b23acb716
2019-05-01 10:06:47 -07:00
Paul Duffin
ff5a177879 Remove unnecessary core library neverallow rules
The rules that restricted access to core library targets are no longer
required as they have been replaced with visibility rules. The
visibility rules are safer because they check all dependencies whereas
the neverallow rules that have been removed only checked dependencies
in the libs property and so missed dependencies in static_libs and
java_libs properties.

(cherry picked from 8e8c01c382)

Bug: 112158820
Test: m core-tests
Change-Id: I3b50b705b7cd6fcdc55d26cd71b9149b3abd2b88
Merged-In: Ibfef74db0769992266ebadf445836d2a183df3f7
2019-05-01 09:39:32 +01:00
Mathieu Chartier
3f7ddbba98 Enable app image startup cache for preopted apps
To get performance benefits here for apps that aren't installed
through the play store.

Bug: 130217075
Bug: 131310042
Test: make

(cherry picked from commit 8910722e71)

Merged-In: I46dc3e4a588be52f359577ca1f0fd2dcd440c4bf
Change-Id: Ia98c4e5447b63f6362a4bd5c617a518784f0ef53
2019-04-30 17:01:13 -07:00
Elliott Hughes
bc23f0f774 Merge "Revert "bzip2/xz: use the prebuilts."" am: 77b3fec7c1
am: 475806f08b

Change-Id: Icc7f48bbafc40537cf923faeae1140ff716aae4d
2019-04-30 15:59:33 -07:00
Elliott Hughes
475806f08b Merge "Revert "bzip2/xz: use the prebuilts.""
am: 77b3fec7c1

Change-Id: I9b618ea68fc17c56b8424947665c2048c609c4b0
2019-04-30 15:55:25 -07:00
Elliott Hughes
77b3fec7c1 Merge "Revert "bzip2/xz: use the prebuilts."" 2019-04-30 22:39:52 +00:00
Colin Cross
f41ed9ae63 Merge "Remove services.art from known_nondeterminism.whitelist" am: 42603c4ab5
am: 828a488720

Change-Id: Idbdeec76c0d8207890afbf94ea20ebac4c3d5379
2019-04-30 15:24:25 -07:00
Colin Cross
828a488720 Merge "Remove services.art from known_nondeterminism.whitelist"
am: 42603c4ab5

Change-Id: I0a9f690cdd3a9bb14a4efceec156cbdca8802bde
2019-04-30 15:19:18 -07:00
Colin Cross
42603c4ab5 Merge "Remove services.art from known_nondeterminism.whitelist" 2019-04-30 21:56:15 +00:00
Elliott Hughes
3d87302a6d Revert "bzip2/xz: use the prebuilts."
This reverts commit e114b3f0a9.

Build broke as follows:

out/soong/host/linux-x86/bin/sbox --sandbox-path out/soong/.temp --output-root out/soong/.intermediates/system/update_engine/ue_unittest_disk_imgs/gen -c 'tar -jxf system/update_engine/sample_images/sample_images.tar.bz2 -C __SBOX_OUT_DIR__/gen disk_ext2_1k.img disk_ext2_4k.img disk_ext2_4k_empty.img disk_ext2_unittest.img' __SBOX_OUT_DIR__/gen/disk_ext2_1k.img __SBOX_OUT_DIR__/gen/disk_ext2_4k.img __SBOX_OUT_DIR__/gen/disk_ext2_4k_empty.img __SBOX_OUT_DIR__/gen/disk_ext2_unittest.img 
"bzip2" is not allowed to be used. See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information. 
tar: Child returned status 1 
tar: Error is not recoverable: exiting now 
sbox command (tar -jxf system/update_engine/sample_images/sample_images.tar.bz2 -C out/soong/.temp/sbox849645882/gen disk_ext2_1k.img disk_ext2_4k.img disk_ext2_4k_empty.img disk_ext2_unittest.img) failed with err "exit status 2" 

Change-Id: I3fe7100886ea3b748f5a6b5fc6d2811391bb72a8
2019-04-30 21:55:23 +00:00
Mathieu Chartier
c881614a6d Enable app image startup cache for preopted apps
am: 8910722e71

Change-Id: I32bd3661d2c27aee0a172899ea2cf0078798b64d
2019-04-30 14:33:15 -07:00
Nicolas Geoffray
71e2242727 Merge "Add ART folks to owner of dexpreopt related file." am: 327a7e7420
am: f731037778

Change-Id: I6bec1182be181854390e0bade2b747e20e39bb3d
2019-04-30 14:04:02 -07:00
Nicolas Geoffray
f731037778 Merge "Add ART folks to owner of dexpreopt related file."
am: 327a7e7420

Change-Id: I3a7eda67410752f3d10e8a08b59f0fdfb9fbd2e7
2019-04-30 13:57:46 -07:00
Nicolas Geoffray
327a7e7420 Merge "Add ART folks to owner of dexpreopt related file." 2019-04-30 20:36:16 +00:00
Elliott Hughes
6a68e21991 Merge "bzip2/xz: use the prebuilts." am: dc2699cfde
am: 1061cb4b53

Change-Id: Id1e45969eefb2fcd14edded23d4301b4886fe212
2019-04-30 13:14:40 -07:00
Elliott Hughes
1061cb4b53 Merge "bzip2/xz: use the prebuilts."
am: dc2699cfde

Change-Id: I9b5f36fc9efb7e7493ad6c0c28bc4602a16e93e3
2019-04-30 13:07:25 -07:00
Elliott Hughes
dc2699cfde Merge "bzip2/xz: use the prebuilts." 2019-04-30 19:48:27 +00:00
Nicolas Geoffray
5b6061d6aa Add ART folks to owner of dexpreopt related file.
Test: N/A
Change-Id: If8c7b1801e4a08e38ab75b459d9d8eff22804f06
2019-04-30 15:33:49 +01:00
Nicolas Geoffray
03e0a21e7a Pass other boot classpath locations to the apex image. am: feef2ef4d7
am: fed3ab3053

Change-Id: I98eb794d13119b1d49164ae959139264e09cba49
2019-04-30 06:52:22 -07:00
Nicolas Geoffray
fed3ab3053 Pass other boot classpath locations to the apex image.
am: feef2ef4d7

Change-Id: I669b4e6ba2aef3cafd6392f4904dd940f54ee4a6
2019-04-30 06:46:19 -07:00
Nicolas Geoffray
feef2ef4d7 Pass other boot classpath locations to the apex image.
In order to evaluate the impact of framework classes being in an image.

Test: m
Bug: 119800099
Exempt-From-Owner-Approval: this is only for an experimental config, which we would like to see
the performance before build snap.
Change-Id: Ib0d3acf8d2718ee443b3bffe8122a54f92257691
2019-04-30 13:33:10 +00:00
Jiyong Park
d5625f9103 [automerger skipped] Merge "Prebuilt APEXes are recoreded in apexkeys.txt" am: 1341942d86
am: deba159e56 -s ours
am skip reason: change_id Ib6d391a82864714743a1cc59cd655bea917b5073 with SHA1 a41f12a6fa is in history

Change-Id: I5101355d2ba1209f6a1c826bd9b949f6e5c92c0c
2019-04-29 20:32:44 -07:00
Jiyong Park
deba159e56 Merge "Prebuilt APEXes are recoreded in apexkeys.txt"
am: 1341942d86

Change-Id: If24dc20f3238bc1d7a84f2b2485871173b9e5e66
2019-04-29 20:27:41 -07:00
Treehugger Robot
1341942d86 Merge "Prebuilt APEXes are recoreded in apexkeys.txt" 2019-04-30 03:14:01 +00:00
Elliott Hughes
e114b3f0a9 bzip2/xz: use the prebuilts.
We added the prebuilts a while ago, but forgot to clean this up.

Test: treehugger
Change-Id: I8920f0c9d77951332a663750102ceeabcb565970
2019-04-29 16:23:08 -07:00
Mathieu Chartier
8910722e71 Enable app image startup cache for preopted apps
To get performance benefits here for apps that aren't installed
through the play store.

Bug: 130217075
Bug: 131310042
Test: make
Change-Id: I46dc3e4a588be52f359577ca1f0fd2dcd440c4bf
2019-04-29 11:39:18 -07:00
Logan Chien
f7a6c944d4 Merge "Support opt-in ABI checks" am: 23803f9365
am: 5b70a03268

Change-Id: Id45f014546d9d85439350bf85d69e558149f82fc
2019-04-29 11:05:11 -07:00
Logan Chien
5b70a03268 Merge "Support opt-in ABI checks"
am: 23803f9365

Change-Id: I2ff8f34a79d8cd7ed6975ccf2cd5ee7a709c44ef
2019-04-29 10:59:30 -07:00
Logan Chien
23803f9365 Merge "Support opt-in ABI checks" 2019-04-29 17:40:06 +00:00
Colin Cross
497d4c24b1 Remove services.art from known_nondeterminism.whitelist
Bug: 120039850
Test: none
Change-Id: I70d5243f427a4da5c8126be6b8ebc90221133ad3
2019-04-29 17:36:19 +00:00
Colin Cross
08a409df2d Reverse merge order of resources and implementation
Merge the resources first in case one of the static libraries
merge into the implementation jars contains a duplicate resource.
Also put the manifest into the resource jar so that the default
manifest doens't override the custom manifest.

Test: m checkbuild
Change-Id: I96d117c306bc9f1346720251d3993031992cef66
2019-04-29 10:29:24 -07:00
Paul Duffin
39610641ca Merge "Add visibility support" am: 77b47fdf51
am: f028b496b6

Change-Id: If85c0b4f117a4d6e6af2d093fbdc2c8fd8bb4f35
2019-04-29 03:30:36 -07:00
Paul Duffin
f028b496b6 Merge "Add visibility support"
am: 77b47fdf51

Change-Id: I7615e1e112408ced5f20600f0a485240767939b8
2019-04-29 03:25:32 -07:00
Paul Duffin
77b47fdf51 Merge "Add visibility support" 2019-04-29 10:10:21 +00:00