- Jan 24, 2020
-
-
Jaewoong Jung authored
Resource configs should not be deduped when building RROs since it would be impossible to override some resource configs with the same value as the default config. Also, aapt2 removes resources that do not have default configurations. If an overlay attempts to overlay a non-default configuration without overlaying the default, the resource will be removed and the value will not be overlaid at all. Bug: 146227008 Fixes: 119811120 Test: app_test.go Change-Id: I834a58b18d1e74a0f6b3de3d0523009788787e42
-
Treehugger Robot authored
-
Treehugger Robot authored
-
- Jan 23, 2020
-
-
Jaewoong Jung authored
Fixes: 119811120 Test: app_test.go Test: Converted and built IconPackFilledSystemUIOverlay Change-Id: I71841148c25f820ba829f751a201d2c771c8bd20
-
Colin Cross authored
* changes: Pass desired size proptools.FilterPropertyStructSharded Do a better job removing tags from arch structs Split the runtime arch property structs into 3
-
Jooyung Han authored
Symlinks to system libs should be created for flattened apex regardless that it is primary or not. For example, GSI installs non-primary flattened apexes as well. These flattened (non-primary) apexes could be activated on non-updatable devices. Bug: 148195518 Test: GSI runs on P Change-Id: I238b226473d923e03280b1b28dd0d5d1f77ae74a
-
Treehugger Robot authored
-
Ulyana Trafimovich authored
-
Vic Yang authored
-
Jooyung Han authored
This reverts commit 5df3b11f. Reason for revert: re-land with a fix Fix a broken soong test Add implicit dependency (libprofile-clang-extra) to make a test pass. Bug: n/a Test: m Change-Id: I0b179199bc032501354f8e24782837453781bd8c
-
Jooyung Han authored
-
Jooyung Han authored
This reverts commit 559ad01d. Reason for revert: broken builds Change-Id: Ia8a09a2bdbdc8e76f2d4b9eb54e36ccc544e9397 Bug: b/148181875
-
Treehugger Robot authored
-
Jooyung Han authored
VNDK APEX is supposed to contain "vendor" variants of VNDK libraries. This is different from normal APEXes which have "apex" variants. Bug: 146758869 Test: build / flash / boot Change-Id: I5e035678c337334092616b58d2e0e404788a6639 Exempt-From-Owner-Approval: Got ORV, but rebased with resolving merge conflicts.
-
Colin Cross authored
proptools.FilterPropertyStructSharded now takes a desired max size of the name. Fixes: 146234651 Test: all soong tests Change-Id: Ifa10039e5f55a5d0f4a35172983d43f33af88e93
-
Colin Cross authored
Remove more android struct tags from runtime created arch structs to reduce the size of their names, which hit the 64kB limit in runtime.StructOf if they are too long. Bug: 146234651 Test: m checkbuild Change-Id: I6362765275b93c8932eb0b1abbcb4be47031d9b1
-
Treehugger Robot authored
-
- Jan 22, 2020
-
-
Sasha Smundak authored
Bug: 146224091 Test: manual Change-Id: I998a51565419b86a9f183c0f3228ce09d7b035c0
-
Oliver Nguyen authored
-
Hadrien Zalek authored
-
Hadrien Zalek authored
This reverts commit fae236f4. Reason for revert: Breaks 32-bit app tests on Cuttlefish Bug: 148123414 Change-Id: Ieeb0b09e711a55172e6faa0035d1eb84dd6c4471
-
Ulya Trafimovich authored
JIT-zygote boot image was split into primary and framework extension in CL I5493e575ebf90bad1d5ad2850004d54590bbc079, but that CL forgot to add JIT-zygote boot image files to the ART apex. Add them now. Test: Steps 1-3: 1. Temporarily enable Jit zygote in the product device config (in this case device/google/muskie/aosp_walleye.mk): +# System server should not contain compiled code. +PRODUCT_SYSTEM_SERVER_COMPILER_FILTER := verify + +# Use the apex image for preopting. +DEXPREOPT_USE_APEX_IMAGE := true + +# Have the runtime pick up the apex image. +PRODUCT_PROPERTY_OVERRIDES += \ + dalvik.vm.boot-image=/apex/com.android.art/javalib/apex.art:/system/framework/apex-framework.art 2. Build and flash: $ lunch aosp_walleye-userdebug && m \ && adb reboot bootloader && fastboot flashall -w 3. Ensure that apex.art and apex-framework.art are mapped in the JIT-zygote address space: $ adb shell cat /proc/`adb shell ps | grep zygote64 | awk {'print $2'}`/maps | grep apex.art 6ffde000-70102000 rw-p 00000000 00:00 0 [anon:dalvik-/apex/com.android.art/javalib/apex.art] 701e5000-70262000 rw-p 00000000 00:00 0 [anon:dalvik-/apex/com.android.art/javalib/apex.art] 72715cf000-72715d4000 r--p 000ba000 07:98 93 /apex/com.android.art/javalib/arm64/apex.art $ adb shell cat /proc/`adb shell ps | grep zygote64 | awk {'print $2'}`/maps | grep apex-framework.art 7084b000-70cc2000 rw-p 00000000 00:00 0 [anon:dalvik-/system/framework/apex-framework.art] 70fd8000-71109000 rw-p 00000000 00:00 0 [anon:dalvik-/system/framework/apex-framework.art] 7271517000-7271526000 r--p 00295000 fc:00 1268 /system/framework/arm64/apex-framework.art Change-Id: I985e15de9f38f345ba3e99451c6d9b8e2cb5d698
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
- Jan 21, 2020
-
-
Vic Yang authored
Test: Build success Change-Id: If8ca5f9cec5fc735e56ec06fefd4cebf44032b59
-
Dan Willemsen authored
Refreshing some examples and references, and adding a new section on makefile performance debugging. Test: view in gitiles Change-Id: I747db67a16105fb738d87a6ead3f5d3e23bff7d0
-
Peter Collingbourne authored
-
Vic Yang authored
-
Colin Cross authored
Instead of creating a runtime generated struct type: struct { Arch struct { Arm struct { Armv7-a struct { ... } } ... } Multilib struct { Lib32 struct { ... } ... } Target struct { Android struct { ... } ... } } Replace it with a top-level struct of empty interfaces: type archPropRoot struct { Arch, Multilib, Target interface{} } And then embed nil pointers to smaller structs inside it: struct { Arm struct { Armv7-a struct { ... } } ... } This reduces the maximum number of times the archecture specific properties are embedded in a runtime generated struct from 139 to 97, which makes it easier to avoid hitting the runtime generated struct name size limit of 64kB. Bug: 146234651 Test: all soong tests Change-Id: I901c434ac9a1d99c74fc2370c5e6803b3682dc73
-
Martin Stjernholm authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Paul Duffin authored
The properties are just passed through to the java_import module that it creates to import the stubs so could be used if set. However, none of the current usages of java_sdk_library_import actually set them and it is not clear why the following would ever be set on java_sdk_library_import: * installable * exclude_files * exclude_dirs The above properties look as though they were simply copied from the ImportProperties struct. The libs property is also unused but it seems as though it should be used to improve compatibility with the source module. e.g. the source module for android.test.runner has android.test.base and android.test.mock in its libs. However, the prebuilt version of it does not. Bug: 148080325 Test: m nothing Change-Id: I710e3962b2e34b2b0cc81685d07d4948cef4e6ad
-
Vic Yang authored
First round of cleaning. Remove VNDK libraries that already have identical variants. Bug: 148082691 Test: Build success Change-Id: I97f946a2cbf459b607a73e766db9fb8d7655f220
-
Stephen Hines authored
-
Pete Gillin authored
-
Pete Gillin authored
This reverts commit 014a8571. Reason for revert: Caused vendor/google/build/build_mainline_modules.sh to fail with `Error: minSdkVersion (10000) is greater than maxSdkVersion (30)`. Bug: 130541924 Change-Id: Ifa233bf40a674481d21b61ee816c5fdde8201080
-
Martin Stjernholm authored
This is for use to add dependencies between specific module variants, without getting the dependencies potentially duplicated as more variants are created. Moved genrule tool dependency registration to this phase, to avoid potential splitting of its dependencies, and for consistency with the same kind of dependency on dex2oat in https://r.android.com/1205730. Test: m nothing Bug: 145934348 Change-Id: I1f9e75354e359cef5f41d14e5016b0a67d7655d7
-