Commit Graph

48785 Commits

Author SHA1 Message Date
Colin Cross
485c9cd400 Move hiddenapi singleton rules to Soong
Hiddenapi rules are now in build/soong/java/hiddenapi_singleton.go.
This effectively requires any module in PRODUCT_BOOT_JARS to be
defined in Soong.

Bug: 123645297
Test: m checkbuild
Change-Id: If72bd1c20b2014d0a3d400624d37fdb0a3052245
2019-02-05 21:38:55 -08:00
Steven Moreland
e0c38893ff Remove '-b' from AIDL.
An empty file will be emitted for parcel declarations. Now sources may
include parcel definitions.

Bug: 70046217
Test: manual
Change-Id: Ib4bfaf52101956a543738d50ea699f9232f5bb91
2019-02-06 04:58:06 +00:00
Tri Vo
07e5189064 Merge "Add ashmemd to base_system.mk"
am: 7bd32730a4

Change-Id: Ib67720b4ecbef3d548c829fb436f45ab0b57bd55
2019-02-05 13:44:22 -08:00
Tri Vo
7bd32730a4 Merge "Add ashmemd to base_system.mk" 2019-02-05 21:38:50 +00:00
Dan Willemsen
d5c921f51e Merge "Remove support for building Windows modules in Make"
am: 9a3ef57d99

Change-Id: Ia29632ee9b0503a2a4907e034b9d9031f88dfe67
2019-02-05 13:11:00 -08:00
Dan Willemsen
9a3ef57d99 Merge "Remove support for building Windows modules in Make" 2019-02-05 20:45:27 +00:00
Hridya Valsaraju
a941899906 Allow for a separate recovery DTBO to be used for non-A/B devices.
This CL allows for a separate recovery DTBO to be used by
specifying it with the board config variable
BOARD_PREBUILT_RECOVERY_DTBOIMAGE.

Bug: 123889996
Test: make recoveryimage and make dist on a target that builds
recovery.img and unpack_bootimg.py to test that BOARD_PREBUILT_RECOVERY_DTBOIMAGE
gets used as the recovery DTBO.

Change-Id: I6f83f37c3c894b2acddab1000224cd433649faa1
2019-02-05 18:19:39 +00:00
Kostya Kortchinsky
9454ff6766 Merge "Add option to disable Scudo globally [Make]"
am: adcb1498c5

Change-Id: I329d20e8745760a0319e74e70723147f4d49c0ca
2019-02-05 06:55:13 -08:00
Kostya Kortchinsky
adcb1498c5 Merge "Add option to disable Scudo globally [Make]" 2019-02-05 14:45:39 +00:00
Orion Hodson
172eae9364 Remove libsurfaceflinger_ddmconnection from PRODUCT_PACKAGES
DdmConnection dlopen's libart.so which is undesirable for the Runtime Module.

Bug: 120782499
Test: m -j100
Change-Id: I53aa1ee43da6cbee8a61c231e38d8bdad26c98e4
Merged-In: I53aa1ee43da6cbee8a61c231e38d8bdad26c98e4
2019-02-05 09:31:33 +00:00
Anton Hansson
e3aed13328 Merge "Merge product_services into product by default"
am: 7d1e353834

Change-Id: Ie08204c9476d82d4b9fe1dd78530821a58f6b7e6
2019-02-05 01:21:34 -08:00
Anton Hansson
7d1e353834 Merge "Merge product_services into product by default" 2019-02-05 09:12:15 +00:00
Dan Willemsen
0781334ab9 Merge "Fix aux_config warning"
am: a5f55d8e1a

Change-Id: I29c79be227d531cd66adbadd52aac1a0d995843d
2019-02-05 00:33:17 -08:00
Treehugger Robot
a5f55d8e1a Merge "Fix aux_config warning" 2019-02-05 08:20:29 +00:00
Dan Willemsen
f264690860 Remove support for building Windows modules in Make
These now must be defined in Android.bp files.

Bug: 122618577
Test: compare build-aosp_arm.ninja before/after
Test: codesearch for LOCAL_MODULE_HOST_OS.*windows
Change-Id: I14451c7753299692940e026f85687b4c3331bb07
2019-02-05 00:19:41 -08:00
Dan Willemsen
fcdc0cb737 Fix aux_config warning
Don't declare targets during config files, as they're loaded in other
contexts as well. In this case, `droidcore` was not defined when we were
handling CleanSpec.mk files, leading to:

build/make/core/aux_config.mk:185: warning: real file "droidcore" depends on PHONY target "auxiliary"

Bug: 123583617
Test: m nothing; check for warnings
Change-Id: I71b8819deb81442810c7dd5c681ddb38a1171cff
2019-02-04 20:52:14 -08:00
Stephen Hines
0fc6f12cb1 Merge "Use llvm-{strip,objcopy} by default"
am: c6dee37255

Change-Id: Ie6ca67706f95bb8d64532e709586a96dc2437201
2019-02-04 19:20:17 -08:00
Stephen Hines
c6dee37255 Merge "Use llvm-{strip,objcopy} by default" 2019-02-05 03:13:14 +00:00
Kostya Kortchinsky
027324099f Add option to disable Scudo globally [Make]
This adds an option to turn off Scudo globally, and use it for Go.

Bug: 123228023
Test: verify that Scudo is disabled for a Go build, eg:
lunch marlin_svelte-eng && m -j, check that Scudo is not linked in
out/target/product/marlin/system/bin/mediaextractor
Test: verify that Scudo is enabled otherwise, eg:
lunch marlin-eng && m -j, check that Scudo is linked in
out/target/product/marlin/system/bin/mediaextractor

Change-Id: Idc82d581fade544a474e6f2ff0b54dd191ba0818
Merged-In: Idc82d581fade544a474e6f2ff0b54dd191ba0818
2019-02-04 12:35:04 -08:00
Anton Hansson
5adb63c82b Merge "Add myself to build/make owners"
am: 20258b55b6

Change-Id: I95f8426a7b8213eada61b9eaff58de622b557ebe
2019-02-04 07:05:51 -08:00
Treehugger Robot
20258b55b6 Merge "Add myself to build/make owners" 2019-02-04 14:56:02 +00:00
Anton Hansson
eb836eaf62 Add myself to build/make owners
To get faster turnaround in LON for things I know about.

Test: N/A
Change-Id: Iaebb841caa1179d88c52131fc3b69977d2bb52b9
2019-02-04 10:36:22 +00:00
Suren Baghdasaryan
74aa0917d4 Merge changes from topic "cgroup abstraction layer"
am: 080e3d390f

Change-Id: I4157bb1ccf37423572b3d0042a991e46c9d27fd5
2019-02-03 20:07:21 -08:00
Suren Baghdasaryan
080e3d390f Merge changes from topic "cgroup abstraction layer"
* changes:
  Add libjsoncpp into VNDK
  Add cgroups.json and task_profiles.json build targets
2019-02-03 22:28:22 +00:00
Suren Baghdasaryan
521133d9d2 Add libjsoncpp into VNDK
Include libjsoncpp into vndk because libprocessgroup uses it
for task profile parsing.

Bug: 111307099
Test: builds, boots
Change-Id: I99ddc4db53a7e9b2b6122ca1f0360ded454d0d83
Merged-In: I99ddc4db53a7e9b2b6122ca1f0360ded454d0d83
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-02-02 17:06:54 +00:00
Suren Baghdasaryan
35fc328316 Add cgroups.json and task_profiles.json build targets
Add cgroups.json and task_profiles.json into the list of packages.

Bug: 111307099
Test: builds, boots

Change-Id: Ib8ab11de573505f522ccd9cec2c6afd7e23d2f2f
Merged-In: Ib8ab11de573505f522ccd9cec2c6afd7e23d2f2f
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-02-02 17:05:56 +00:00
Mark Salyzyn
7007227f80 Merge "dynamic partitions: round partitions to BOARD_SUPER_PARTITION_ALIGNMENT"
am: 76f2628654

Change-Id: Ia61456e252a1756704378702d5a45e1ec2a2f4c0
2019-02-01 17:50:32 -08:00
Treehugger Robot
76f2628654 Merge "dynamic partitions: round partitions to BOARD_SUPER_PARTITION_ALIGNMENT" 2019-02-02 01:39:37 +00:00
SzuWei Lin
c1ea73f62e Merge changes I1772a55a,Ibd398d4f,If5476048,Ied201aad
am: f834600fb3

Change-Id: I328f1e8f8dfd2446c4ae246101c7412d0476f33b
2019-02-01 16:42:36 -08:00
Treehugger Robot
f834600fb3 Merge changes I1772a55a,Ibd398d4f,If5476048,Ied201aad
* changes:
  Enable mainline checking for all GSI targets
  Change aosp_$arch.mk to inherit from gsi_common.mk
  Change Legacy GSI to inherit from gsi_common.mk
  Whilelist system/product_services in gsi_common.mk
2019-02-02 00:27:37 +00:00
Anton Hansson
80c80804f0 Merge product_services into product by default
Noone is intended to use product_services for now, so make
product_services modules merge in product by default.

Bug: 113098451
Test: boot blueline
Test: boot walleye
Change-Id: Id13487e40afe4ae581fac027c8c075798c26c7e8
2019-02-01 15:04:44 +00:00
SzuWei Lin
323be83a66 Enable mainline checking for all GSI targets
There are some makefile inherit from aosp_$arch*.mk. This patch
change to only enable mainline checking on excat GSI targets,
such as aosp_$arch or aosp_$arch_(a|ab), and does not apply on
the child targets.

This patch also add some more whitelist items to gsi_common.mk

Bug: 123613261
Test: aosp_arm64-userdebug build pass
Test: remove some whitelist items and aosp_arm64-userdebug build fail
Test: sdk_phone_arm64-eng build pass
Test: gsi_arm64-userdebug build pass
Change-Id: I1772a55ab823a0312b9f215f0d2c3b0c727c8e4b
2019-02-01 15:30:28 +08:00
SzuWei Lin
ce1fdb2f55 Change aosp_$arch.mk to inherit from gsi_common.mk
The patch changes GSI (aosp_$arch) to inherit from gsi_common.mk
instead of aosp_base_telephony.mk.

The patch also clones the emulator_vendor.mk from emulator.mk to
include all vendor modules.

Bug: 119747870
Test: boot aosp_arm64-userdebug on a blueline device on master/P
Test: boot aosp_x86-userdebug on the emulator
Test: boot aosp_x86_64-userdebug on the emulator
Test: compare the out folder with/without the patch, only more content
Change-Id: Ibd398d4f93d2a964813e05ccd434975435d25adc
2019-02-01 11:29:02 +08:00
SzuWei Lin
f6f5d8ad09 Change Legacy GSI to inherit from gsi_common.mk
The patch change Legacy GSI (aosp_$arch_(a|b)) to inherit from
gsi_common.mk instead of treble_common.mk

It does not inherit from gsi_common.mk directy. The patch adds
legacy_gsi_common.mk to extend gsi_common.mk, and all Legacy
GSI inherit from legcay_gsi_common.mk.

The patch also removed treble_common*.mk.

Bug: 119747870
Test: flash aosp_arm64_ab-userdebug on blueline P
Test: flash aosp_arm64_ab-userdebug on walleye O-MR1
Change-Id: If54760484cc0937719c1336f1a4caac8468d2009
2019-02-01 11:29:02 +08:00
SzuWei Lin
54ea4b763a Whilelist system/product_services in gsi_common.mk
GSI could include system/product_services to override the content
in product_services partition, so whitelist the folder.

Bug: 119747870
Test: build a build target has prodcut_services and
Test: inherit gsi_common.mk
Change-Id: Ied201aad88d75ef85258c24e8a2a4952b968ff3f
2019-02-01 11:29:02 +08:00
Steven Moreland
5bc1844b2a mainline_system -= ...tests.libhwbinder@1.0-impl
Tests are configured to load this statically now.

Fixes: 122456128
Test: libhwbinder_benchmark, hwbinderThroughputTest, libhwbinder_latency
Change-Id: I5cd53642d8b6ddb85e79fd231280b9d26ce3ee35
2019-02-01 01:56:29 +00:00
Mathieu Chartier
1f66faaa80 Merge "Remove USER exclusion for dalvik.vm.dex2oat-resolve-startup-strings"
am: 4bd3fe9565

Change-Id: I3f56919885be9a5d105567bc1dfa737e27815bc5
2019-01-31 13:36:45 -08:00
Sasha Smundak
9f27cc0af5 Provide an option to reduce build verbosity
If ANDROID_QUIET_BUILD environment variable is set, do not print
build timing and colorized summary result.

Test: treehugger
Change-Id: I7ae3f8eb407df470837560706f06e5785911828c
2019-01-31 13:30:26 -08:00
Mathieu Chartier
4bd3fe9565 Merge "Remove USER exclusion for dalvik.vm.dex2oat-resolve-startup-strings" 2019-01-31 21:23:27 +00:00
Adrian Roos
840b7b3df2 Merge "Remove dependencies on hiddenapi files with UNSAFE_DISABLE_HIDDENAPI_FLAGS=true"
am: 61ae763ec4

Change-Id: I18cb7ba88aba2c40a0ed1b135fa1875ae3596fb8
2019-01-31 11:38:38 -08:00
Treehugger Robot
61ae763ec4 Merge "Remove dependencies on hiddenapi files with UNSAFE_DISABLE_HIDDENAPI_FLAGS=true" 2019-01-31 19:25:59 +00:00
Yifan Hong
b35937ca55 Merge "Add kernel info to compatibility.zip"
am: 5cc9230914

Change-Id: I0884bc155efe99f691af10eb2252cd223e0d9258
2019-01-31 11:18:01 -08:00
Colin Cross
d880f0ba95 Merge "Fix linker_asan[64] apex bootstrap build error"
am: ca8ec381a0

Change-Id: Ic679601af9116b6997add7cb9c3fa599d10778d9
2019-01-31 11:17:01 -08:00
Yifan Hong
5cc9230914 Merge "Add kernel info to compatibility.zip" 2019-01-31 19:06:19 +00:00
Colin Cross
ca8ec381a0 Merge "Fix linker_asan[64] apex bootstrap build error" 2019-01-31 19:05:59 +00:00
Dan Willemsen
a3f5b09c42 Merge "Deprecate LOCAL_MODULE_TAGS := eng/debug"
am: a734907705

Change-Id: I9b5469b27aa18e95010c52f41116ccf24045dd23
2019-01-31 10:40:32 -08:00
Dan Willemsen
a734907705 Merge "Deprecate LOCAL_MODULE_TAGS := eng/debug" 2019-01-31 18:32:16 +00:00
Mathieu Chartier
42ce38236a Remove USER exclusion for dalvik.vm.dex2oat-resolve-startup-strings
Aims to have more consistency between user and userdebug builds.

Bug: 116059983
Test: make

Change-Id: I4f8bdbdd9c3983d04d956a4993d9de60f5f60664
2019-01-31 09:53:52 -08:00
Calin Juravle
536c2d3de8 Merge "Count hotness in system server compiled code"
am: 4f3f03c09b

Change-Id: I7898cae0de71abe8eee28dda40248a4a375572fb
2019-01-31 09:28:09 -08:00
Treehugger Robot
4f3f03c09b Merge "Count hotness in system server compiled code" 2019-01-31 17:19:38 +00:00