Commit Graph

21590 Commits

Author SHA1 Message Date
android-build-team Robot
428d403ed2 Make change and version bump to QP1A.190623.001
Change-Id: I4542da46a1511a67e473feaa13dac8de044e602f
2019-06-22 23:22:09 +00:00
Colin Cross
fd5fa34775 Don't pass --legacy by default to aapt2 compile
Don't pass --legacy by default, it is rarely necessary and converts
some errors into warnings that crash at runtime.  The modules that
need it have had --legacy added to LOCAL_AAPT_FLAGS.

Bug: 135597368
Test: m java
Change-Id: I0cb213599d6612746d988b8966cbd529b5328db0
2019-06-22 13:04:51 -07:00
Colin Cross
18f28c7781 Allow passing --legacy in LOCAL_AAPT_FLAGS
--legacy will soon no longer be passed by default to all aapt2
compiles.  Allow it to be specified in LOCAL_AAPT_FLAGS by passing
it to aapt2 compile when it is present and filtering it out from
the flags passed to aapt2 link.

Bug: 135597368
Test: m java
Change-Id: I92792cf6a0d4c6ecf5e0971523bd0ab76c81345f
2019-06-22 13:03:09 -07:00
android-build-team Robot
4c2889d619 Version bump to QP1A.190620.002 [core/build_id.mk]
Change-Id: I21f3693348647232da1fa0e7e90839f47590dc4b
2019-06-21 22:29:14 +00:00
Mitch Phillips
233b84e45e Merge "Remove experimental pass manager for fuzzer builds." am: 4ba3984b4c
am: 8581054652

Change-Id: I1d0bced14989b55d24040cda407f1f8de10ad6b1
2019-06-20 18:18:21 -07:00
Dan Shi
c0b9ef62aa Merge "Create individual build artifact for test suite build output" am: 3771cff834
am: 4c7f8954b5

Change-Id: I6532e0dbadc940d663d2ab4312be357429e33ea8
2019-06-20 18:17:41 -07:00
Treehugger Robot
4ba3984b4c Merge "Remove experimental pass manager for fuzzer builds." 2019-06-21 00:51:26 +00:00
Dan Shi
3771cff834 Merge "Create individual build artifact for test suite build output" 2019-06-20 20:30:34 +00:00
Dan Shi
51b789e422 Create individual build artifact for test suite build output
This change creates following build artifacts that are currently part of
device-tests.zip and general-tests.zip. The smaller build artifacts are
used to reduce the download size required to run TradeFed suite.
Detailed design can be found in the bug.

From device-tests
device-tests_configs: include all test config files in device-tests, zip
  file is less than 1MB.

From general-tests
general-tests_configs: include all test config files in general-tests,
  zip file is less than 1MB.
general-tests_host-shared-libs: include tools and shared libraries
  required to run host side test, zip file is about 60MB

Bug: 73786521
Test: make device-tests and general-tests, verify output.
Change-Id: I34c9aa3c1c672d5d58eab6de92198a7b8e4a681c
2019-06-20 10:02:36 -07:00
Jaewoong Jung
9bc1ceb1c9 Merge "Fixes a typo in a comment." am: fde688ebc8
am: 35aebeb18a

Change-Id: Icee0466bf2134b11e8c4c4dc3ece046102fbca87
2019-06-19 23:06:51 -07:00
Treehugger Robot
fde688ebc8 Merge "Fixes a typo in a comment." 2019-06-20 04:20:36 +00:00
android-build-team Robot
00dcdd6554 Make change and version bump to QP1A.190620.001
Change-Id: Id9339f32aa57e8a92ae8f32d40f142d406cd3d98
2019-06-20 03:18:03 +00:00
android-build-team Robot
e0d8c9a1b0 Version bump to PQ3B.190801.002 [core/build_id.mk]
Change-Id: I687971e3d96269c56f9bc60f76330684b4b60bc5
2019-06-20 01:35:06 +00:00
android-build-team Robot
074c11dba3 Version bump to QP1A.190619.002 [core/build_id.mk]
Change-Id: I37c60c3787c2ed2dd6a09621314af9578e951b67
2019-06-19 18:51:23 +00:00
android-build-team Robot
b39a42ad82 Make change and version bump to QP1A.190619.001
Change-Id: Ibe8fb301057de7596149217d4b27ac3e03b1c014
2019-06-19 03:15:55 +00:00
Dan Willemsen
a05179c35e Merge changes from topics "rbe-deps-dexpreopt-images", "rbe-deps-system-modules" am: e346d8c25e
am: 2ae5ff07fa

Change-Id: Ifc672e6028ef67d4f6371049d287a3539aaa268d
2019-06-18 16:25:16 -07:00
android-build-team Robot
dc5a37d2f7 Make change and version bump to QP1A.190618.001
Change-Id: I19e012c9138716b5eb56283f742017905bad4d91
2019-06-18 03:15:24 +00:00
Dan Willemsen
cb4c357661 Use dexpreopt image deps from Soong
Instead of just depending on the single image file, depend on the entire
image that gets loaded -- the .oat / .vdex files, and the modules that
are part of the image that have their own files.

This is necessary for RBE, where the rule only gets the files that it
depends upon.

Test: treehugger
Test: build a system image with RBE
Change-Id: I93a580b42cf4ef1824ee1397e551c065f083348a
2019-06-18 01:19:04 +00:00
Dan Willemsen
70b934ee64 Depend on all the files from system modules
Test: treehugger
Change-Id: Ie84dda3d05a84658ad9386a3034d861138f25b2c
2019-06-18 01:19:04 +00:00
Adam Seaton
7e3f7a3dae Revert "Update Security String from 08-05 to 2019-08-01 Bug:126590667"
am: 0c355124bf

Change-Id: I447039af635fa639c313aa2d8483d4e81ba07737
2019-06-17 14:59:17 -07:00
Mitch Phillips
ee2dcac47a Remove experimental pass manager for fuzzer builds.
Sanitizer coverage is currently broken with the experimental pass
manager. See b/133876586 for more information. The patch is currently
being worked on upstream (https://reviews.llvm.org/D62888), but is not
ready yet. Hence, we disable it here (similar to the LTO bug).

Bug: 133876586
Test: Build anything with SANITIZE_TARGET='fuzzer', verify that it has
'sancov' symbols.

Change-Id: I74d02e52ccbe2a3d96b6b8e30230197b554e60a0
2019-06-17 10:37:55 -07:00
android-build-team Robot
0c5b972da7 Make change and version bump to QP1A.190617.002
Change-Id: Iced6ee7a41f3cf05ebdb03ddd988b0d67a3813bd
2019-06-17 17:22:20 +00:00
Adam Seaton
579acccdc0 Revert "Update Security String from 08-05 to 2019-08-01 Bug:126590667"
This reverts commit ef7c2c7915.

Reason for revert: Resolve string downgrade issue

Change-Id: I28831f2592bba09907b76c7d5ac46326a9c1e9f8
(cherry picked from commit 0c355124bf)
2019-06-17 17:22:02 +00:00
Adam Seaton
0c355124bf Revert "Update Security String from 08-05 to 2019-08-01 Bug:126590667"
This reverts commit ef7c2c7915.

Reason for revert: Resolve string downgrade issue

Change-Id: I28831f2592bba09907b76c7d5ac46326a9c1e9f8
2019-06-17 17:03:51 +00:00
Jaewoong Jung
e6f57e05ec Fixes a typo in a comment.
Test: TreeHugger
Change-Id: Ie124090280eb0c1235e50baa4a869399bb440abb
2019-06-16 21:48:42 -07:00
Patrick Tu
8543ca7fd5 Merge "AIDEGen: Collect the classes.jar of the prebuilt modules into module-info.json" am: 58982618e1
am: f7f933b28b

Change-Id: Ic1d4889712ae9cd36a44d73017f9115a3443858e
2019-06-16 21:18:39 -07:00
Patrick Tu
58982618e1 Merge "AIDEGen: Collect the classes.jar of the prebuilt modules into module-info.json" 2019-06-17 02:51:56 +00:00
android-build-team Robot
154502f2da Make change and version bump to QP1A.190617.001
Change-Id: Icf361ff51334aa5a010e1209294fb824d20c4dd7
2019-06-16 23:17:21 +00:00
android-build-team Robot
408bca1c87 Make change and version bump to QP1A.190616.001
Change-Id: I02f4182d7431eb0c8d598ec3a2f36ea80bc5170a
2019-06-15 23:17:11 +00:00
Dan Shi
4bfef31571 Merge "Update auto-gen test config template with EXTRA_CONFIGS placeholder" am: fde58bccbc
am: 4722b5b158

Change-Id: Ifc9d04794b8a5bf9bc5cc3eb6efd4529c05e839a
2019-06-14 15:45:15 -07:00
Dan Shi
fde58bccbc Merge "Update auto-gen test config template with EXTRA_CONFIGS placeholder" 2019-06-14 22:21:39 +00:00
Daniel Norman
c7c103514f Merge "Allows skipping building the super images for partial builds." am: 87ebb3013f
am: d3576727ea

Change-Id: I872f713f9f8ff30b3dd72643b07443894b5af451
2019-06-14 15:12:25 -07:00
Treehugger Robot
87ebb3013f Merge "Allows skipping building the super images for partial builds." 2019-06-14 21:42:33 +00:00
Dan Willemsen
27e5d4e886 Merge "Start the deprecation of BUILD_HOST_STATIC_LIBRARY" am: 2e1516dc44
am: 8a0a26b246

Change-Id: I55bd3f5c4f8f6863b154c8bdb02c187b568872af
2019-06-14 14:13:45 -07:00
Hridya Valsaraju
a0d14a8647 Merge "Fail build when sum of sizes of logical partitions exceeds OEM-set limit" am: acfbc544e6
am: a7f33ab8d9

Change-Id: I9b8df9e495a20bc01bbe383c3f1d359faa9cea94
2019-06-14 14:12:02 -07:00
Paul Scovanner
c639959061 Update Security String from 08-05 to 2019-08-01 Bug:126590667 am: ead61ed19e
am: ef7c2c7915

Change-Id: I4a4c8d8fa0a1a4dc9ecd1dc2cb2a235c730fe223
2019-06-14 13:35:35 -07:00
Treehugger Robot
2e1516dc44 Merge "Start the deprecation of BUILD_HOST_STATIC_LIBRARY" 2019-06-14 20:28:46 +00:00
Treehugger Robot
acfbc544e6 Merge "Fail build when sum of sizes of logical partitions exceeds OEM-set limit" 2019-06-14 20:23:08 +00:00
Paul Scovanner
ef7c2c7915 Update Security String from 08-05 to 2019-08-01 Bug:126590667
am: ead61ed19e

Change-Id: Iaf434bf5690c3c50371bb11266d300ab7d335184
2019-06-14 13:22:34 -07:00
Daniel Norman
0bf940cace Allows skipping building the super images for partial builds.
Previously, setting PRODUCT_BUILD_SUPER_PARTITION to false for a partial
build (with PRODUCT_USE_DYNAMIC_PARTITIONS == true) would fail to
include necessary keys in misc_info.txt that are required when merging
two partial builds to create a dynamic-partition-enabled mixed build.

This change ensures these necessary keys are included even when
PRODUCT_BUILD_SUPER_PARTITION is false. Setting
PRODUCT_BUILD_SUPER_PARTITION to false causes partial builds to skip
building super.img and super_empty.img, instead relying on these images
to come from the final merged build.

Bug: 134764140
Test: Building & booting a dynamic-partition-enabled mixed build, and
inspecting partial builds' logs / out folder to ensure that
super.img/super_empty.img were not created.

Change-Id: I99431a9a342e9b0617510e250597f3024ef39322
2019-06-14 11:42:45 -07:00
Dan Willemsen
22f69e1094 Start the deprecation of BUILD_HOST_STATIC_LIBRARY
There aren't any common users of this left on AOSP, and only a few
internally.

Test: treehugger
Change-Id: I37277dbf10aa253ef64ca748f82765d16ae1cf80
2019-06-14 09:37:42 -07:00
Hridya Valsaraju
219b6294dc Fail build when sum of sizes of logical partitions exceeds OEM-set limit
BOARD_SUPER_PARTITION_ERROR_LIMIT can be set by OEMs to cause a
build failure when the sum of sizes of logical partitions exceeds the same.
It is set to BOARD_SUPER_PARTITION_SIZE by default.

Bug: 133329143
Test: mmm -j32

Change-Id: Ief85c9ab3e3b9d071cd22b70e13b5c64bb784b9c
2019-06-14 09:34:46 -07:00
Dan Shi
4c55da09db Update auto-gen test config template with EXTRA_CONFIGS placeholder
Bug: 134509111
Test: add "require_root: true" to init_benchmarks and libpower_test
build the modules, confirm the extra target preparer is added in the
test config.

Change-Id: I2fdae79d45fd1e5866ee94d1f0e59df106be2a87
2019-06-13 20:32:22 -07:00
patricktu
379f7f0ef6 AIDEGen: Collect the classes.jar of the prebuilt modules into module-info.json
Current information is not enough if the prebuilt modules are depend on
AAR libs Therefore, AIDEGen has to collect the classes.jar of the
prebuilt modules from build system.

Build module-info.json without this change:
Build time: 1m55.001s
File size: 14,918,354 Bytes

Build module-info.json with this change:
Build time: 1m56.292s
File size: 15,577,031 Bytes

Bug: 132768299
Test: 1. Checkout the internal master branch
      2. Patch this CL
      3. m -j out/target/product/generic_x86_64/module-info.json
      4. Open the module-info.json
      5. For verifying soong_java_prebuilt.mk, check the classes.jar of
         module prebuilt-google-play-* exists.
         e.g.
         "prebuilt-google-play-...": {
              ...
              "classes_jar": [
	      	"out/target/common/obj/JAVA_LIBRARIES/
		 prebuilt-google-..._intermediates/classes.jar"
	      ]
         }
      5. For verifying java_prebuilt_internal.mk, check the classes.jar
         of module ink exists.
         e.g.
	 "ink": {
	     ...
	     "classes_jar": [
	     	"out/target/common/obj/JAVA_LIBRARIES/ink_intermediates/
		 classes.jar"
	     ]
	 }

Change-Id: I09518c92260db47d2686493fa13951f316159d13
2019-06-14 10:47:18 +08:00
android-build-team Robot
3bc592b414 Version bump to QP1A.190613.002 [core/build_id.mk]
Change-Id: Ibba65dd28ea30e00376c8a359ccb44ae10a17880
2019-06-13 19:59:14 +00:00
Dan Willemsen
6b61e81a6e Merge changes I2183ac9f,I2c76701c,Ibbe4e11a,I0706faa2,Ic5b7c4fb, ... am: 491ae5b2d1
am: fea54c0231

Change-Id: Ib485a13372709505f98643e6f69947d4c8f75a2f
2019-06-13 10:38:47 -07:00
Treehugger Robot
491ae5b2d1 Merge changes I2183ac9f,I2c76701c,Ibbe4e11a,I0706faa2,Ic5b7c4fb, ...
* changes:
  Fix dependency on BOARD_AVB_SYSTEM_KEY_PATH
  Fix some java library dependencies
  Depend on NDK libraries
  Call clean-path in more places
  Add missing dependecy on SOONG_ZIP
  Add dependencies on the toolchain (clang, etc)
2019-06-13 17:13:22 +00:00
Colin Cross
8ed5deeae1 Merge "Make kernel modules into normal installed files" am: b7035aef21
am: ffaf599a6e

Change-Id: I8c333170b760d32f109d7d82b3454f2b61769ff0
2019-06-13 04:11:39 -07:00
Treehugger Robot
b7035aef21 Merge "Make kernel modules into normal installed files" 2019-06-13 10:51:23 +00:00
android-build-team Robot
f3e65e6d7c Make change and version bump to QP1A.190613.001
Change-Id: Icb747692e10f8bd5a847cc94ab3bbbe9d2129c1b
2019-06-13 03:16:35 +00:00