Commit Graph

124 Commits

Author SHA1 Message Date
Nicolas Geoffray
aaea0921f4 Update in pinned files.
Remove or update paths that don't exist.

Bug: 119800099
Test: boots
Change-Id: Ib2cea88499cf08274d620d9d85ffcafc31fee868
2020-02-07 14:02:18 +00:00
Automerger Merge Worker
05423b4d1a Taimen and walleye still use BUILD_COPY_HEADERS am: a3e5d7a9d1 am: 6d1fee156c am: 585dcf45a7
Change-Id: Ief931f5346d96f84d69cb15ba64abe21868d716b
2020-01-29 22:03:41 +00:00
Dan Willemsen
a3e5d7a9d1 Taimen and walleye still use BUILD_COPY_HEADERS
Bug: 130719878
Test: turn copy headers into an error by default; still builds
Change-Id: Idf228b2e8c4a4d93c3ad43fcd9995564d4feb67d
2020-01-29 10:38:13 -08:00
Anthony Stange
d3b77449d8 Define CHRE daemon variables and remove rc config
Define CHRE_DAEMON_USE_SDSPRPC for wahoo since the daemon needs it to
be built properly now.

Additionally, the daemon's init.rc config is now included as part of the
daemon makefile so remove it from the device's init.hardware.rc.

Bug: 139693714
Test: compile
Change-Id: I0aaf7a3d965abeac63f4f62d743e655be3bebc09
2019-10-24 14:01:26 -04:00
Inseob Kim
be3c8797c8 Merge "Revert "Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW"" am: 34dbd6a44e am: 6a541d4dfd am: 916dfa25cb
am: b3b009a56f

Change-Id: Ib35f1331edd18d175f18302fb943239b82f8f55a
2019-10-16 22:22:46 -07:00
Inseob Kim
f17459f4ea Revert "Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW"
This reverts commit 98ebf2cf85.

Reason for revert: Original CL was workaround and doesn't need after aosp/1143969 is merged

Change-Id: Ie232b5288adfd3b90ff1b71c396512a013dcced8
2019-10-16 03:28:05 +00:00
Inseob Kim
98ebf2cf85 Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW
A new sysprop neverallow rules are mandatory only for devices launching
with R or later. For devices already launched, neverallow rules can be
relaxed with adding following line to BoardConfig.mk:

BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW := true

Bug: 131162102
Test: Set PRODUCT_SHIPPING_API_LEVEL := 30 and try building with
changing some system_public_prop to system_internal_prop
Test: m cts sepolicy_tests

Change-Id: Ia215fdcc39d82487446b9972325d8b344945965d
Merged-In: Ia215fdcc39d82487446b9972325d8b344945965d
(cherry picked from commit 7d61bcd7ec)
2019-10-15 09:29:27 +09:00
Inseob Kim
7d61bcd7ec Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW
A new sysprop neverallow rules are mandatory only for devices launching
with R or later. For devices already launched, neverallow rules can be
relaxed with adding following line to BoardConfig.mk:

BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW := true

Bug: 131162102
Test: Set PRODUCT_SHIPPING_API_LEVEL := 30 and try building with
changing some system_public_prop to system_internal_prop
Test: m cts sepolicy_tests

Change-Id: Ia215fdcc39d82487446b9972325d8b344945965d
2019-10-14 16:36:02 +09:00
Jimmy Chen
9f2a72251d wifi: move supplicant service init to wpa_supplicant
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
2019-10-03 11:24:23 +08:00
Peiyong Lin
e756695946 Merge "Disable WCG on Pixel 2017." into qt-dev am: ec4f0d31b7 am: 28f8c81a72
am: 66efdd12e3

Change-Id: I987f4db1e774cabe1f5df401af54290f64cc6ca3
2019-06-19 17:55:57 -07:00
Peiyong Lin
28f8c81a72 Merge "Disable WCG on Pixel 2017." into qt-dev
am: ec4f0d31b7

Change-Id: I588df7c7e3ffd6048d9bbaacad19c189835f1d97
2019-06-19 15:59:50 -07:00
Felix
69858412eb Merge "sepolicy: Use BOARD_VENDOR_SEPOLICY_DIRS" am: 465af7237d am: 76f5a2774b am: 10be16ad26
am: 5aee2f1343

Change-Id: Ice1a4ba23506eddc402a3bafbe2a862b1708469f
2019-06-09 19:08:17 -07:00
Felix
10be16ad26 Merge "sepolicy: Use BOARD_VENDOR_SEPOLICY_DIRS" am: 465af7237d
am: 76f5a2774b

Change-Id: I95786c7551c0905ecf8d868e8c0f5dbf067e5cb3
2019-06-09 18:57:16 -07:00
Felix
f0489c2c31 sepolicy: Use BOARD_VENDOR_SEPOLICY_DIRS
BOARD_SEPOLICY_DIRS is deprecated.

Change-Id: I046282b2a2e8c541726fb29cb0044503322d4be9
2019-05-28 14:05:51 +02:00
Mikhail Naganov
b8dc3e7b40 Remove USE_XML_AUDIO_POLICY_CONF build flag
This flag is no more used by the build files and should
be removed.

Bug: 132435217
Test: make
Change-Id: Ie6031a533cff485a51a42a390e1975ad1d6bd3d8
2019-05-13 13:54:04 -07:00
Tao Bao
3c6739263e Merge "AB_OTA_UPDATER is BoardConfig variable." am: aa1f12d326
am: 568277c5c1

Change-Id: I2a068a75ee14ea2a22a95a44d35449de8bf7fd70
2019-05-09 11:21:11 -07:00
Tao Bao
0221fd9684 AB_OTA_UPDATER is BoardConfig variable.
Bug: 130433003
Test: TreeHugger
Change-Id: I70c7a884df45781e8b14339edd02985ba3de02fd
2019-05-08 20:54:19 -07:00
Peiyong Lin
54e0e7cec4 Disable WCG on Pixel 2017.
The hardware on Pixel 2017 needs at least 8 ms to reprogram the 3D LUT when
switching to WCG, which results in jank in window transition. This basically
makes Pixel 2017 not possible to use WCG, thus disable WCG on Pixel 2017.

BUG: 128866081
Test: Build, flash and boot.
Change-Id: I70ba35f2ad22933cb6a05941a41ab4b43f145e1f
2019-05-04 06:02:33 +00:00
TreeHugger Robot
2a2fa8d3af Merge "Change to system properties" 2019-03-01 06:39:43 +00:00
Nicolas Geoffray
bd7ffbb943 Generate the apex image for wahoo devices. am: d4c0b2d1ba am: da4056b409
am: 416a6298c7

Change-Id: Ia5dfca4015e822978accc502316becd5f26703f0
2019-02-25 21:05:10 -08:00
Nicolas Geoffray
d4c0b2d1ba Generate the apex image for wahoo devices.
Bug: 119800099
Test: m
Change-Id: I18a76766590db27a4c32534dc948f55f78da166c
2019-02-22 16:09:41 +00:00
Sundong Ahn
cc2b2948a1 Change to system properties
The build configs which are using in configstore 1.2 are changed to
system properties. Since configstore 1.2 will be deleted.

Bug: 124531214
Test: build & boot
Test: adb shell lshal | grep configstore & check configstore 1.2
Change-Id: I997809adc41246c338994d3676e0fd296ccd4ca7
2019-02-22 12:03:39 +09:00
Paul Lawrence
1f10e3dba5 Merge "Enable user data checkpoint on Wahoo" 2019-02-13 13:13:21 +00:00
Paul Lawrence
e2740d3b24 Enable user data checkpoint on Wahoo
Bug: 119769411
Test: boots to SUW, upgrades and commits, can reboot in checkpoint
      mode many times to test restore
Change-Id: Ie3aa79b2838d654062bd9f5bd27b20561ce3e848
2019-02-12 14:12:13 -08:00
Tom Cherry
951d68b4c6 Move to config.fs am: 5434bb60e8 am: 75785c93bf
am: a5b2725d83

Change-Id: I2f2c69f33769d12a84d0dbe731c51ec04e0c00ca
2019-02-11 08:39:05 -08:00
Tom Cherry
5434bb60e8 Move to config.fs
TARGET_ANDROID_FILESYSTEM_CONFIG_H is soon to be deprecated, so move
to config.fs

Test: build
Change-Id: Ie987da844a8d6747eebc0886d70731eb1d0e4125
2019-02-08 17:58:38 -08:00
Justin Yun
4bcce943b3 Add option to increase inode count for test build am: 749615f25a am: f828e0e3ba
am: e1a2ca2ddb

Change-Id: Id183ff0e747f4a11724944f491114a5ef3d7f20d
2019-01-13 20:53:10 -08:00
Justin Yun
749615f25a Add option to increase inode count for test build
To build with VNDK snapshot libs we need more inode count for the
devices without product partition.

Define PRODUCT_INCREASE_INODE_COUNT=true to double the INODE_COUNT.
This is available only for test builds, since it will consume some
space for system image.

Bug: 122706619
Test: PRODUCT_EXTRA_VNDK_VERSIONS=28 \
      PRODUCT_INCREASE_INODE_COUNT=true m -j

Change-Id: I7e57cf3d4896dbe38e6a112ef983894320026b42
2019-01-14 09:58:00 +09:00
Peiyong Lin
311fe7cee8 Turn on WCG on Pixel 2 devices.
BUG: 111436479
Test: Build, flash and boot, verify with demo app.
Test: atest CtsGraphicsTestCases
Change-Id: Idce8c7806a6d5074ed35721b31536fa169d21b36
2019-01-04 12:59:55 -08:00
Jasmine Cha
c5f0cbc67a Revert "audio: Enable Waves effect" am: 03e0999ed7
am: 7fb9e62983

Change-Id: I6aade46df678e60fd12db146c71a221b7db488c3
2018-11-08 15:44:13 -08:00
Jasmine Cha
7fb9e62983 Revert "audio: Enable Waves effect"
am: 03e0999ed7

Change-Id: I0f0bac1371c12e9da8bd2d37b866e7dbccb3b79b
2018-11-08 15:35:47 -08:00
Jasmine Cha
03e0999ed7 Revert "audio: Enable Waves effect"
This reverts commit c1a57ef036.

Reason for revert:
There are regressions and it needs more time to debug.
We decide to revert it first since the cutoff data of Feb. QPR is close.
bug: 119152162

Change-Id: Iabf587b8da713dd79b734c27d912eed86635dd59
2018-11-08 07:44:02 +00:00
Jasmine Cha
8b6ec3fdf7 audio: Enable Waves effect am: c1a57ef036
am: 32e4687554

Change-Id: I244f055f4fbe9eb0e05a676110a942d5528daba9
2018-10-05 13:52:24 -07:00
Jasmine Cha
32e4687554 audio: Enable Waves effect
am: c1a57ef036

Change-Id: I1f0921367adb5a71d10b5b21279c475a1069533c
2018-10-05 13:44:57 -07:00
Jasmine Cha
c1a57ef036 audio: Enable Waves effect
- turn on config and add effect library for Waves effect

Bug: 111283341
Test: build pass and manual audio test on product/aosp

Change-Id: Idba8eb83a88e3aa4f254b5ab4beddaa6a4477cd8
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2018-10-03 09:22:06 +00:00
Peiyong Lin
6fa3931614 Add TARGET_USE_COLOR_MANAGEMENT for Pixel 2017 devices.
BUG: 111505327
Test: Build, flash and check Natural/Boosted mode.
Change-Id: I7ccafdaa522f6bbfbbfea52e91e5e9b52de082ab
2018-08-08 10:03:37 -07:00
Dan Willemsen
c6a673fef9 taimen&walleye builds have overriding commands
am: 55a3497cda

Change-Id: I3121733556846b51e3134c636b8ee7419cfdf821
2018-06-20 10:01:54 -07:00
Dan Willemsen
55a3497cda taimen&walleye builds have overriding commands
These products have warnings about overriding build commands, which
means that there are multiple instructions on how to build a file, and
we've just picked one of them. Which one we pick is usually stable, but
it can change.

Bug: 77611511
Test: turn default to false, walleye still uses a warning
Change-Id: I11d194863b313f64b19291f65219682b169d9ced
2018-06-19 22:28:20 -07:00
Paul Crowley
5cb44010b2 Remove device-specific metadata policy that's now in platform.
Bug: 79781913
Test: compiles
Change-Id: Ie632d1a4c44f491415ae9bb2ceb1264f0cfa5096
2018-05-21 12:01:22 -07:00
Andrew Chant
4eb8b24b07 Change USB autosuspend delay to 7s by commandline.
b/71936484 has audio accessories failing to connect
when there's a transition to suspend when they're attempting
to enumerate.

Avoid this problem by increasing autosuspend delay
from the default 2s to 7s.

The longest I've seen a device take to enumerate after
vbus is ~3 seconds, this gives a 2x margin.

Test: booted on Walleye, saw no more messages:
[  472.412555] c0   5675 msm-dwc3 a800000.ssusb: DWC3 in low power mode
between device connection and enumeration.

Bug: 71936484
Change-Id: Ic655f2ce6dec429510cc7c00452da4d49f2392b0
2018-05-09 11:28:00 -07:00
Yifan Hong
fb257f8c76 Revert "health HAL: overrides healthd."
This reverts commit 6c41af4807.
This is a partial revert; CleanSpec.mk is not reverted.

Reason for revert: prevents boot with O-MR1 vendor + P system

Test: boots

Change-Id: Ib573f525da836f12201fd0f9793441a9fed31969
Fixes: 78550051
2018-04-25 14:18:57 -07:00
Yifan Hong
6c41af4807 health HAL: overrides healthd.
healthd should not be installed on the device

Test: lshal -i | grep IHealth/backup fails
Test: lshal debug android.hardware.health@2.0::IHealth/backup
      shows nothing
Test: vts_treble_vintf_test shows nothing about /backup
      instance

Bug: 77541952
Change-Id: I1479da3394ee7bb0f3fba8b6bcb4e12b50ed8190
2018-04-05 19:06:54 -07:00
Yifan Hong
0569fc6852 Specify DEVICE_FRAMEWORK_COMPAT_MATRIX
Test: builds (check vintf metadata)
Bug: 65028233

Change-Id: I6a0b6b7377a511be5a35a013712fd28795861b93
2018-03-23 17:00:27 -07:00
Petri Gynther
e176b1e9d1 Walleye/Taimen: switch to QCOM BT HAL
The flag definition:
BOARD_USES_SDM845_BLUETOOTH_HAL := true

adds SDM845 Bluetooth components to the build:
vendor/qcom/sdm845/proprietary/bluetooth/hidl_transport/Android.mk
vendor/qcom/sdm845/proprietary/bt/hci_qcomm_init/Android.mk

and removes MSM8998 Bluetooth components from the build:
vendor/qcom/msm8998/prebuilts/grease/target/product/msm8998/Android.mk
vendor/qcom/msm8998/proprietary/proprietary/bt/hci_qcomm_init/Android.mk

Effectively, Walleye/Taimen switch to the same QCOM BT HAL as B1/C1.

Bug: 73968979
Test: Manual build and test with BT A2DP headphones

(cherry picked from commit 7c2dc1679d)

Change-Id: I4d6444932a807e573f6e8d88c6ad4ba4de8f277a
2018-03-09 13:07:02 -08:00
Ajay Nambi
87b0264022 Move AtFwd hal from device to framework manifest.
AtFwd hal is implemented as an android service and
it stars from system partition, that is, it's not
a traditional vendor hal and hence it should be
declared in the framework manifest and not in the
device manifest.
This commit introduces new device specific framework
manifest (framework_manifest.xml) and moves AtFwd hal
from device to framework manifest.

Bug: 68662838
Test: vts_treble_vintf_test atcmdfwd service is served

Change-Id: I9df05206fbe067ddf19a96fc52aba6b2cc922172
(cherry picked from commit b2895ddbcf1cc0b8986b4a80a43a3f0b6eb9fd66)
2018-02-16 23:59:40 +00:00
Nicolas Geoffray
7108ed5b85 Remove copy/pasta code around DEX_PREOPT.
Test: m
Change-Id: I4300eb093ece3293071b81a7f908fa181fbdaacd
2018-01-17 11:23:33 +00:00
Chenjie Luo
d2afaced27 Revert "Use TARGET_EASEL_VARIANT := amber for Pixel 2017"
This reverts commit 2426e17acb.

Reason for revert: moved to vendor

Change-Id: I0971b89ad22599f01b3406fe4641bea9d2f721f5
2017-12-28 18:58:59 +00:00
Chenjie Luo
2426e17acb Use TARGET_EASEL_VARIANT := amber for Pixel 2017
Bug: 70639754
Test: Build pass
Change-Id: Ie2127b936318acd516deba975b1b37a45d4b1190
2017-12-27 10:01:25 -08:00
Isaac Chen
b74b44f09e Set TARGET_2ND_ARCH_VARIANT to armv8-a
Taimen and Walleye are armv8 devices. Setting TARGET_2ND_ARCH_VARIANT
to armv8-a, instead of armv7-a-neon, can silence the related warning
during build.

Bug: 68012286
Test: lunch aosp_taimen; make -j
      lunch aosp_walleye; make -j

Change-Id: I9c81e614a7f103cd93c9c2d915d53577e8d19d2d
Merged-In: I9c81e614a7f103cd93c9c2d915d53577e8d19d2d
(cherry picked from commit 2195c105e5)
2017-12-23 11:43:12 +00:00
Jiyong Park
53590fd551 Revert "Disable VNDK runtime enforcement temporarily"
VNDK is enforced at runtime for wahoo.
This reverts commit dfcb2806f2.

Bug: 37192038
Test: wahoo boots to the UI
Test: basic functionalities work (camera, camcorder - including slow-mo,
wifi, bt, youtube, call, message)
Test: No regression on VTS and CTS (http://b/64817148)
2017-08-22 13:56:29 +09:00