Skip to content

Commit 9a1af8d

Browse files
committed
Merge branch 'lineage-18.1' into eleven
2 parents 674ae27 + 212b379 commit 9a1af8d

File tree

70 files changed

+882
-431
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+882
-431
lines changed

build/envsetup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ function dopush()
837837
CHKPERM="/data/local/tmp/chkfileperm.sh"
838838
(
839839
cat <<'EOF'
840-
#!/system/xbin/sh
840+
#!/system/bin/sh
841841
FILE=$@
842842
if [ -e $FILE ]; then
843843
ls -l $FILE | awk '{k=0;for(i=0;i<=8;i++)k+=((substr($1,i+2,1)~/[rwx]/)*2^(8-i));if(k)printf("%0o ",k);print}' | cut -d ' ' -f1
@@ -883,7 +883,7 @@ EOF
883883
fi
884884
adb shell restorecon "$TARGET"
885885
;;
886-
/system/priv-app/SystemUI/SystemUI.apk|/system/framework/*)
886+
*/SystemUI.apk|*/framework/*)
887887
# Only need to stop services once
888888
if ! $stop_n_start; then
889889
adb shell stop

build/soong/Android.bp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,23 @@ ignores_ftp_pptp_conntrack_failure_defaults {
174174
},
175175
}
176176

177+
soong_config_module_type {
178+
name: "needs_camera_boottime",
179+
module_type: "cc_defaults",
180+
config_namespace: "lineageGlobalVars",
181+
bool_variables: ["needs_camera_boottime"],
182+
properties: ["cppflags"],
183+
}
184+
185+
needs_camera_boottime {
186+
name: "needs_camera_boottime_defaults",
187+
soong_config_variables: {
188+
needs_camera_boottime: {
189+
cppflags: ["-DTARGET_CAMERA_BOOTTIME_TIMESTAMP"],
190+
},
191+
},
192+
}
193+
177194
soong_config_module_type {
178195
name: "needs_netd_direct_connect_rule",
179196
module_type: "cc_defaults",

build/target/product/AndroidProducts.mk

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ PRODUCT_MAKEFILES := \
2626
$(LOCAL_DIR)/lineage_tv_arm.mk \
2727
$(LOCAL_DIR)/lineage_tv_arm64.mk \
2828
$(LOCAL_DIR)/lineage_tv_x86.mk \
29-
$(LOCAL_DIR)/lineage_tv_x86_64.mk
29+
$(LOCAL_DIR)/lineage_tv_x86_64.mk \
30+
$(LOCAL_DIR)/lineage_car_arm64.mk \
31+
$(LOCAL_DIR)/lineage_car_x86_64.mk
3032

3133
COMMON_LUNCH_CHOICES := \
3234
lineage_arm-userdebug \
@@ -40,4 +42,6 @@ COMMON_LUNCH_CHOICES := \
4042
lineage_tv_arm-userdebug \
4143
lineage_tv_arm64-userdebug \
4244
lineage_tv_x86-userdebug \
43-
lineage_tv_x86_64-userdebug
45+
lineage_tv_x86_64-userdebug \
46+
lineage_car_arm64-userdebug \
47+
lineage_car_x86_64-userdebug
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Copyright (C) 2018-2020 The LineageOS Project
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
include vendor/lineage/build/target/product/lineage_generic_car_target.mk
16+
17+
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_arm64.mk)
18+
19+
TARGET_NO_KERNEL_OVERRIDE := true
20+
21+
PRODUCT_NAME := lineage_car_arm64
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Copyright (C) 2018-2020 The LineageOS Project
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
include vendor/lineage/build/target/product/lineage_generic_car_target.mk
16+
17+
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_x86_64.mk)
18+
19+
PRODUCT_NAME := lineage_car_x86_64
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Copyright (C) 2019-2020 The LineageOS Project
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
$(call inherit-product, vendor/lineage/config/common_car.mk)
16+
$(call inherit-product, device/generic/car/emulator/aosp_car_emulator.mk)
17+
18+
EMULATOR_VENDOR_NO_SENSORS := true
19+
EMULATOR_VENDOR_NO_SOUND := true
20+
21+
# Allow building otatools
22+
TARGET_FORCE_OTA_PACKAGE := true

build/tasks/bacon.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818

1919
LINEAGE_TARGET_PACKAGE := $(PRODUCT_OUT)/$(LINEAGE_VERSION).zip
2020

21-
MD5 := prebuilts/build-tools/path/$(HOST_PREBUILT_TAG)/md5sum
21+
SHA256 := prebuilts/build-tools/path/$(HOST_PREBUILT_TAG)/sha256sum
2222

2323
.PHONY: bacon
2424
bacon: $(INTERNAL_OTA_PACKAGE_TARGET)
2525
$(hide) ln -f $(INTERNAL_OTA_PACKAGE_TARGET) $(LINEAGE_TARGET_PACKAGE)
26-
$(hide) $(MD5) $(LINEAGE_TARGET_PACKAGE) | sed "s|$(PRODUCT_OUT)/||" > $(LINEAGE_TARGET_PACKAGE).md5sum
26+
$(hide) $(SHA256) $(LINEAGE_TARGET_PACKAGE) | sed "s|$(PRODUCT_OUT)/||" > $(LINEAGE_TARGET_PACKAGE).sha256sum
2727
@echo "Package Complete: $(LINEAGE_TARGET_PACKAGE)" >&2
2828
@echo "Build is getting done..." >&2
2929
$(hide) bash vendor/lineage/build/tools/cipher.sh

0 commit comments

Comments
 (0)