Commit Graph

25714 Commits

Author SHA1 Message Date
Yifan Hong
7a532ab1e9 Add timestamp to ramdisk.
Add a build.prop file for ramdisk. Properties uses the
name ro.[product.]bootimage*.

These ro.[product.]bootimage.* properties are also included in recovery
properties.

The file is installed to boot/etc/build.prop under ramdisk.

On devices with dedicated recovery partition, the file is
installed to ramdisk/, which is installed to the ramdisk in the boot
image. The file is NOT installed to recovery/root to prevent
collision.

On devices with recovery_as_boot, in addition to ramdisk/, it is also
installed to recovery/root, which is installed to the ramdisk in the
boot image.

Test: m bootimage and inspect output
Bug: 169169031
Bug: 162623577

Change-Id: I94b993ce3214356036d038b6db57c4e1b755c111
2020-10-06 16:10:38 -07:00
The Android Open Source Project
a4c45b8d52 DO NOT MERGE - Merge RP1A.201005.006
Bug: 168212094
Merged-In: Id3cbd4d6528f827eba6ac410ba2eb92d91d40901
Change-Id: Ic9c7b4d7339ab624418c1fbc95e66674cffdef71
2020-10-06 16:48:22 +00:00
Treehugger Robot
70b4738324 Merge "Remove build tasks for vts10" 2020-10-06 03:30:31 +00:00
Jooyung Han
a00c0f1f23 Merge "Use file_contexts for flattened apexes" 2020-10-06 03:26:14 +00:00
Treehugger Robot
b1fbb747b8 Merge "tasks: find-sharedui-violation: Partition location" 2020-10-06 02:14:47 +00:00
android-build-team Robot
6d6590b55f Version bump to RQ1A.201004.002 [core/build_id.mk]
Change-Id: I168d3d782a3e3f079e86e5ee1bf37ab6f8be3170
2020-10-05 23:36:19 +00:00
Dan Shi
82c4cb74c6 Remove build tasks for vts10
Bug: 169581727
Test: build
Change-Id: I865553ae07bc6eac3b90f87a494537102c398280
2020-10-05 10:17:21 -07:00
android-build-team Robot
3c31d572f4 Make change and version bump to RQ1A.201004.001
Change-Id: I5c8774e902f3b461d792666442dd2b1a2439b044
2020-10-03 21:16:25 +00:00
android-build-team Robot
b2980ef786 Make change and version bump to RQ1A.201003.001
Change-Id: I0783dea2d9e13d225110688ea679fb8f2481a003
2020-10-02 23:16:41 +00:00
Yifan Hong
fb54beb4f4 Merge "Fix boot-* to kernel-* dependency" am: 871e3c6032 am: eddd0d6967
Original change: https://android-review.googlesource.com/c/platform/build/+/1442279

Change-Id: Ia1d7ed6f106085438a2c9f1ee5c7e7e6875ffa18
2020-10-02 19:51:06 +00:00
Yifan Hong
871e3c6032 Merge "Fix boot-* to kernel-* dependency" 2020-10-02 18:43:12 +00:00
Po-Chien Hsueh
947473c73b Merge "Filter out host paths on platform-availability-check errors" am: 2a5719c809 am: 2c3e8064ef
Original change: https://android-review.googlesource.com/c/platform/build/+/1440896

Change-Id: I759df7ad0e1adfbdc0a4853bb2ce105bab33d58c
2020-10-02 04:32:50 +00:00
android-build-team Robot
7435d591ba Make change and version bump to RQ1A.201002.001
Change-Id: I8d7b0cdc817ca0b38af057da36b5db80d46f94df
2020-10-01 23:22:07 +00:00
android-build-team Robot
8630f155e1 Make change and version bump to RQ1A.201001.001
Change-Id: I2fa28351b477753ae21a1fc9a4ae210e5025e5fd
2020-09-30 23:19:46 +00:00
Yifan Hong
3e0b5d0355 Fix boot-* to kernel-* dependency
For example, if BOARD_KERNEL_BINARIES contains kernel-5.4, make sure
boot-5.4.img depends on kernel-5.4.

Test: remove kernel-5.4 from out directory then build boot image
Fixes: 169725104
Change-Id: I85624f3595c1a698bc27d19c73349138bb6e9e8c
2020-09-30 11:54:04 -07:00
Po-Chien Hsueh
e3b44f551c Filter out host paths on platform-availability-check errors
If a module, which is installed to both the host and the platform,
fails the platform-availability-check, the build system might use
the host install path to report errors. Filter out the host install
path so that the platform install path is used.

Bug: 169393514
Test: make
Change-Id: Ib39715ffc45cc32e3bd7ce5f2a3725d243f3237f
2020-09-30 08:18:03 +00:00
android-build-team Robot
5776464aa4 Make change and version bump to RQ1A.200930.001
Change-Id: I4f2f1fff01364318e5a88e46cc3cd420a7d01703
2020-09-29 23:19:06 +00:00
Yifeng Zeng
4bead4d180 Merge "Copy generated $(SOONG_OUT_DIR)/module_bp_java_deps.json file to dist when SOONG_COLLECT_JAVA_DEPS flag is set." am: 97a498b177 am: f54e9714bc
Original change: https://android-review.googlesource.com/c/platform/build/+/1439143

Change-Id: Idb4076cf060bdf358f4f54a042f30fc95e62743c
2020-09-29 04:45:16 +00:00
android-build-team Robot
b50dc0a71e Make change and version bump to RQ1A.200929.001
Change-Id: I6e5048d7c9d721a7a92d6101cea977c5baa3af9c
2020-09-28 23:18:54 +00:00
Yifeng Zeng
d17bffd01f Copy generated $(SOONG_OUT_DIR)/module_bp_java_deps.json file to dist when SOONG_COLLECT_JAVA_DEPS flag is set.
Test: build/soong/soong_ui.bash --make-mode SKIP_ABI_CHECKS=true SOONG_COLLECT_JAVA_DEPS=true TARGET_PRODUCT=aosp_cf_x86_phone TARGET_BUILD_VARIANT=userdebug droid dist DIST_DIR=/usr/local/google/home/yifengzeng/temp EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true CLANG_COVERAGE=true NATIVE_COVERAGE_PATHS="*" NATIVE_COVERAGE_EXCLUDE_PATHS="art bionic/libc device" tests

Bug: 168755196
Change-Id: Id13d3a4579734bc70bc0ce3463a05ee9a052f1dc
2020-09-28 23:16:51 +00:00
android-build-team Robot
ea883a88bf Version bump to RP1A.201105.002 [core/build_id.mk]
Change-Id: Ia242f24f086a1b16507923f96ae8eb76983172d9
2020-09-28 20:59:20 +00:00
Martin Stjernholm
66990f95b3 Merge "Do not chmod the symlink target when a prebuilt binary is symlinked." am: 0de50208a3 am: c14071eb7d
Original change: https://android-review.googlesource.com/c/platform/build/+/1439191

Change-Id: Ib861b5d8326dd987caf7297b7b9214ac41ffadc1
2020-09-28 14:03:38 +00:00
Martin Stjernholm
0de50208a3 Merge "Do not chmod the symlink target when a prebuilt binary is symlinked." 2020-09-28 13:02:33 +00:00
Yo Chiang
d292b04bd9 Merge changes from topic "exclude-system-shared-libs-from-elfcheck-suggestions" am: d311799206 am: 8e1fcee324
Original change: https://android-review.googlesource.com/c/platform/build/+/1434012

Change-Id: I7ad43461afc3a2a0d6e7ddc067418a90e937af83
2020-09-28 04:31:07 +00:00
Logan Chien
f4dd14c323 Exclude system shared libs from fix suggestion am: 751a987bcc am: 8abf06faa4
Original change: https://android-review.googlesource.com/c/platform/build/+/1190333

Change-Id: I1615ca636f1e09468a4eea39bd80125c03a50916
2020-09-28 04:31:03 +00:00
Logan Chien
8abf06faa4 Exclude system shared libs from fix suggestion am: 751a987bcc
Original change: https://android-review.googlesource.com/c/platform/build/+/1190333

Change-Id: Ie9ff04af02f76aa0aafd934aa1cb8d13b041bdd0
2020-09-28 04:13:26 +00:00
Yo Chiang
d311799206 Merge changes from topic "exclude-system-shared-libs-from-elfcheck-suggestions"
* changes:
  Pass the value of system_shared_libs from Android.bp to check_elf_file.py
  Exclude system shared libs from fix suggestion
2020-09-28 03:54:27 +00:00
android-build-team Robot
d50fff1b2b Make change and version bump to RQ1A.200928.001
Change-Id: I223fc9c3a43ca6c47f613b31bb5577a826e3211f
2020-09-27 21:15:56 +00:00
android-build-team Robot
0718c85eba Make change and version bump to RQ1A.200927.001
Change-Id: I5e5a396cd3d0ece893b3fd1dac285c04d3088296
2020-09-26 21:17:19 +00:00
android-build-team Robot
d430516bfe Make change and version bump to RQ1A.200926.001
Change-Id: I604e6fbd29dd6c67493553013c56071b5069b25a
2020-09-25 23:16:28 +00:00
Dan Shi
3eaa8a785b Merge "Create a new package for hostside art tests" am: dc0359c0a7 am: eb9798954a
Original change: https://android-review.googlesource.com/c/platform/build/+/1437898

Change-Id: I9cef4be31ea4fba6ca8bf32fb4cabe2590ae589f
2020-09-25 21:16:32 +00:00
android-build-team Robot
aceafb8de2 Version bump to RQ1A.200925.002 [core/build_id.mk]
Change-Id: Ie88daccb2193553c8571e9cec8b15bbdc7e06b0c
2020-09-25 21:01:47 +00:00
Dan Shi
dc0359c0a7 Merge "Create a new package for hostside art tests" 2020-09-25 20:26:40 +00:00
Martin Stjernholm
2cfce9380e Do not chmod the symlink target when a prebuilt binary is symlinked.
It may be in a source tree that isn't writable. Instead check that
the target is executable.

Test: m
Test: chmod a-x system/sepolicy/tools/insertkeys.py && \
  rm -rf out/host out/soong/host && \
  m insertkeys.py
  Check that it fails with the expected error message.
Fixes: 169375644
Change-Id: I402d029dba45783127586ad9749c90012afe891d
2020-09-25 17:17:50 +01:00
android-build-team Robot
44a18c4b96 Make change and version bump to RQ1A.200925.001
Change-Id: Ie09ea56b717b58d8967453d4b1d5bc4db1e8ba0e
2020-09-24 23:16:23 +00:00
Dan Shi
f740f616bd Create a new package for hostside art tests
Bug: 169111770
Test: m -j art-host-tests
Change-Id: If54c218339080f031423f66c2925e4d3ca983d4b
2020-09-24 15:23:08 -07:00
Orion Hodson
ea7db8120e Remove implicit include path for jni.h
Bug: 152482542
Test: m checkbuild
Change-Id: I1479c35005033f60fb8f3a22bfabc3ee05d48b33
2020-09-24 14:43:26 +01:00
Yo Chiang
bdd9ec461e Pass the value of system_shared_libs from Android.bp to check_elf_file.py
Bug: 141925662
Test: Write a bad cc_prebuilt_library module and check fix suggestions
Change-Id: Iede63db4e92da68e2bf0eccdf124b3187ee3b87d
2020-09-24 13:17:07 +08:00
android-build-team Robot
7e90e9f6f9 Make change and version bump to RQ1A.200924.001
Change-Id: I391c8008357f3d64ef0e560390a2bcc95875f877
2020-09-23 23:17:23 +00:00
Jooyung Han
b27c2e8af9 Use file_contexts for flattened apexes
Because flattened apexes are installed in /<partition>/apex, associated
file_contexts file should be modified to accommodate path changes and
also merged into target-wide file_contexts.bin file.

Soong now emits modified file_contexts via LOCAL_FILE_CONTEXTS, and
these files are collected into a temporary file_contexts.modules.tmp
file, which is used as an additional input of file_contexts.bin.

Bug: 166518492
Test: m file_contexts.bin
      check the contents of file_contexts.concat.tmp file
Change-Id: I002a2294af9e06baeaf54bc5a9a5380d23b8a3da
2020-09-23 15:43:58 +00:00
android-build-team Robot
3a10bef99f Make change and version bump to RQ1A.200923.001
Change-Id: Ibad896768054109bece11a1f3595c9b59366c5d8
2020-09-22 23:16:23 +00:00
Logan Chien
751a987bcc Exclude system shared libs from fix suggestion
This commit removes system shared libs (e.g. libc, libdl, or libm) from
the prebuilt ELF check fix suggestion.

Bug: 141925662
Test: Write a bad Android.mk module and check fix suggestions
Change-Id: I4a827d07b24a976c1910b814126790abbeccc793
2020-09-22 18:55:11 +08:00
Treehugger Robot
c28696a085 Merge "remove unusued line_coverage.mk and build target" am: 89e9c8fbf1 am: 25d8e36d8e
Original change: https://android-review.googlesource.com/c/platform/build/+/1433466

Change-Id: I7cb7a2d99207e044b4bfe2aed81a14e557ac9cf2
2020-09-22 05:23:29 +00:00
Paul Scovanner
ea4696c8d1 Merge "Update Security String to 2020-11-05" into rvc-dev am: 83bdf4b296 am: 14f78f1016
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/12640642

Change-Id: Ie4c28804220e1b66122807ffa19937f5105ebbc5
2020-09-22 00:08:12 +00:00
Kris Alder
d78384a42d remove unusued line_coverage.mk and build target
These are no longer used in favor of clang-coverage-based solutions.

Bug: 162767128
Test: n/a
Change-Id: I8014b6b5ec5d46789e19dc399c1aa8ebd79a3012
2020-09-21 23:19:53 +00:00
Paul Scovanner
0a26b3e8c3 Merge "Update Security String to 2020-11-05" into rvc-dev am: 83bdf4b296
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/12640642

Change-Id: I968b0f241de3e1a70570ba248aca9984d605dbe3
2020-09-21 23:17:35 +00:00
android-build-team Robot
2b48e4f78e Make change and version bump to RQ1A.200922.001
Change-Id: If7a54123093db5cea5a6486fa304b57537c2b140
2020-09-21 23:16:53 +00:00
Ivan Lozano
08b98eb886 Merge "rust: Don't install static libraries." am: b8f47c50a6 am: 48d2472b38
Original change: https://android-review.googlesource.com/c/platform/build/+/1431731

Change-Id: Ia159e3e63c75ac28f282654f3ac61874f86d1b7c
2020-09-21 20:22:55 +00:00
Ivan Lozano
b8f47c50a6 Merge "rust: Don't install static libraries." 2020-09-21 19:38:28 +00:00
Roland Levillain
0ad025aeb3 Merge "Add new armv8-2a-dotprod arch variant support." am: 9f5b7aa9b2 am: 00c43dfae1
Original change: https://android-review.googlesource.com/c/platform/build/+/1426690

Change-Id: Ifd66d4f1314eb8836c9ec5fbb7fc255fd8986fc7
2020-09-21 18:21:58 +00:00