Commit Graph

21590 Commits

Author SHA1 Message Date
Yi Kong
7147b52cae Merge "Add LLVM binutils prebuilds in PATH" 2019-05-24 00:26:27 +00:00
Daniel Norman
c9fc1120c1 Merge "Adds image-specific selinux_fc props to allow different file_contexts." 2019-05-23 23:42:13 +00:00
Daniel Norman
72c626f017 Adds image-specific selinux_fc props to allow different file_contexts.
This enables mixed builds to use the file_contexts.bin from the system
build when regenerating images that come from system target files, and
similarly for file_contexts.bin from the other build when regenerating
images from other target files.

In monolithic (non-mixed) builds all image-specific selinux_fc props
point to the same file_contexts.

Bug: 132108151
Test: Built and booted mixed build devices.
Change-Id: Id51ed6d96ea6337879f1ab21d47c93c67bc25312
2019-05-23 11:21:02 -07:00
dimitry
c193ae4c04 Fix typo in APEX_LIBS_ABSENCE_CHECK_EXCLUDE
arm64 guest libraries are located in lib64/arm64

Bug: http://b/77159578
Test: lunch cf_x86_64_phone-userdebug in internal master; mm -j48 dist
Change-Id: I9f1f9426cbaed0a269126cb242e1a6df9249b167
2019-05-23 16:01:50 +02:00
Jooyung Han
72b65abd41 Remove recovery.id completely
Since aosp/887473 removed ro.expect.recovery_id,
There is no usage of "RECOVERYIMAGE_ID_FILE" which points
$(PRODUCT_OUT)/recovery.id.

Test: m && boot
Change-Id: I704af874b7e4141d2e006595242f7b681aa47f05
2019-05-23 19:48:13 +09:00
Anton Hansson
2899649762 Merge "Add more colors to generated product graphs" am: 64940d5a19
am: b5ed0170ba

Change-Id: Iabed632e2da7b51ec3728acfbcf14d4b4a50d60d
2019-05-23 03:22:45 -07:00
Sasha Smundak
1cd93c6252 Merge "Remove unused (and currently broken) samplecode target." am: 92f2cd55e3
am: a3d96b451f

Change-Id: Ief8dd05c6fe939bd3a6f48cb6760d5f554179201
2019-05-23 03:17:11 -07:00
Anton Hansson
64940d5a19 Merge "Add more colors to generated product graphs" 2019-05-23 09:44:41 +00:00
Treehugger Robot
41b46710e9 Merge "Moving /odm/build.prop to /odm/etc/buid.prop" 2019-05-23 09:16:34 +00:00
Yi Kong
dfd00b1ba1 Add LLVM binutils prebuilds in PATH
Test: lunch; manually examine $PATH
Bug: 133170927
Change-Id: Iceb0add1bfde052acf547402f8d932b87cdf0a2d
2019-05-22 23:36:53 -07:00
Bowgo Tsai
63b4c9eb76 Moving /odm/build.prop to /odm/etc/buid.prop
am: 33ff602070

Change-Id: I9b26413a5fbfe43e900d79010075a4c234d4b310
2019-05-22 21:07:11 -07:00
android-build-team Robot
9466226aa7 Make change and version bump to QP1A.190523.001
Change-Id: I9537a35ec231ee533e9504e22ceff95410ede2d4
2019-05-23 03:17:15 +00:00
Sasha Smundak
2748c61659 Remove unused (and currently broken) samplecode target.
Running 'm samplecode' fails with
"build/make/core/main.mk:1834: error: overriding commands for target
`out/target/common/samples/libsimplejni.so', previously defined at
build/make/core/main.mk:1834"
This proves that noone has been using 'samplecode' target at least since
the build started generating both 32- and 64-bit shared libraries by default,
because development/samples/SimpleJNI/jni/Android.mk defines libsimplejni.so
as 'sample', and the deleted code in core/main.mk causes duplicate rule in
such case.

Test: treehugger
Change-Id: I38a4c478fcb0e60793129fe2513a8cdc6d2c79fb
2019-05-22 20:01:49 -07:00
android-build-team Robot
1f08610bc2 Version bump to QP1A.190522.002 [core/build_id.mk]
Change-Id: I74a62fd102dc69ad65a7b6a491dfcc136947fd5d
2019-05-23 00:27:15 +00:00
TreeHugger Robot
5bbe8ec58b Merge "Removing QP1A entries for qt-dev-plus-aosp" into qt-dev-plus-aosp 2019-05-22 22:56:20 +00:00
Hridya Valsaraju
5b8f78fbe8 Allow for the DTB image to be built by the Android build system.
The current solution expects BOARD_PREBUILT_DTBIMAGE_DIR to
contain prebuilt DTB files that are concatenated by the build system
to create $OUT/dtb.img. In order to accommodate devices that build
the dtb image locally, when BOARD_PREBUILT_DTBIMAGE_DIR is undefined,
make boot.img creation depend only on $OUT/dtb.img.

Bug: 133161451
Test: Build with BOARD_PREBUILT_DTBIMAGE_DIR undefined and verify
using unpack_bootimg.py that $OUT/dtb.img was included in boot.img.

Change-Id: Iae2c634ccdc1d83589b26d382882f75fb8565a31
Merged-In: Iae2c634ccdc1d83589b26d382882f75fb8565a31
2019-05-22 15:55:47 -07:00
Hridya Valsaraju
70f8340a23 Merge "Allow for the DTB image to be built by the Android build system." am: 0c45b0d982
am: f8a9d57439

Change-Id: Iee1434697514a9d442c22562c0d1e36a031d9f92
2019-05-22 05:22:48 -07:00
Bowgo Tsai
33ff602070 Moving /odm/build.prop to /odm/etc/buid.prop
In device root directory, we have the following symlinks:
  - /odm/app -> /vendor/odm/app
  - /odm/bin -> /vendor/odm/bin
  - /odm/etc -> /vendor/odm/etc
  ...

This allows the Generic System Image (GSI) to be used on both devices:
  1) Has a physical odm partition, where those symlink will be hidden
     when /odm is used as the mount point
  2) Has no physical odm partition and fallback to /vendor/odm/.

We can't just have the symlink /odm -> /vendor/odm, because the former
devices won't have /vendor/odm directory, which leads to mount failure
when the mount point /odm is resolved to /vendor/odm.

The existing /vendor/odm/build.prop won't be loaded in the latter
devices, because there is no symlink:
    - /odm/build.prop -> /vendor/odm/build.prop.

Note that init blocks reading through direct symlinks (O_NOFOLLOW) so
the above symlink won't work either. This CL moves the odm build.prop
to /odm/etc/build.prop for init to load it (symlinks in earlier
components of the path will still be followed by O_NOFOLLOW).

Bug: 132128501
Test: boot a device and checks /odm/etc/build.prop is loaded
Test: make dist with an odm.img, checks $OUT/odm/etc/build.prop is loaded
Change-Id: I6f88763db755c9ec6068bfdd9cee81c19d72e9d7
Merged-In: I6f88763db755c9ec6068bfdd9cee81c19d72e9d7
(cherry picked from commit 6c62884000)
2019-05-22 16:14:53 +08:00
Treehugger Robot
0c45b0d982 Merge "Allow for the DTB image to be built by the Android build system." 2019-05-22 07:28:24 +00:00
Bowgo Tsai
71a4d5cdd5 Moving /odm/build.prop to /odm/etc/buid.prop
In device root directory, we have the following symlinks:
  - /odm/app -> /vendor/odm/app
  - /odm/bin -> /vendor/odm/bin
  - /odm/etc -> /vendor/odm/etc
  ...

This allows the Generic System Image (GSI) to be used on both devices:
  1) Has a physical odm partition, where those symlink will be hidden
     when /odm is used as the mount point
  2) Has no physical odm partition and fallback to /vendor/odm/.

We can't just have the symlink /odm -> /vendor/odm, because the former
devices won't have /vendor/odm directory, which leads to mount failure
when the mount point /odm is resolved to /vendor/odm.

The existing /vendor/odm/build.prop won't be loaded in the latter
devices, because there is no symlink:
    - /odm/build.prop -> /vendor/odm/build.prop.

Note that init blocks reading through direct symlinks (O_NOFOLLOW) so
the above symlink won't work either. This CL moves the odm build.prop
to /odm/etc/build.prop for init to load it (symlinks in earlier
components of the path will still be followed by O_NOFOLLOW).

Bug: 132128501
Test: boot a device and checks /odm/etc/build.prop is loaded
Test: make dist with an odm.img, checks $OUT/odm/etc/build.prop is loaded
Change-Id: I6f88763db755c9ec6068bfdd9cee81c19d72e9d7
Merged-In: I6f88763db755c9ec6068bfdd9cee81c19d72e9d7
(cherry picked from commit 6c62884000)
2019-05-22 14:04:39 +08:00
Hridya Valsaraju
59eaef078d Allow for the DTB image to be built by the Android build system.
The current solution expects BOARD_PREBUILT_DTBIMAGE_DIR to
contain prebuilt DTB files that are concatenated by the build system
to create $OUT/dtb.img. In order to accommodate devices that build
the dtb image locally, make boot.img creation depend on $OUT/dtb.img
only when BOARD_PREBUILT_DTBIMAGE_DIR is undefined.

Bug: 133161451
Test: Build with BOARD_PREBUILT_DTBIMAGE_DIR undefined and verify
using unpack_bootimg.py that $OUT/dtb.img was included in boot.img.

Change-Id: Iae2c634ccdc1d83589b26d382882f75fb8565a31
2019-05-22 03:51:41 +00:00
android-build-team Robot
febea1fe3c Make change and version bump to QP1A.190522.001
Change-Id: I3c29339c46c616374f42a28227f8939538afd128
2019-05-22 03:18:34 +00:00
Mitch Phillips
e293edfa2e Merge "Fix fuzzer builds." am: 65dbf9bfb3
am: 164b2532a6

Change-Id: I149780657e1ab209240e4488662eb06c2d2f5d50
2019-05-21 18:40:35 -07:00
android-build-team Robot
93b5c6f6ec Version bump to QP1A.190521.003 [core/build_id.mk]
Change-Id: I1355875cfb6031db81bb8583fc0a8b8e5075597f
2019-05-21 23:43:22 +00:00
Mitch Phillips
65dbf9bfb3 Merge "Fix fuzzer builds." 2019-05-21 22:45:43 +00:00
android-build-team Robot
70e0d45460 Version bump to QP1A.190521.002 [core/build_id.mk]
Change-Id: I54826aa07647b348977ff78705495415d8175356
2019-05-21 18:10:37 +00:00
Pete Gillin
0e4e6f52b3 Merge "Avoid targeting Java 9 for targets with SDK version up to 29." am: 42fe06b3c2
am: 7a383f586c

Change-Id: I750b6274d550d46e03f3863e6028abbd95456ed7
2019-05-21 03:42:10 -07:00
Pete Gillin
42fe06b3c2 Merge "Avoid targeting Java 9 for targets with SDK version up to 29." 2019-05-21 10:19:06 +00:00
android-build-team Robot
a3916b9fe9 Make change and version bump to PQ3B.190705.001
Change-Id: Idcf2beaa5d2f63971de86bb0be7190e27e336455
2019-05-21 06:29:23 +00:00
Paul Scovanner
07050936a3 Update Security String to 2019-07-05
Bug:132634503
(cherry picked from commit 0718f458a1)

Change-Id: Id2b2d4417c0a406d752734804359988f9c890fc3
2019-05-21 06:29:03 +00:00
patricktu
e28672d634 Merge "AIDEGen: Collect the srcjar path of modules into module-info.json" am: 40b5340a94
am: 608cf95523

Change-Id: I5a04a63ede69400e8c3b0e472a8f6e43501ecdb8
2019-05-20 21:49:21 -07:00
android-build-team Robot
87d036cc4a Make change and version bump to QP1A.190521.001
Change-Id: I30283d61a2507767a655620ae232a7e1ba077388
2019-05-21 03:17:50 +00:00
Treehugger Robot
40b5340a94 Merge "AIDEGen: Collect the srcjar path of modules into module-info.json" 2019-05-21 02:02:20 +00:00
Chris Gross
99a22624a5 Merge "Add merging of apexkeys and apkcerts metadata" am: a489a92fdc
am: 07d985d122

Change-Id: Ib5e6d864f3704ffeeb4adb1933bb34f92d3511d8
2019-05-20 18:24:32 -07:00
Colin Cross
55a499b28b Merge "Move check-all-partition-sizes to a non-phony rule" am: 2ee5efd824
am: 468549471a

Change-Id: Ia83d37b549c97fd3dc91f6f3fddc7328fb2696bf
2019-05-20 18:23:36 -07:00
Mitch Phillips
ee8f4a0ada Fix fuzzer builds.
- Updates the fuzzer builds to use SANITIZE_TARGET='fuzzer' instead of
'coverage'.
- Removed an old dependency that made fuzzer builds without ASan
an error.
- Fixed up the build flags to allow fuzzers to be built. Previously, the
coverage flags were manually provided. As the toolchain has moved on,
these flags are no longer compatible with libFuzzer, and so I've updated
them to use the correct, compatible flags.

Bug: 121042685
Test: With all patches in the bug merged, build a fuzzer using
'SANITIZE_TARGET=fuzzer mmma <your_fuzzer>'.

Change-Id: I86e6a26d27c22b3622cf6ea8760f502f607df6f0
2019-05-20 16:58:26 -07:00
Chris Gross
a489a92fdc Merge "Add merging of apexkeys and apkcerts metadata" 2019-05-20 23:36:45 +00:00
Treehugger Robot
2ee5efd824 Merge "Move check-all-partition-sizes to a non-phony rule" 2019-05-20 23:02:26 +00:00
android-build-team Robot
8a30b46910 Version bump to QP1A.190520.002 [core/build_id.mk]
Change-Id: I74f6e060d56f40acf8eb29c6cecd78ca47713698
2019-05-20 21:08:00 +00:00
Chris Gross
fabf50a577 Add merging of apexkeys and apkcerts metadata
Bug: 131437873
Test: Built system-only and vendor builds for merge. Compared
resulting apkcertx and apexkeys text files to that of a monolithic
build,
Test: Created colliding entries in both apexkeys and apkcerts text
files and ensure the script exited with an appropriate error message.
Test: Created unit tests to cover both non-colliding and colliding
entries
Change-Id: I6e42ce682ffa9059344e8cd63ba3a720c1f93452
2019-05-20 18:35:22 +00:00
Pete Gillin
58090478d7 Avoid targeting Java 9 for targets with SDK version up to 29.
Targets with sdk_version values up to and including 29 should not use
Java language level 9, even if EXPERIMENTAL_JAVA_LANGUAGE_LEVEL_9=true
is set.

This change keeps the make logic in sync with the soong logic in the
other change in this topic.

Bug: 131678633
Test: EXPERIMENTAL_JAVA_LANGUAGE_LEVEL_9=true make droid tests docs cts java
Change-Id: Icd5db432f6b18486e8ede006c15a930c754ad4c2
2019-05-20 15:46:50 +01:00
android-build-team Robot
ed0f3a5468 Make change and version bump to QP1A.190520.001
Change-Id: I96329f3116b1e61766efb56b5be713f99fab9fd4
2019-05-19 23:18:32 +00:00
android-build-team Robot
c38d512152 Make change and version bump to QP1A.190519.001
Change-Id: Id824972c43b186712a0b38f555d7a03aa1104f98
2019-05-18 23:19:56 +00:00
Colin Cross
8ab6df3f2d Merge "Bypass LOCAL_*_REQUIRED_MODULES checks for ONE_SHOT_MAKEFILE" am: 6ae7967309
am: ab5c9cdbb1

Change-Id: Ibb87d9e0ac6a1b0f7cff1873b3d2bf4d1dd351fb
2019-05-17 22:27:53 -07:00
android-build-team Robot
fe6a175a40 Version bump to QP1A.190516.006 [core/build_id.mk]
Change-Id: I035cc11262d70db71698af3b55f320a4009a5de0
2019-05-18 00:03:09 +00:00
Colin Cross
ab83244472 Bypass LOCAL_*_REQUIRED_MODULES checks for ONE_SHOT_MAKEFILE
When ONE_SHOT_MAKEFILE is set, the targets of LOCAL_*_REQUIRED_MODULES
may not exist, so skip the error message.

Fixes: 131241991
Test: mmm cts/tests/signature/intent-check
Change-Id: I95c4c901610746854179af8486c8c4767dd18864
2019-05-17 23:10:26 +00:00
Colin Cross
606c9f4d0d Move check-all-partition-sizes to a non-phony rule
Phony rules with recipes run on every build, move the recipe for
check-all-partition-sizes to a rule with an output.

Fixes: 132900128
Test: m && m
Change-Id: I9b4d335bf269cd09a01094e895fc15053b410415
2019-05-17 15:51:39 -07:00
android-build-team Robot
70995c830e Version bump to QP1A.190516.005 [core/build_id.mk]
Change-Id: Iaf1b466e5322ba7e4860c1736271746589b79cfc
2019-05-17 22:43:31 +00:00
android-build-team Robot
2d0e9a27b4 Version bump to PQ3A.190705.002 [core/build_id.mk]
Change-Id: I83e37c2c3b588caa567ccb271530df6597499447
2019-05-17 22:26:18 +00:00
android-build-team Robot
ac6863a9e4 Version bump to QP1A.190516.004 [core/build_id.mk]
Change-Id: I5afaf455c57c241100cba488b340231c02e6dcc1
2019-05-17 21:59:48 +00:00