Commit Graph

48093 Commits

Author SHA1 Message Date
Jaewoong Jung 664b72abfe Merge "Make side change for prod override vars support." 2019-02-07 01:50:59 +00:00
Treehugger Robot 689e71c3b6 Merge "Don't enable CFI diagnostics in include paths." 2019-02-07 01:23:46 +00:00
Treehugger Robot bef15eb430 Merge "Provide an option to reduce build verbosity" 2019-02-06 21:47:27 +00:00
Treehugger Robot 7520513222 Merge "Allow for a separate recovery DTBO to be used for non-A/B devices." 2019-02-06 20:07:22 +00:00
Ivan Lozano 55220942ed Don't enable CFI diagnostics in include paths.
Don't enable CFI diagnostics by default when applying it in include
paths. Part of a broader effort to remove diagnostics mode from CFI
across the board.

This should reduce performance overhead and also allows the minimal
runtime to work when other ubsan sanitizers are enabled. CFI stack
dumps should include a CFI related function, so it should be apparent
when a crash is CFI-related.

Bug: 117417735
Test: make -j
Change-Id: I3d6326e06d7aa7d9c00382f336301ecb822ae7ec
2019-02-06 11:09:05 -08:00
Steven Moreland 7bd8753381 Merge "mainline_system -= ...tests.libhwbinder@1.0-impl" 2019-02-06 18:16:54 +00:00
Steven Moreland 6eadb628a1 Merge "Remove '-b' from AIDL." 2019-02-06 18:09:31 +00:00
Orion Hodson d2d3c048d0 Merge "Remove libsurfaceflinger_ddmconnection from PRODUCT_PACKAGES" 2019-02-06 08:51:39 +00: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 7bd32730a4 Merge "Add ashmemd to base_system.mk" 2019-02-05 21:38:50 +00: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 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 7d1e353834 Merge "Merge product_services into product by default" 2019-02-05 09:12:15 +00: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 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
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 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
Treehugger Robot 76f2628654 Merge "dynamic partitions: round partitions to BOARD_SUPER_PARTITION_ALIGNMENT" 2019-02-02 01:39:37 +00: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
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
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 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 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
Treehugger Robot 4f3f03c09b Merge "Count hotness in system server compiled code" 2019-01-31 17:19:38 +00:00
Logan Chien c6d2cf86d1 Fix linker_asan[64] apex bootstrap build error
This commit fixes `linker_asan[64]` apex bootstrap build errors.
Without this change, `make -j SANITIZE_TARGET=address` results in:

  FAILED: ninja: 'out/target/product/walleye/system/bin/linker_asan64',
  needed by 'out/target/product/walleye/system/bin/app_process64',
  missing and no known rule to make it

Test: lunch aosp_walleye-userdebug && make SANITIZE_TARGET=address
Change-Id: I980a36499cd327db307321fc8e4548925e7d56bf
2019-01-31 17:07:50 +08:00
Calin Juravle fae75af005 Count hotness in system server compiled code
Bug: 123665033
Test: manual: build & look at system server profile
Change-Id: Ia155073ee6f94424f2c22035283f688a495fba8c
2019-01-31 00:00:34 -08:00
Rett Berg 9d1aab10f3 Merge "add pathmod to envsetup.sh for making finding paths to modules easier" 2019-01-31 00:39:29 +00:00
Treehugger Robot aa615a1b2d Merge "DAP: building system_other.img for retrofit devices" 2019-01-30 22:52:35 +00:00
Jaewoong Jung 7dfae5023a Make side change for prod override vars support.
For the new override vars, we don't support make-based overrides because
their primary purpose is to enable Soong migrations for the ones that
use inherit-package.

Bug: 122957760
Test: Manual build tests with Browser2, BrowserGoogle, and Chrome
Change-Id: Ia685511391f61fe143774e12b3b67b526049962a
2019-01-30 14:48:50 -08:00
Mathieu Chartier 8fdf4e0f5b Merge "Enable resolution of startup const-string for non user builds" 2019-01-30 22:40:03 +00:00
Anton Hansson bb83cc2689 Merge "Fix RRO when LOCAL_EXPORT_PACKAGE_RESOURCES is unset" 2019-01-30 22:19:25 +00:00
Anton Hansson 9a50c1f438 Merge "Exempt some RROs from building against SDK" 2019-01-30 22:17:25 +00:00
Yifan Hong 770ab053b0 Add kernel info to compatibility.zip
Add kernel configs / version to verified_assembled_vendor_manifest.xml
so that the kernel of the incoming package can be checked against
the framework. Previously, the running kernel was used instead.

Bug: 111125947
Test: test_extract_kernel
Test: manual OTA on Pixel 3 from build:
      Android P (kernel version 4.9.96)
      to ToT build:
      device kernel version = (manually modified) framework requirement = latest,
      PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS = true

Change-Id: Id524a58e94bdb6bba348ca461c9d33614ce451a9
2019-01-30 13:28:03 -08:00