Commit Graph

25714 Commits

Author SHA1 Message Date
android-build-team Robot
1df2fb2698 Make change and version bump to RQ1A.200910.001
Change-Id: If278628de3f0555fd183002dff74e8ae80b1f645
2020-09-09 23:16:20 +00:00
Yifan Hong
c0f187f5f9 Add modules partition.
Modules partition is a dynamic read-write partition.
- AVB is not enabled on the partition
- OTA is file-based; see follow up CL for details
- No build prop files; in particular, no build fingerprint
- No fs_config
- No notice files; notice files are included in individual APEXes

Test: build on CF
Bug: 163543381

Change-Id: Ie397b9ec61dfd1c158450d050196024604854d4d
2020-09-09 15:00:02 -07:00
Jiyong Park
e80c45f6ac HOST_CROSS_OS/ARCH can be configured to linux_bionic/arm64
Previously, HOST_CROSS_OS/ARCH were fixed to windows/x86. This change
makes the setting configuration and adds the support for new OS/ARCH
combo: linux_bionic/arm64.

linux_bionic is the Linux-based host target that uses Bionic (instead of
glibc) as libc. Previously, it supported only x86_64 and the x86_64
target was NOT configured via Make, but directly via editing
soong.variables file. Now, the support for arm64 is being added in the
Soong side and this change makes it possible to configure the target via
Make.

The new HOST_CROSS_OS/ARCH combo will be used for building the host-side
tools (adb, crosvm, etc.) for running Cuttlefish natively on Linux/ARM
hosts.

Bug: 159685774
Test: HOST_CROSS_OS=linux_bionic HOST_CROSS_ARCH=arm64 m nothing

Change-Id: I6b8ed8f7e26908749bbe778fbdcc34cfbde68179
2020-09-09 17:38:25 +09:00
Treehugger Robot
200273e9df Merge "Add test_mainline_modules option support in mk" am: 897cfaee46 am: ab222e8a7f
Original change: https://android-review.googlesource.com/c/platform/build/+/1413947

Change-Id: I1d1a58a88712edfb26835a3b3f8196bd576f3d27
2020-09-09 08:33:38 +00:00
Treehugger Robot
ab222e8a7f Merge "Add test_mainline_modules option support in mk" am: 897cfaee46
Original change: https://android-review.googlesource.com/c/platform/build/+/1413947

Change-Id: I1688ae7c3bb013eed0a3b5fa148811e0d7c50e04
2020-09-09 08:06:35 +00:00
Treehugger Robot
897cfaee46 Merge "Add test_mainline_modules option support in mk" 2020-09-09 07:36:11 +00:00
android-build-team Robot
b2b59a3ea8 Make change and version bump to RQ1A.200909.001
Change-Id: I036ec69a5ed534dcb317217f882cac2427b5dbb6
2020-09-08 23:20:22 +00:00
Treehugger Robot
3cf010b8b2 Merge "Set PRODUCT_PRODUCT_VNDK_VERSION from product_config.mk" am: 6a052b1118 am: dc7ff33e38
Original change: https://android-review.googlesource.com/c/platform/build/+/1420908

Change-Id: If4f36a7498a07e5098216c8809857b9ecfc7ac76
2020-09-08 05:16:20 +00:00
Treehugger Robot
2908afa6aa Merge "fix a typo for single PRODUCT_PRODUCT_VNDK_VERSION" am: cd2430855d am: 633cebaa33
Original change: https://android-review.googlesource.com/c/platform/build/+/1420010

Change-Id: Ia673ba2bdbba53021dfa43eeb8b327c3eb4d4146
2020-09-08 05:16:17 +00:00
Treehugger Robot
dc7ff33e38 Merge "Set PRODUCT_PRODUCT_VNDK_VERSION from product_config.mk" am: 6a052b1118
Original change: https://android-review.googlesource.com/c/platform/build/+/1420908

Change-Id: I22f04a976e81f73523a42829b862c02692d55b00
2020-09-08 04:47:54 +00:00
Treehugger Robot
633cebaa33 Merge "fix a typo for single PRODUCT_PRODUCT_VNDK_VERSION" am: cd2430855d
Original change: https://android-review.googlesource.com/c/platform/build/+/1420010

Change-Id: I5e4ca4773a89f5f3ef35abab53fda7e09ae886ed
2020-09-08 04:47:40 +00:00
Treehugger Robot
6a052b1118 Merge "Set PRODUCT_PRODUCT_VNDK_VERSION from product_config.mk" 2020-09-08 04:30:04 +00:00
android-build-team Robot
2b1125069b Make change and version bump to RQ1A.200908.001
Change-Id: I0b5983356e1ab79e8abe6315a54011b05ba08fda
2020-09-07 23:17:56 +00:00
Justin Yun
70f7dbaf21 Set PRODUCT_PRODUCT_VNDK_VERSION from product_config.mk
As a product variable, PRODUCT_PRODUCT_VNDK_VERSION cannot be defined
in config.mk. Instead it can be defined from product_config.mk.

Bug: 144534640
Test: check if the following command returns empty value
      $ PRODUCT_USE_PRODUCT_VNDK_OVERRIDE=false \
        get_build_var PRODUCT_PRODUCT_VNDK_VERSION
Change-Id: I304fb980610aec1dd5da05864b4c137997fc9aff
2020-09-07 19:29:45 +09:00
android-build-team Robot
53eddfa629 Make change and version bump to RQ1A.200907.001
Change-Id: I3185686163f9c588f8bd5f84be835eb710ea3000
2020-09-06 21:16:01 +00:00
android-build-team Robot
83a39c5e48 Make change and version bump to RQ1A.200906.001
Change-Id: Id677ef96f07fffa4a1dac1c71993e9a80c7d2204
2020-09-05 21:16:28 +00:00
android-build-team Robot
5e15383743 Make change and version bump to RQ1A.200905.001
Change-Id: If6a634c8e64bced3c7ab249c1cf7bce4d3fb6727
2020-09-04 23:16:17 +00:00
GeQi
6e44e3d1e4 fix a typo for single PRODUCT_PRODUCT_VNDK_VERSION
Bug: 144534640
Test: build

Signed-off-by: GeQi <geqi@xiaomi.com>
Change-Id: I5bf47abd70e84e89930846c25b2592dac1100082
2020-09-04 14:08:57 +08:00
android-build-team Robot
f202c05021 Make change and version bump to RQ1A.200904.001
Change-Id: Ia5a5b61b42cd9659f5e51f8abd7d996e1e7ff68f
2020-09-03 23:16:10 +00:00
Colin Cross
5382b3b206 Merge changes I3aa24904,I1f942dc0,If51d0f53,Ie27bdbd2 am: b9d0a2d4d5 am: b7c32f9021
Original change: https://android-review.googlesource.com/c/platform/build/+/1414178

Change-Id: I32d9076a43a8cdc46c2247e37666e35de8f4cf62
2020-09-03 17:57:18 +00:00
Colin Cross
b7c32f9021 Merge changes I3aa24904,I1f942dc0,If51d0f53,Ie27bdbd2 am: b9d0a2d4d5
Original change: https://android-review.googlesource.com/c/platform/build/+/1414178

Change-Id: I2b847ec608567e0125586ccf02cc1b16d9ebe645
2020-09-03 17:11:02 +00:00
Colin Cross
b9d0a2d4d5 Merge changes I3aa24904,I1f942dc0,If51d0f53,Ie27bdbd2
* changes:
  Remove target-files-package from PARSE_TIME_MAKE_GOALS
  Make dist zip files depend on files instead of images
  Make dependencies of target-files.zip conditional
  Remove INSTALLED_VBMETAIMAGE_TARGET dependency from target-files.zip
2020-09-03 16:56:39 +00:00
Treehugger Robot
0f3087ba84 Merge "AutoGen: Support NativeTest with vendor namespace." am: 89d7b8aef7 am: 9202357764
Original change: https://android-review.googlesource.com/c/platform/build/+/1398277

Change-Id: Ia6b7284b8d59791787cb97e473cfb7b4943db23b
2020-09-03 03:29:25 +00:00
Treehugger Robot
9202357764 Merge "AutoGen: Support NativeTest with vendor namespace." am: 89d7b8aef7
Original change: https://android-review.googlesource.com/c/platform/build/+/1398277

Change-Id: I4da6ea04364c251fcb849a9b7d8b5c113ce38e15
2020-09-03 03:07:05 +00:00
kellyhung
0ba6ec6f49 Add test_mainline_modules option support in mk
Bug: 165425972
Test: Apply aosp/1418212
      atest -b hello_world_test
      Check module-info.json for hello_world_test HelloWorldTests and
HelloWorldHostTest

Change-Id: Ie30a09a54b0ae927ca4d8d1aaba2ac0cdb15233a
2020-09-03 02:37:44 +00:00
Treehugger Robot
89d7b8aef7 Merge "AutoGen: Support NativeTest with vendor namespace." 2020-09-03 02:26:10 +00:00
Colin Cross
2d6d757441 Merge "Use rules to create partition compatibility symlinks" am: 801e69696e am: 4cca7b1e20
Original change: https://android-review.googlesource.com/c/platform/build/+/1412822

Change-Id: Iffba2b5952fd29d06d60c223249f751d89ddadee
2020-09-02 23:55:33 +00:00
Colin Cross
4cca7b1e20 Merge "Use rules to create partition compatibility symlinks" am: 801e69696e
Original change: https://android-review.googlesource.com/c/platform/build/+/1412822

Change-Id: Ic6613b9da1c1174ac63e1b6f1ea440b2c242fa99
2020-09-02 23:35:07 +00:00
android-build-team Robot
833cfe92d2 Make change and version bump to RQ1A.200903.001
Change-Id: If9c5d1703e3dd7eeb761e524bbf5e5bf22931798
2020-09-02 23:21:12 +00:00
Colin Cross
e0dbbd4e9e Remove target-files-package from PARSE_TIME_MAKE_GOALS
It isn't doing anything useful that would be necessary to reparse the
Makefiles for.

Test: m target-files-package
Change-Id: I3aa2490480de8dbe0e57fe36221088c3f18017cb
2020-09-02 23:16:28 +00:00
Colin Cross
cda30c73c9 Make dist zip files depend on files instead of images
Depend on the files instead of images so that the dist zip files
can run in parallel with the image generation rules.

Test: treehugger
Change-Id: I1f942dc0ce0a2cbc5288c1f0633ea1019e77f91c
2020-09-02 23:16:20 +00:00
Colin Cross
43f2eb286a Make dependencies of target-files.zip conditional
Depend on the files going into the images instead of the images
themselves when the images are not prebuilts.  This will allow
paralellizing image generation with target-files.zip.

Test: treehugger
Test: m installclean && m target-files-package has same files before and after
Change-Id: If51d0f53602c08bd946ec34a2edae6f9d95f7bf8
2020-09-02 23:16:12 +00:00
Colin Cross
8d900929c7 Remove INSTALLED_VBMETAIMAGE_TARGET dependency from target-files.zip
Remove the INSTALLED_VBMETAIMAGE_TARGET, which depends on all the
other images, it is no longer necessary after
If1eff317621882994e7dcbf37cd35f5bfa16b69a.  This will allow the
next change to parallelize target-files.zip with the image generation
rules.

Test: treehugger
Change-Id: Ie27bdbd2d414e9b475823639a1b3944fe0756d2a
2020-09-02 23:16:04 +00:00
Colin Cross
801e69696e Merge "Use rules to create partition compatibility symlinks" 2020-09-02 23:15:50 +00:00
Xin Li
63e74fdff1 Revert BUILD_ID to previous value.
Bug: 167588565
Merged-In: I18496607c8a94b818cb83a63694fd384a18d48a3
Change-Id: Ia302b3004a2d6e1c2bd9d77beac09e8199ffdf78
2020-09-02 11:58:35 -07:00
android-build-team Robot
9c4f96b9a1 Make change and version bump to RQ1A.200902.001
Change-Id: I64dcf90e82632d9ea66f47686b2ea1c7468ddab0
2020-09-01 23:16:29 +00:00
Xin Li
37a9f38115 Merge "Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)" into stage-aosp-master 2020-09-01 20:03:45 +00:00
Martin Stjernholm
3908483699 Merge "Preserve symlinks in the Soong prebuilt install steps for host binaries and shared libs." am: a24c0fe655 am: 35bf7d7eba
Original change: https://android-review.googlesource.com/c/platform/build/+/1406918

Change-Id: I9c23fafc47f66eb790267b0b3ec2dbe83222b8f4
2020-09-01 11:21:35 +00:00
Martin Stjernholm
a24c0fe655 Merge "Preserve symlinks in the Soong prebuilt install steps for host binaries and shared libs." 2020-09-01 10:32:49 +00:00
Treehugger Robot
1beb0cc27c Merge changes I9663220b,I15ced0ac am: fbecdcf958 am: 4123d88e14
Original change: https://android-review.googlesource.com/c/platform/build/+/1414169

Change-Id: I749e5ddd6a4343bc6bc1ef9651ba0ceebbe4589c
2020-09-01 06:14:50 +00:00
yangbill
85146e5e82 AutoGen: Support NativeTest with vendor namespace.
Set the TEST_ROOT to /data/local/tmp/tests/vendor if LOCAL_VENDOR_MODULE or
LOCAL_USE_VNDK be set, if not, set to /data/local/tmp.

Bug: 138450837
Test: atest binderVendorDoubleLoadTest
Change-Id: I66437816227458a4f5672146b0c9e465c843aa50
2020-09-01 10:33:47 +08:00
Treehugger Robot
442ec920ba Merge "Add bootloader to droidcore if built" am: c73b31bf2a am: 6cea038dfe
Original change: https://android-review.googlesource.com/c/platform/build/+/1416388

Change-Id: Ib1d4e8e1fad3edd10be9d0856a79d4f4d2b413ab
2020-09-01 01:28:03 +00:00
Colin Cross
6af7cbe855 Fix BOARD_PREBUILT_(VENDOR|ODM)_DLKMIMAGE support in target-files.zip
BOARD_PREBUILT_ODM_DLKMIMAGE support seems to have been forgotten
in target-files.zip, and BOARD_PREBUILT_ODM_DLKMIMAGE support had
a typeo.

Test: treehugger
Change-Id: I9663220b43f0df4f39a7ef432ad4cfec39803a20
2020-09-01 01:26:50 +00:00
Colin Cross
a6de2ada15 Fix incorrect conditional comment in target-files.zip rule
Test: none
Change-Id: I15ced0acc9cf6f56c5094bb8e5aaa3957a9648cb
2020-09-01 01:26:33 +00:00
Martin Stjernholm
49a4e9b52e Preserve symlinks in the Soong prebuilt install steps for host binaries
and shared libs.

If a prebuilt module file is a symlink in the .intermediates tree it is
preserved when copied to the final install location. This preserves
symlinks to prebuilt binaries, so that they are run from their prebuilt
source location and can find libraries in relative paths from there.

Symlinks are converted to absolute, to not fail if they are relative in
the source tree.

Test: m clean && m droid dist checkbuild
  with and without the change, then compare the lists of symlinks in
  the out/ trees
Test: build/soong/soong_ui.bash --make-mode \
    TARGET_PRODUCT=crosshatch_hwasan TARGET_BUILD_VARIANT=userdebug \
    droid SANITIZE_TARGET=hwaddress \
    continuous_instrumentation_tests_api_coverage \
    continuous_native_tests device-tests platform_tests
  check that libclang_rt.hwasan_static-aarch64-android.a isn't a
  symlink in out/target/product/crosshatch/obj
Bug: 145934348
Change-Id: I7600e5b0754f8ea6cd0ffc8e1ba6d39153f182aa
2020-09-01 00:24:54 +01:00
android-build-team Robot
7a2d6ae91e Make change and version bump to RQ1A.200901.001
Change-Id: I8e90c98cd4603037ee8fd7aa03f95b64b17414c6
2020-08-31 23:16:15 +00:00
Ram Muthiah
9fe40ca37b Add bootloader to droidcore if built
Non-dist builds don't copy out the bootloader.
This change fixes that.

Bug: 167160541
Bug: 164917252
Test: local build
Change-Id: I9bab9ba3455e8abee9e7a38bff431a142e7d5a57
2020-08-31 19:31:50 +00:00
Colin Cross
772817c911 Merge "Delay platform availability error for ALLOW_MISSING_DEPENDENCIES=true" am: 8b21e4e7d4 am: 3a6e1ec965
Original change: https://android-review.googlesource.com/c/platform/build/+/1414693

Change-Id: I9dd7764bf312dbb77ec9b987bc68fc1fd423d2e4
2020-08-31 05:21:46 +00:00
Colin Cross
8b21e4e7d4 Merge "Delay platform availability error for ALLOW_MISSING_DEPENDENCIES=true" 2020-08-31 04:20:18 +00:00
android-build-team Robot
d0838c32d0 Make change and version bump to RQ1A.200831.001
Change-Id: I476d372d543f3daa0e1a1d494692cc861a2a0a59
2020-08-30 21:16:55 +00:00