Commit Graph

25241 Commits

Author SHA1 Message Date
Treehugger Robot
385a043d90 Merge "Remove build tasks for vts10" am: 70b4738324 am: e57ea5ed1b
Original change: https://android-review.googlesource.com/c/platform/build/+/1449155

Change-Id: Idebca2d02a97631f7aa283ddf9e9075e97a7210f
2020-10-06 04:04:01 +00:00
Jooyung Han
c5b0744fe7 Merge "Use file_contexts for flattened apexes" am: a00c0f1f23 am: 674721e97f
Original change: https://android-review.googlesource.com/c/platform/build/+/1435451

Change-Id: I15c3e183a0e262fc926026dffd1522f20d288221
2020-10-06 04:01:24 +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
271dd85506 Merge "tasks: find-sharedui-violation: Partition location" am: b1fbb747b8 am: 5da79a1876
Original change: https://android-review.googlesource.com/c/platform/build/+/1321234

Change-Id: I7b713e9cfc1588dbb1fd6d42498a83ad538efde4
2020-10-06 02:57:53 +00:00
Treehugger Robot
b1fbb747b8 Merge "tasks: find-sharedui-violation: Partition location" 2020-10-06 02:14:47 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
Roland Levillain
9f5b7aa9b2 Merge "Add new armv8-2a-dotprod arch variant support." 2020-09-21 17:54:04 +00:00
Paul Scovanner
00d4c092a5 Update Security String to 2020-11-05
Bug: 168709737
Change-Id: I981139f21fb2ffcc9688aad02839a81ce6de6f5f
2020-09-18 20:32:40 +00:00
Ivan Lozano
3e3d0913a5 rust: Don't install static libraries.
Bug: 168729404
Test: Make no longer attempts to install static libraries.
Change-Id: Ifdfd486dfbb0d64e2aeb9738f88c4d4efcb0337a
2020-09-18 14:30:28 -04:00
Bill Yi
cf9e7f1929 Merge mainline-release 6664920 to master - DO NOT MERGE
Merged-In: I4bbc4aca7e21839ac5afd59cc3a13bf102138dd0
Change-Id: If6a82875aafd5d9d92763042e96b6f186efce004
2020-09-17 21:56:55 -07:00
Dan Shi
19c12e0d13 Merge "Force extra config file to be .config" am: 978a57a443 am: ff1b3b68f4
Original change: https://android-review.googlesource.com/c/platform/build/+/1429097

Change-Id: I38a944938d1b8dc2f1f98f00c1e41463f5ca97af
2020-09-17 04:48:42 +00:00
Dan Shi
ff1b3b68f4 Merge "Force extra config file to be .config" am: 978a57a443
Original change: https://android-review.googlesource.com/c/platform/build/+/1429097

Change-Id: I11ac4d28fe7eb9c093a7c9de9fc36071ba453b71
2020-09-17 04:14:40 +00:00
Paul Scovanner
54a44ba2c1 Update Security String to 2020-11-01 am: 727715f100
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/12617653

Change-Id: Ice75c00be0f6b2bc1a81a6b2eaf53991a097ebe4
2020-09-17 03:44:55 +00:00
Dan Shi
978a57a443 Merge "Force extra config file to be .config" 2020-09-17 03:23:30 +00:00
Yifan Hong
b9700337c6 Merge "Revert "Add modules partition."" am: 4e501b58b8 am: d90e24d120
Original change: https://android-review.googlesource.com/c/platform/build/+/1427713

Change-Id: I044ded925d9a011a6e31ef2b36967fe0cac380a5
2020-09-16 23:33:28 +00:00
Yifan Hong
d90e24d120 Merge "Revert "Add modules partition."" am: 4e501b58b8
Original change: https://android-review.googlesource.com/c/platform/build/+/1427713

Change-Id: I57769fd76a42e5450ce284da0c81540d5d081b90
2020-09-16 23:23:13 +00:00
Dan Shi
22bc099c02 Force extra config file to be .config
TradeFed only supports .config file as test config.

Bug: 163344047
Test: m HelloWorldTests

Change-Id: Ib963d04fc308b9c319d5b59f50f9ca9b5b575b72
2020-09-16 15:52:13 -07:00
Yifan Hong
4e501b58b8 Merge "Revert "Add modules partition."" 2020-09-16 22:45:54 +00:00
Paul Scovanner
727715f100 Update Security String to 2020-11-01
Bug: 168709737
Change-Id: I96489891caa4f5248c90be2d8c16327e1991e3bb
2020-09-16 19:16:48 +00:00
Raphael Gault
b817bb161d Add new armv8-2a-dotprod arch variant support.
This patch introduces the .mk file required to support build for the new
armv8-2a-dotprod Arm64 arch variant. The file just needs to be present
but does not require to contain anything.

Test: test-art-target on Pixel 4.

Change-Id: I4b6a1e306f9819cf31cd556351bd3e8cf08e2537
2020-09-16 14:53:06 +00:00
TreeHugger Robot
461c0d4620 Merge "Set RBE_DIR default value to point to prebuilts in tree." into rvc-dev 2020-09-15 23:30:18 +00:00
Yifan Hong
c08cbf0f4a Revert "Add modules partition."
Revert submission 1413808-modules_partition

Reason for revert: modules partition no longer needed
Reverted Changes:
Iceafebd85:Add modules partition
I2fa96199a:rootdir: Add modules directory
Ie397b9ec6:Add modules partition.
I4200d0cf5:fastboot: add modules partition

Bug: 163543381

Change-Id: Iec1d9421bbfeb114fb705f85d910c6def1f211b6
2020-09-15 19:09:26 +00:00
Kousik Kumar
b7a6cbae9c Merge "Rename wlist to allowlist" am: 4dc545879e am: da4ebad824
Original change: https://android-review.googlesource.com/c/platform/build/+/1425165

Change-Id: Iffedf02f0bc4880d579a181b40b60d5e068247ea
2020-09-15 07:36:58 +00:00