Commit graph

49500 commits

Author SHA1 Message Date
Mathieu Chartier
0c44ba4eda Merge "Enable layout compilation by default" 2019-02-11 17:58:50 +00:00
Jiyong Park
c35a33e59c TARGET_FLATTEN_APEX for GSI
Regular (non-flattened) APEX may require changes to the kernel, which is
against the Treble promise. For maximum compatibility, APEXes are
flattened for GSI so that APEXes can be activated by legacy kernels.

Bug: 124159875
Test: N/A
Change-Id: Iea5701d3b917ebf8657d3ce38131c1838b51677e
2019-02-11 21:50:02 +09:00
Anton Hansson
33f67f3c46 Merge "Enable suspend for mainline charger" am: c75e5ba356
am: faf0bbf2b8

Change-Id: I1a6e96d7897914e5e8076b86a4fa474bfe1c4aab
2019-02-11 03:06:44 -08:00
Anton Hansson
faf0bbf2b8 Merge "Enable suspend for mainline charger"
am: c75e5ba356

Change-Id: Iad3f8ca78c7515322ce2122bcac905f51e3cbe9a
2019-02-11 03:02:35 -08:00
Anton Hansson
c75e5ba356 Merge "Enable suspend for mainline charger" 2019-02-11 10:53:49 +00:00
Nicolas Geoffray
44312c00f6 Merge "Never strip and store dex files uncompressed when they are preopted on system." am: f07d63390c
am: b2d2793762

Change-Id: Ibd7094bbe2161b3c4dbfd1bf5da7ea41627ca63d
2019-02-11 02:45:46 -08:00
Nicolas Geoffray
b2d2793762 Merge "Never strip and store dex files uncompressed when they are preopted on system."
am: f07d63390c

Change-Id: I513795a11decf29bcb8afa32b0eb778edf5f0400
2019-02-11 02:40:49 -08:00
Nicolas Geoffray
f07d63390c Merge "Never strip and store dex files uncompressed when they are preopted on system." 2019-02-11 10:31:12 +00:00
Anton Hansson
e7fc583461 Merge "Tab completion for the croot function" am: 5cbb363305
am: 31a70ee8ea

Change-Id: I94cef38a751e965019eb40e5f4cd98fee57b76d2
2019-02-11 02:25:36 -08:00
Anton Hansson
31a70ee8ea Merge "Tab completion for the croot function"
am: 5cbb363305

Change-Id: Ia1b45a7a278efba54ce8bf6246d4e9fa8019fee3
2019-02-11 02:21:25 -08:00
Anton Hansson
5cbb363305 Merge "Tab completion for the croot function" 2019-02-11 10:14:37 +00:00
Jiyong Park
744fd5698f Drop /root when installing symbols
This change fixes a problem that if a module is installed to the root
partition, its symbol file appears at under symbols/root, which is an
non-existing path at runtime. Since the symbol paths should match with
the runtime path, drop /root when installing symbols.

Bug: 123985838
Test: m libc.mountpoint
libc.so is found under symbols/bionic/lib[64]

Change-Id: I38bd226c3ec758d69902f4f288c83f68170c4068
2019-02-11 16:16:18 +09:00
Colin Cross
2197223be0 Merge "Make manifest and APK agree on uncompressed native libs" am: 010df4b471
am: b568c2e15d

Change-Id: I6e68977cefe84d8f531900022e5588c915fc6239
2019-02-08 18:47:09 -08:00
Colin Cross
b568c2e15d Merge "Make manifest and APK agree on uncompressed native libs"
am: 010df4b471

Change-Id: Ib1521234aa42fbf5439e919b991c24f8bc8fcf7e
2019-02-08 18:38:16 -08:00
Elisa Pascual Trevino
0018e3f62d Update Security String to 2019-04-05 Bug: 124119313
am: 0b5a344dc3

Change-Id: I9154a76936f71e6e4af6ea8895881727a4d7be07
2019-02-08 18:29:29 -08:00
Treehugger Robot
010df4b471 Merge "Make manifest and APK agree on uncompressed native libs" 2019-02-09 02:25:32 +00:00
Elisa Pascual Trevino
a864f90501 Update Security String to 2019-04-01 Bug: 124119313
am: f9835d9f4d

Change-Id: I943b55e958358583268447a49d03e9c84ad9bae2
2019-02-08 15:10:51 -08:00
Nicolas Geoffray
9cdc3beb3d Never strip and store dex files uncompressed when they are preopted on system.
In order for the runtime module to always be able to compile apps,
make sure we keep a copy of the dex files optimally.

Gated by a product flag if a product doesn't include the module yet.

Test: build
Change-Id: Ia9bba7f6f12f3400078a43d39ba4134cf8818399
2019-02-08 22:45:48 +00:00
Hridya Valsaraju
cb20d4a64b Merge "Only pick DTBs from BOARD_PREBUILT_DTBIMAGE_DIR" am: 143ff1ff9a
am: 2048a2db3f

Change-Id: I8a0e34d3aa41521bed7992c4d7387372d72c596e
2019-02-08 14:18:04 -08:00
Chen Xu
5a78aebd9f Merge "Revert "Add Asuite prebuilds in PATH and remove functions."" am: aaf8cdf59d
am: 73466c8bc1

Change-Id: I684bbc42c74a6044cda42594fe56b1b4f97f6566
2019-02-08 14:16:07 -08:00
Hridya Valsaraju
2048a2db3f Merge "Only pick DTBs from BOARD_PREBUILT_DTBIMAGE_DIR"
am: 143ff1ff9a

Change-Id: If90742475357500d797f08b4fdea90b4329b308e
2019-02-08 14:14:40 -08:00
Chen Xu
73466c8bc1 Merge "Revert "Add Asuite prebuilds in PATH and remove functions.""
am: aaf8cdf59d

Change-Id: Ic51bed99735876ff2cefd2e88ba3eb47cbe209a6
2019-02-08 14:12:56 -08:00
Treehugger Robot
143ff1ff9a Merge "Only pick DTBs from BOARD_PREBUILT_DTBIMAGE_DIR" 2019-02-08 22:02:05 +00:00
Chen Xu
aaf8cdf59d Merge "Revert "Add Asuite prebuilds in PATH and remove functions."" 2019-02-08 21:58:33 +00:00
Dan Willemsen
00d80348f2 Merge "Default to erroring when eng/debug tags are used" am: 7067aaa13c
am: 265bd2fb92

Change-Id: Ieebfc96f3f2ca25da1819ba1fa59558ec413dc75
2019-02-08 13:56:01 -08:00
Chen Xu
a1cc558cdd Revert "Add Asuite prebuilds in PATH and remove functions."
This reverts commit dda51d42da.

Reason for revert: This change caused AOSP build breakage on NDK

Change-Id: I27973e8e0f08e5d71a405208ae4a6a855c751932
2019-02-08 21:52:59 +00:00
Dan Willemsen
265bd2fb92 Merge "Default to erroring when eng/debug tags are used"
am: 7067aaa13c

Change-Id: I651efc357d5d3a06ed35491ee3d591de53f2736f
2019-02-08 13:51:52 -08:00
Treehugger Robot
7067aaa13c Merge "Default to erroring when eng/debug tags are used" 2019-02-08 21:46:22 +00:00
Elisa Pascual Trevino
0b5a344dc3 Update Security String to 2019-04-05
Bug: 124119313
2019-02-08 21:28:23 +00:00
Jim Tang
7119e50815 Merge "Add Asuite prebuilds in PATH and remove functions." am: fc58ed2fb7
am: 35fed77a88

Change-Id: Ia13cea3bf096da17a075928f856aa9a134a7a9e3
2019-02-08 13:09:39 -08:00
Jim Tang
35fed77a88 Merge "Add Asuite prebuilds in PATH and remove functions."
am: fc58ed2fb7

Change-Id: I462f52a9a8619b4e3f445010e4ef4eb2d5da1b26
2019-02-08 13:05:31 -08:00
Dan Willemsen
78e94a46c9 Default to erroring when eng/debug tags are used
Some devices opt out of the warning with `BUILD_BROKEN_ENG_DEBUG_TAGS :=
true` still, but the rest have no more warnings left.

Test: build_test in treehugger
Change-Id: I1534a0db006d72c7921a20ab793586ef1c7bdb21
Merged-In: I1534a0db006d72c7921a20ab793586ef1c7bdb21
2019-02-08 13:03:23 -08:00
Elisa Pascual Trevino
f9835d9f4d Update Security String to 2019-04-01
Bug: 124119313
2019-02-08 20:57:15 +00:00
Treehugger Robot
fc58ed2fb7 Merge "Add Asuite prebuilds in PATH and remove functions." 2019-02-08 20:56:37 +00:00
Hridya Valsaraju
c63a74474b Only pick DTBs from BOARD_PREBUILT_DTBIMAGE_DIR
This change is required to prevent the build system
from picking up DTB files from subdirectories to
BOARD_PREBUILT_DTBIMAGE_DIR.

Test: make bootimage
Bug: 123648105

Change-Id: Ibc2a133f3c9be6362579dc9bf9ca399912b9d8a2
2019-02-08 09:36:44 -08:00
Anton Hansson
1d1725d7eb Merge "Remove non-existant packages from mainline_system" am: 76d8591417
am: 68028611f0

Change-Id: I2b00e756beb9b105fcf8ffe4a0a49743ada0e220
2019-02-08 06:44:15 -08:00
Anton Hansson
0b7030c8e1 Merge "Remove DMService from mainline_system" am: 21e0cbacfc
am: 3b83ae8834

Change-Id: I751747b28a33846538c97d798deeee3932ae9492
2019-02-08 06:42:51 -08:00
Anton Hansson
68028611f0 Merge "Remove non-existant packages from mainline_system"
am: 76d8591417

Change-Id: I9c5e52c9854f24268f567c62313ae153d73c3dd3
2019-02-08 06:39:46 -08:00
Anton Hansson
3b83ae8834 Merge "Remove DMService from mainline_system"
am: 21e0cbacfc

Change-Id: I63d265b3f4f99b1aea5d9d195ea705ab17d29e0a
2019-02-08 06:38:42 -08:00
Anton Hansson
76d8591417 Merge "Remove non-existant packages from mainline_system" 2019-02-08 14:31:19 +00:00
Anton Hansson
21e0cbacfc Merge "Remove DMService from mainline_system" 2019-02-08 14:31:06 +00:00
Jeongik Cha
ef26afdc27 Detect shareduid between different partitions
Find shareduid usage between the partitions(system, vendor, product).

Here is sample output

{
  "android.uid.system": {
    "product": [
      "Settings.apk"
    ],
    "system": [
      "framework-res.apk",
      "FusedLocation.apk",
      "Telecom.apk",
      "InputDevices.apk",
      "SettingsProvider.apk",
      "WallpaperBackup.apk",
      "KeyChain.apk"
    ]
  }
}

Bug: 123664116
Test: m -j out/target/product/$(get_build_var TARGET_DEVICE)/shareduid_violation_modules.txt
Change-Id: If2a75bf66b369cd3fad1744d08b6bfbfc624979c
2019-02-08 22:41:30 +09:00
Mathieu Chartier
2e321b0e85 Enable layout compilation by default
Aims to get additional coverage of the view compiler. Note that the
compiled views are not currently loaded.

Test: adb shell getprop
Bug: 111895153

Change-Id: I7b172fc55bc47ee1593eb352fb9d9143f44a1e6c
2019-02-08 13:35:54 +00:00
Anton Hansson
b100f5b834 Enable suspend for mainline charger
Bug: 80410283
Test: make
Change-Id: I09efa8dd557d586424c342772925b9ab2940bc88
2019-02-08 13:34:49 +00:00
Dan Willemsen
444248e82a Merge "Make the duplicate header copy warning more explicit" am: 86c26860be
am: 0a63186fb8

Change-Id: If781af52f87f81c7632f4ff024a86af72878155e
2019-02-08 01:28:40 -08:00
Dan Willemsen
0a63186fb8 Merge "Make the duplicate header copy warning more explicit"
am: 86c26860be

Change-Id: I1ea8960390e95bd887c47930aa35491c41a397f4
2019-02-08 01:24:30 -08:00
Treehugger Robot
86c26860be Merge "Make the duplicate header copy warning more explicit" 2019-02-08 09:15:38 +00:00
Anton Hansson
ece9c48e4d Tab completion for the croot function
Test: bash 3.2
Test: bash 4.4
Change-Id: Ie35ea05c4dd5ea246c005559bb5f36a9c05ef7c4
2019-02-08 08:24:26 +00:00
Anton Hansson
c8df56f35e Remove non-existant packages from mainline_system
Also add the health-check macro to the buildable products
to make sure no other non-existant packages are added.

Bug: 80410283
Test: build mainline_arm64 + mainline_system_arm64
Change-Id: I6c54de2f43b5ab0c9e0ddfa09fa7553c321e4aa7
2019-02-08 08:08:52 +00:00
Anton Hansson
ed5f6646b0 Remove DMService from mainline_system
Doesn't exist in AOSP.

Bug: 110072687
Test: make
Change-Id: I516ff4d647e62b8535e9bf648a156b010a328e93
Merged-In: I516ff4d647e62b8535e9bf648a156b010a328e93
2019-02-08 08:08:46 +00:00