Commit Graph

23197 Commits

Author SHA1 Message Date
Colin Cross
b934116994 Use sdk variant of Soong modules when LOCAL_SDK_VERSION is set
Soong now makes a variant of native modules that set sdk_version.
Use the new variant for native modules or apps with JNI that are
defined in Make and set LOCAL_SDK_VERSION.

Test: m checkbuild
Bug: 149591340
Change-Id: Ief378a007e43b0aea31fd5845410bbffec0ffae6
2020-03-24 10:48:24 -07:00
Yi Kong
bcbcd65a99 Add platform-wide sampling PGO option
Test: build
Bug: 79161490
Change-Id: Ibd30fffa0a97ca76155891f3aec8d7891226b9f1
2020-03-24 07:01:59 -07:00
android-build-team Robot
fa8858c36a Make change and version bump to QQ3A.200324.001
Change-Id: I069ea2038a11b316dc052dc92ef0f3ccbf529ead
2020-03-23 23:18:36 +00:00
Ulya Trafimovich
c46e0673d0 Get rid of obsolete Make variable TARGET_CORE_JARS.
Test: aosp_walleye-userdebug boots.
Change-Id: Ibed8c8479b9c1f3ac333c66aeddea4f5f06c9aad
2020-03-23 15:35:00 +00:00
android-build-team Robot
bef075cccf Make change and version bump to QQ3A.200323.001
Change-Id: I89606b5c6bf9db6d7da93365e0b8be9a4b6151f1
2020-03-22 23:16:52 +00:00
android-build-team Robot
f103b32a00 Make change and version bump to QQ3A.200322.001
Change-Id: Ibd712dc39981f5e7d6fc2bd62f9585be805f4d17
2020-03-21 23:19:05 +00:00
android-build-team Robot
d32172e18c Make change and version bump to QQ3A.200321.001
Change-Id: I29688f727ffd44e1c99f2a4927f9eca2d8fe836c
2020-03-20 23:20:00 +00:00
Jaewoong Jung
c0d90ac9ac Merge "Fix test suite data files issue." 2020-03-20 18:10:13 +00:00
android-build-team Robot
f70a55f8ba Make change and version bump to QQ3A.200320.001
Change-Id: Id4a9ed37872e18a02558ad8d98aeaf8223ec5977
2020-03-19 23:18:37 +00:00
Jaewoong Jung
b5aa16d44f Fix test suite data files issue.
The current test suite rule implementation has a bug where test data
files are excluded from the final suite zip files when a suite doesn't
have a designated testcases output directory, which is represented by
COMPATIBILITY_TESTCASES_OUT_$(suite_name).

Specifically, the rule that collects test data files for each suite
filters out suite output paths that conflict with module output paths,
which happens when a suite doesn't have its own testcases output
directory. It seems to have been done this way just to avoid make rule
conflict errors, but it ended up causing missing test data files.

This change fixes it by adding an indexing purpose only test suit file
variable.

Fixes: 140761783
Test: m general-tests
Test: Compared before vs after, no meaningful differences.
Test: Changed bc-tests to a device test and built general-tests.
Test: Before - data files missing, after - data files present
Change-Id: I2008992f4144c6ee115f4b4e4ac9caa4312bbe34
2020-03-19 06:47:35 -07:00
android-build-team Robot
cdb76ea38e Make change and version bump to QQ2A.200501.001
Change-Id: Ie843b46958b008073dc60d426e9dff4134db2430
2020-03-19 04:53:43 +00:00
Paul Scovanner
2ec1e19d9a Update Security String to 2020-05-01
Bug: 151752725
Change-Id: Ief4b514032bfad1fad1a81c68b4f5e360569f105
(cherry picked from commit db9b1bd6fd)
2020-03-19 04:51:20 +00:00
Paul Scovanner
776c7293fa Update Security String to 2020-05-05
Bug: 151752725
Change-Id: I4393eea75a53f90e23a53020b4a551228564e3cc
2020-03-19 04:40:18 +00:00
android-build-team Robot
ccf6b9f6b9 Version bump to QQ3A.200319.002 [core/build_id.mk]
Change-Id: I5a15c5b0c1cf07078529c8acc8bf620e90c42e22
2020-03-19 04:27:19 +00:00
Treehugger Robot
d530443e82 Merge "Make RRO packages for system_ext" 2020-03-19 01:47:54 +00:00
android-build-team Robot
b3f4d4945a Make change and version bump to QQ3A.200319.001
Change-Id: Ib7131350c17141015160d42cb0452ac92cb5f48f
2020-03-18 23:17:39 +00:00
Tianjie Xu
eaed60c1a1 Add aftl inclusion proof
The otatools should talk to the aftl server and append the inclusion
proofs when building the vbmeta image. We should only do this during the
signing process when the network is always available.

Also the inclusion proof doesn't impact the final vbmeta image size on
coral, where the final size is 8192 after padding. This is below the
physical image of 65536.

Bug: 147870995
Test: unit tests pass, run sign_target_file_apks
Change-Id: If84c6bf5198c9b05f5e0c16ae6335971915f47e3
2020-03-18 13:11:41 -07:00
Yifan Hong
69430e65fe Also check empty SKU if SKUS are not defined
In the case when both ODM_MANIFEST_SKUS and ODM_MANIFEST_FILE are
both empty, also checks VINTF compatibility for empty SKU case.

Same for device manifest. Although right now, DEVICE_MANIFEST_FILE and
DEVICE_MANIFEST_SKUS cannot be both empty (because libvintf requires
vendor manifest exists barring manifest fragments), let libvintf throws
an error for this case. In the build system, simply handle vendor manifest
the same way as ODM manifest.

Bug: 148601741
Test: manual
Change-Id: Ia0655fd4d37f6286b164a3221ec4b2716f29147d
2020-03-17 20:27:32 -07:00
Jeongik Cha
d99e77d6d6 Make RRO packages for system_ext
Until now, packages from system_ext don't create RRO packages, instead
it uses static overlay, but to make system_ext common, it should use
RRO.

Bug: 150820813
Test: m && check if there are RRO packages that use from system_ext apps
Change-Id: Id0ddb66adca07a6bb4dda66fbee49fd476ac5342
2020-03-18 00:55:48 +00:00
android-build-team Robot
df39ab1885 Make change and version bump to QQ3A.200318.001
Change-Id: I04c3c2c22c104484e1c22d6d821c558bede92688
2020-03-17 23:17:29 +00:00
Paul Scovanner
db9b1bd6fd Update Security String to 2020-05-01
Bug: 151752725
Change-Id: Ief4b514032bfad1fad1a81c68b4f5e360569f105
2020-03-17 20:47:21 +00:00
android-build-team Robot
d55155f70e Make change and version bump to QQ3A.200317.001
Change-Id: Ib94c9c54f2fe3622c75c34f1517dccdfa5cee8bb
2020-03-16 23:18:30 +00:00
android-build-team Robot
acc36ed348 Version bump to QQ3A.200316.002 [core/build_id.mk]
Change-Id: Ib2db7d2bd0c6c662ba11f85ac4e67d5fb236e699
2020-03-16 02:15:40 +00:00
android-build-team Robot
51a8e1d823 Make change and version bump to QQ3A.200316.001
Change-Id: If63678780be482e982415495dd6e1af8f769d4d7
2020-03-15 23:16:45 +00:00
android-build-team Robot
fcfe3a87c0 Make change and version bump to QQ3A.200315.001
Change-Id: I22a278746baa4efea5a9a6ddeb548cc804de0872
2020-03-14 23:17:34 +00:00
Yifan Hong
28ffd73591 Proper checks for vendor and ODM SKUs
If DEVICE_MANIFEST_FILE / ODM_MANIFEST_FILES is set, also include check
for empty vendor / odm SKU, respectively. Then, do cross product of
vendor SKUs and ODM skus, and check each possible combination.

Test: build with and without vendor skus
Test: m check-vintf-all
Bug: 148601741

Change-Id: I23cc81998e7afc36c43540bf6d615b4d4b288447
2020-03-13 18:32:07 -07:00
android-build-team Robot
450eb51e48 Make change and version bump to QQ3A.200314.001
Change-Id: I67d1cbf939b6e06aa8e683df81d838e24408623e
2020-03-13 23:19:59 +00:00
android-build-team Robot
d558f7e3a3 Make change and version bump to QQ3A.200313.001
Change-Id: Iac3ad932c1d0f58f3c7e5901eb69b35b15bdd938
2020-03-12 23:19:29 +00:00
Aurimas Liutikas
cd80e3b9eb Remove unnecessary dependency.
This dependency is now defined in ALL_SDK_FILES.

Test: lunch sdk; make sdk
Change-Id: Ia740466e493d745d83039ba9991547a6c2d3bd2c
2020-03-12 16:12:27 -07:00
David Srbecky
37493d8252 Merge "Install boot.art image for host as well (used by ART tests)." 2020-03-12 18:20:42 +00:00
android-build-team Robot
26bc8cf585 Make change and version bump to QQ3A.200312.001
Change-Id: Ia521cc87358e4b0de77f493b8e7e8b023521fbc5
2020-03-11 23:20:40 +00:00
Oliver Nguyen
b02f7dbaa4 Export llvm-profdata for Clang coverage builds.
This tool must match the one used to compile the source code for
compatibility.

Bug: 143977934
Test: m CLANG_COVERAGE=true dist
Change-Id: I71e0e7afb05dedd5f6a09d5e4099387c6262387f
2020-03-10 17:07:58 -07:00
android-build-team Robot
0416d5baf8 Make change and version bump to QQ3A.200311.001
Change-Id: Ibfea1d54c50d7654151883b5b0f5020281f72fc8
2020-03-10 23:18:03 +00:00
android-build-team Robot
35a7834a56 Make change and version bump to QQ3A.200310.001
Change-Id: Ia08b31cdae2075adfe4b67f80342d4150622e482
2020-03-09 23:17:40 +00:00
Roopesh Nataraja
11e776fc32 Build DEVICE manifests and fragments for each SKU
Single vendor can support multiple skus with different
capabilities. Add support to define and build sku
based device manifests.

Specify DEVICE manifests in BoardConfig.mk as below.

  # installed to /vendor/etc/vintf/manifest_{sku}.xml
  DEVICE_MANIFEST_SKUS := sku1 sku2 sku3

  DEVICE_MANIFEST_SKU1_FILE := device/foo/bar/manifest_sku1.xml
  DEVICE_MANIFEST_SKU2_FILE := device/foo/bar/manifest_sku2.xml
  DEVICE_MANIFEST_SKU3_FILE := device/foo/bar/manifest_sku3.xml

Bug: 148601741

Change-Id: Id57d4ad21b0d3edf8d60d07446b6b806c1df20ab
2020-03-09 15:09:08 -07:00
android-build-team Robot
f60905e81f Make change and version bump to QQ3A.200309.002
Change-Id: I28d78a653d6bfb8c5c128ad251843bb5357a4dde
2020-03-09 04:55:15 +00:00
android-build-team Robot
32df29541b Make change and version bump to QQ3A.200309.001
Change-Id: Ic4fc3d60827e991374372702b18a0b131fb76886
2020-03-08 23:17:44 +00:00
android-build-team Robot
aa1bb8e70c Make change and version bump to QQ3A.200308.001
Change-Id: Id63375b6147f2d24a2a6e3688f2a3e02c03d23d6
2020-03-08 00:16:41 +00:00
Dan Willemsen
97ec812708 Mark the current BUILD_* warnings as errors by default
This switches:

  BUILD_COPY_HEADERS / LOCAL_COPY_HEADERS
  BUILD_HOST_EXECUTABLE
  BUILD_HOST_SHARED_LIBRARY
  BUILD_HOST_STATIC_LIBRARY

to errors by default. Devices can set
BUILD_BROKEN_USES_BUILD_HOST_EXECUTABLE (etc) to turn these errors back
to warnings. I've done that for all of our internal devices.

Bug: 130719878
Bug: 130696912
Bug: 130722971
Bug: 130723227
Test: remove the BUILD_BROKEN_USES_* lines from a device, see errors
Change-Id: I1aecf97f64e281df3682ff0a0fb3ac4283790acd
Merged-In: I1aecf97f64e281df3682ff0a0fb3ac4283790acd
(cherry picked from commit c4bdff5f7e)
2020-03-07 11:29:29 -08:00
Elliott Hughes
f71c05a8e5 Remove unused mips workarounds.
This was never really finished, and hasn't been supported for years.

Test: treehugger
Change-Id: I7668088d1449f33025aaf36fae0817894c84a877
2020-03-06 16:46:59 -08:00
android-build-team Robot
7ef8bb4f03 Make change and version bump to QQ3A.200307.001
Change-Id: I2880f33d90189b2d8f41ba07af672632ca35c0cb
2020-03-07 00:21:01 +00:00
android-build-team Robot
4f4967cf30 Make change and version bump to QQ3A.200306.001
Change-Id: Ia1a3d2bfcc87d5208d2ef27e37c16246bc5a3e5b
2020-03-06 00:18:50 +00:00
Colin Cross
28ff3e3f94 Disable goma for javac actions in Make
goma can't handle the --system argument that Android must pass to
javac.

Bug: b/143658984
Test: treehugger
Change-Id: I7091a14f940ae696930c9d4a7869ae3a81a33fbe
2020-03-05 20:46:47 +00:00
Treehugger Robot
90d4027542 Merge "Trim down dont_bother_goals" 2020-03-05 19:07:15 +00:00
Bill Peckham
573f458718 Merge "Don't touch .installable_files for non-FULL_BUILD" 2020-03-05 18:49:48 +00:00
Automerger Merge Worker
9d5134760c Merge "initial GKI boot.img support" am: 28a7820be2
Change-Id: I620304b97f0ab8f9f440aab1c5dc8e4fe18c4819
2020-03-05 00:43:36 +00:00
Treehugger Robot
28a7820be2 Merge "initial GKI boot.img support" 2020-03-05 00:31:27 +00:00
Dan Willemsen
395358edae Trim down dont_bother_goals
This had caused the nodeps targets to break when I added the
auto-cleanup feature, as we wrote out smaller lists of what was
installed. The functionality of dont_bother_goals is also being fixed in
https://android-review.googlesource.com/c/platform/build/+/1250929/

But there's also no reason to have all of these targets in
dont_bother_goals, as they can just re-use the cached kati build graph.

Bug: 149460609
Test: m systemimage && m snod    <did not delete everything>
Test: m snod    <still see warning>
Test: codesearch for uses of MAKECMDGOALS and these targets
Change-Id: Ib8e7ba67e5ad980be4bdcf521c5156eea7941f97
2020-03-05 00:21:25 +00:00
android-build-team Robot
bacc6b932d Make change and version bump to QQ3A.200305.001
Change-Id: I69dfed54716028c87d8689f0a8e2d549cfa94c7b
2020-03-05 00:18:35 +00:00
Automerger Merge Worker
a78856cee6 Merge "Skip VNDK variant check on coverage builds." am: 791a8b5128
Change-Id: I506aac7d8dfe868ac123d7b68628e5e67864998e
2020-03-05 00:04:48 +00:00