Commit Graph

62930 Commits

Author SHA1 Message Date
Pirama Arumuga Nainar 35de4fa5e0 Merge "[config_sanitizers] Fail if LOCAL_SANITIZE_BLACKLIST is used." am: 6552424ff9
Original change: https://android-review.googlesource.com/c/platform/build/+/1384276

Change-Id: I79d9905f1cd3ff60622dafadbeb83dae792e291d
2020-08-11 21:42:57 +00:00
Pirama Arumuga Nainar 6552424ff9 Merge "[config_sanitizers] Fail if LOCAL_SANITIZE_BLACKLIST is used." 2020-08-11 21:23:56 +00:00
android-build-team Robot 73fb337300 Version bump to RP1A.200720.012 [core/build_id.mk]
Change-Id: I78a66788b7629adc50e2bfb9c695a04d35afda26
2020-08-11 18:43:39 +00:00
Pirama Arumuga Nainar 1ac5384aaf [config_sanitizers] Fail if LOCAL_SANITIZE_BLACKLIST is used.
All uses of this property have been migrated to
LOCAL_SANITIZE_BLOCKLIST.

Update language to comply with Android’s inclusive language guidance

See https://source.android.com/setup/contribute/respectful-code for
reference

Bug: 161896447
Bug: 162245450

Test: Add the old property to an Android.mk and ensure error is thrown.
Change-Id: I797ff651f03b954b410f76f4d201a962ded717df
2020-08-11 11:00:53 -07:00
Yo Chiang 9ce76bb1c4 Disable required modules check on darwin
Bug: 162102724
Test: `make sdk` on darwin
Change-Id: Ib89ef776475c5a20574f78188a2b5cad5fdd8f00
Merged-In: Ib89ef776475c5a20574f78188a2b5cad5fdd8f00
(cherry picked from commit 4d2ea47f06)
2020-08-11 23:54:04 +08:00
Yo Chiang 17d9d8bac8 Merge "Revert "Error if $(LOCAL_PATH) is empty"" am: b5bbe4bca0
Original change: https://android-review.googlesource.com/c/platform/build/+/1396212

Change-Id: I7d34b239ada4b752d46625d28a93146089216774
2020-08-11 10:38:20 +00:00
Yo Chiang b5bbe4bca0 Merge "Revert "Error if $(LOCAL_PATH) is empty"" 2020-08-11 10:21:24 +00:00
Yo Chiang e01766433a Revert "Error if $(LOCAL_PATH) is empty"
This reverts commit 60052f3a9f.

Reason for revert: Breaks build_test

Bug: 163473133
Change-Id: Ib5a8030f7b49b131f912e2df8026d3e2107c87a4
2020-08-11 10:19:32 +00:00
Treehugger Robot ba2db4729f Merge "Remove obsolete PDK build functionality" am: 614b3e4d9e
Original change: https://android-review.googlesource.com/c/platform/build/+/1320119

Change-Id: Iec7984ac1fd7259921dbb613c161e6a006fab971
2020-08-11 09:41:58 +00:00
Treehugger Robot 614b3e4d9e Merge "Remove obsolete PDK build functionality" 2020-08-11 09:28:01 +00:00
Yo Chiang 1d2de91456 Merge "Error if $(LOCAL_PATH) is empty" am: cbdfc3a5ed
Original change: https://android-review.googlesource.com/c/platform/build/+/1396207

Change-Id: Icd947b29a97698545998cfb3d06ef8ab77e2c813
2020-08-11 08:17:30 +00:00
Yo Chiang cbdfc3a5ed Merge "Error if $(LOCAL_PATH) is empty" 2020-08-11 07:58:57 +00:00
Yo Chiang 136824c6e9 Merge "Revert^2 "releasetools: Disable host module on darwin"" am: 76279b102f
Original change: https://android-review.googlesource.com/c/platform/build/+/1393358

Change-Id: Ibfb18d03e37162345c3f0a39434be11df234e8fa
2020-08-11 05:15:55 +00:00
Yo Chiang 76279b102f Merge "Revert^2 "releasetools: Disable host module on darwin"" 2020-08-11 04:56:55 +00:00
Yo Chiang 096c515976 Revert^2 "releasetools: Disable host module on darwin"
0ac3666667

Exempt-From-Owner-Approval: Original change was approved

Change-Id: I4030dbc072a90f9b8704926c0956787c75bc5583
2020-08-11 04:56:31 +00:00
Yo Chiang 60052f3a9f Error if $(LOCAL_PATH) is empty
Bug: 162918277
Test: m com.android.art
Test: m MODULES-IN-art
Change-Id: I7c35dba22385e89313ea7210e9b1db15c7f6af86
2020-08-11 11:23:08 +08:00
Yo Chiang 150a1ca0c2 Don't call $(my_path_comp) if $(dir $(LOCAL_PATH)) is TOP
So we don't accidentally create phony rules like
`MODULES-IN-: MODULES-IN-` and `MODULES-IN-.: MODULES-IN-*`

Bug: 162918277
Test: m com.android.art
Test: ninja -t browse
Change-Id: Id0656d1b08bc933df57914df162853934352593b
2020-08-11 11:22:36 +08:00
Treehugger Robot 3667804395 Merge "extract_kernel.py: add support to output compiler information" am: b83c9d0461
Original change: https://android-review.googlesource.com/c/platform/build/+/1393369

Change-Id: Iac1f9e9df8ef0a846806fa4527c129dfccd9e96b
2020-08-11 02:52:00 +00:00
Treehugger Robot b83c9d0461 Merge "extract_kernel.py: add support to output compiler information" 2020-08-11 02:32:23 +00:00
Kelvin Zhang 0164370f52 Merge "Move non-AB OTA generation code to a separate file" am: 2f6571884d
Original change: https://android-review.googlesource.com/c/platform/build/+/1378776

Change-Id: I49c258e9facc38440b0e59dee368ebc413796a89
2020-08-11 01:53:43 +00:00
Kelvin Zhang 2f6571884d Merge "Move non-AB OTA generation code to a separate file" 2020-08-11 01:35:23 +00:00
Dan Willemsen a3f6632de9 Remove obsolete PDK build functionality
This hasn't worked for a couple years, and continues to bitrot. Just
remove it.

Test: treehugger
Change-Id: Iea6caf3c08252a560155e095135c5ddaad712991
Merged-In: Iea6caf3c08252a560155e095135c5ddaad712991
2020-08-11 01:12:01 +00:00
Felix 3769a205b6 tasks: find-sharedui-violation: Partition location
Allow for relocated partition directories in out, mainly for
devices which do not possess e.g. /product but must
distribute it in /system/product.

Use argparse to cope with increased argument count.

Test: Device without physical /product partition
      m out/target/product/<device>/shareduid_violation_modules.json
      -> Observe addition of violating apks from product
      partition in shareduid_violation_modules.json

Signed-off-by: Felix <google@ix5.org>
Change-Id: I2d7826b41fb5b924f15ae21a73178fa4eec6a879
2020-08-11 02:21:36 +02:00
Kelvin Zhang cff4d7606d Move non-AB OTA generation code to a separate file
Test: Generate a non-AB OTA, apply it
Change-Id: I2f1afbe70d17356fcbf4d59901d201a76a3d6c4f
2020-08-10 16:22:22 -04:00
Bill Peckham b7fa8e4574 Merge "Fix broken my_image_variant" am: 4f353b78a7
Original change: https://android-review.googlesource.com/c/platform/build/+/1393818

Change-Id: I4935d4830658c50e5b96529ef09fcf20b7ea123a
2020-08-10 19:52:11 +00:00
Bill Peckham 4f353b78a7 Merge "Fix broken my_image_variant" 2020-08-10 19:34:25 +00:00
Inseob Kim ce83956fa9 Fix broken my_image_variant
It should happen after adjusting vendor and product variables.

Bug: 162476652
Test: see image variant with LOCAL_PROPRIETARY_MODULE := true
Change-Id: I071434916c9ad18572c559a26e3ef6abb8c47303
2020-08-10 13:04:23 +09:00
Steve Muckle 04b6f05f31 add support to non-A/B for multiple kernels, boot images
Bug: 162777091
Change-Id: I03bb00b0a02a3dc048b7a83eff08f790d2f4d17e
2020-08-09 18:42:40 -07:00
Steve Muckle a49b0c8613 add BOARD_GKI_NONAB_COMPAT for non-A/B compatability with GKI
The directory structure of several ramdisks are different depending on
whether the target is A/B or non-A/B. When the target needs to be
compatible with the GKI however, which is always built as A/B, it is
necessary to build these ramdisks using the A/B file hierarchy. Provide
a flag to enable this override when necessary.

Bug: 161579556
Change-Id: I1cf9a0ef5a338b0b5152113533b62804f3088c83
2020-08-09 18:11:56 -07:00
Jeongik Cha 37cd475e59 Merge changes from topic "b/160390776" am: 66853bb381
Original change: https://android-review.googlesource.com/c/platform/build/+/1358106

Change-Id: Iefe2a233927e9a1a4886abdca82086ac5da34d75
2020-08-10 01:08:34 +00:00
Jeongik Cha 66853bb381 Merge changes from topic "b/160390776"
* changes:
  Unset ENABLE_PREOPT when DISABLE_PREOPT is set
  Introduce TARGET_BUILD_UNBUNDLED_IMAGE
2020-08-10 00:51:56 +00:00
Steve Muckle a21b44a736 fix recoveryimage-nodeps
Change-Id: I1c1b7d25cd7e6254c9edf12dd1bf5c9f7b56e26d
2020-08-09 15:30:25 -07:00
Yongqin Liu 2c8b8eca5e extract_kernel.py: add support to output compiler information
Test: tested with android-mainline gki kernel from
    https://android.googlesource.com/kernel/prebuilts/mainline/arm64/

Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Change-Id: Ibf3eeb3679b233cd0d54501d385f442e0c0c34ec
2020-08-08 17:15:19 +08:00
Colin Cross d99f49d009 Merge changes I4c84d194,I696b424e am: c4e9bf20ce
Original change: https://android-review.googlesource.com/c/platform/build/+/1392950

Change-Id: I19a8cadc0cc4382bc5a71fc99e43cf16b4c57233
2020-08-08 03:42:54 +00:00
wangzhou 0fba6bee06 Build NOTICE txt file into TestSuite zip package. am: e7f1725938
Original change: https://android-review.googlesource.com/c/platform/build/+/1392949

Change-Id: If475cb2e17b237a85131d010e4d7bdee7b2bce9f
2020-08-08 03:42:53 +00:00
Colin Cross c4e9bf20ce Merge changes I4c84d194,I696b424e
* changes:
  Combine HOST/TARGET in Test Suite NOTICE.
  Build NOTICE txt file into TestSuite zip package.
2020-08-08 03:29:01 +00:00
Evgenii Stepanov 96af2a7adc Merge "Define ro.sanitize.<name> properties in SANITIZE_TARGET builds." am: 48e914e991
Original change: https://android-review.googlesource.com/c/platform/build/+/1367662

Change-Id: Ia4561715fbe5a8e6289e107ba33063029d9dc164
2020-08-07 22:58:55 +00:00
Evgenii Stepanov 48e914e991 Merge "Define ro.sanitize.<name> properties in SANITIZE_TARGET builds." 2020-08-07 22:44:18 +00:00
Dan Willemsen fd72f7f3ac Reland "Move some prebuilt build tool configs to Soong"
Now that they're defined with prebuilt_build_tool, we don't need to set
them here.

In future changes we can replace more of these definitions with
prebuilt_build_tool, as it can centralize the selection of
build-from-source or prebuilt for Make, Soong, and user-defined
genrules.

Test: treehugger
Change-Id: I5821bbad1b655d561919245320d7c184a6eac737
2020-08-07 13:40:10 -07:00
Treehugger Robot 3f4f3ce038 Merge "Add BOARD_KERNEL_MODULE_INTERFACE_VERSIONS." am: 7c556f30be
Original change: https://android-review.googlesource.com/c/platform/build/+/1392540

Change-Id: I69f550073e4bc1d294970e45e77ef6bf05d06bda
2020-08-07 18:41:51 +00:00
Treehugger Robot 7c556f30be Merge "Add BOARD_KERNEL_MODULE_INTERFACE_VERSIONS." 2020-08-07 18:37:36 +00:00
android-build-team Robot 1849ad5c5f Version bump to RP1A.200720.011 [core/build_id.mk]
Change-Id: I81f79ea602702338ade3e4a1225c64dfd6bac6c4
2020-08-07 17:57:45 +00:00
Evgenii Stepanov 830eddbe27 Define ro.sanitize.<name> properties in SANITIZE_TARGET builds.
This will let us quickly check the system image build type,
and modify *.rc behavior based on that.

Bug: 142430632
Test: adb shell getprop ro.sanitize.hwaddress in hwasan build
Change-Id: Id1738ebc94a7c29ea9902a063f5d8dd6deb48f1b
2020-08-06 23:29:53 +00:00
Treehugger Robot d90ae6979a Merge "Add more details to divergent vndk lib error." am: e9bceb662b
Original change: https://android-review.googlesource.com/c/platform/build/+/1392870

Change-Id: I9d95b7307d990b960fd0a3299be031fea8d45f13
2020-08-06 21:34:09 +00:00
Treehugger Robot 9fa3b271f2 Merge "Remove vbmeta_system from GSI targets" am: 3041178a7d
Original change: https://android-review.googlesource.com/c/platform/build/+/1366537

Change-Id: Ie87221a6fed1025444ccb6331ee17fabc563ca1a
2020-08-06 21:33:54 +00:00
Treehugger Robot e9bceb662b Merge "Add more details to divergent vndk lib error." 2020-08-06 21:27:09 +00:00
Treehugger Robot 3041178a7d Merge "Remove vbmeta_system from GSI targets" 2020-08-06 21:12:15 +00:00
Treehugger Robot 708da6d89b Merge "Don't use the remote pool when using clang-tidy" am: 5610430667
Original change: https://android-review.googlesource.com/c/platform/build/+/1392545

Change-Id: I9f940d1c519903c639b2f082f10aa6e986d7893d
2020-08-06 19:44:56 +00:00
Treehugger Robot 5610430667 Merge "Don't use the remote pool when using clang-tidy" 2020-08-06 19:27:17 +00:00
Treehugger Robot 1e220966a7 Merge "Deprecate VNDK-lite support from Legacy GSI" am: c45c04e38e
Original change: https://android-review.googlesource.com/c/platform/build/+/1382483

Change-Id: I72c5bb499a30a6101c1876c7f8606ec21998182b
2020-08-06 19:13:27 +00:00