aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* soong: Support Mac 10.14 SDKlineage-16.0Dan Willemsen2019-09-021-0/+1
| | | | | | | | * Now that we don't compile 32-bit binaries, this seems to work, at least in Xcode 10.3. Test: m checkbuild host Change-Id: I61a98a3c31b331d6d01cd633f8d949fad86047cb
* Give Blueprint modules access to all namespacesColin Cross2019-07-022-0/+48
| | | | | | | | | | Don't enforce namespaces on Blueprint modules like bootstrap_go_package, their dependencies are handled before namespaces are initialized in namespaceMutator. Fixes: 135246048 Test: TestDependingOnBlueprintModuleInRootNamespace Change-Id: I7cf1c26bb8512eed59d6b4eb42a49f7080ffa281
* Revert "dumpvar: Dump TARGET_USE_SDCLANG"Thor Lee2019-05-291-1/+0
| | | | | | This reverts commit 108cc24a0903c36b96549bd0459824b7e147305d. Change-Id: I473fca6839f26bca085f45beb153728d28cab8e3
* Fix formattingEthan Chen2019-03-031-4/+3
| | | | Change-Id: If8fce98316be03fc9dabe27864bc4a324ab6fdb7
* Optimize CPU time when running d8, r8, dx and desugarColin Cross2019-03-013-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | Pass -XX:+TieredCompilation -XX:TieredStopAtLevel=1 to the JVM to reduce the time spent JITing, which in local experiments reduced the CPU time of R8 while increasing the wall time, and reduced the total number of runnable threads. Without the new flags: $ time out/soong/host/linux-x86/bin/r8-compat-proguard -injars out/target/common/obj/APPS/Dialer_intermediates/classes.jar ... real 0m30.090s user 4m35.337s sys 0m12.853s With the new flags: $ time out/soong/host/linux-x86/bin/r8-compat-proguard -JXX:+TieredCompilation -JXX:TieredStopAtLevel=1 -injars out/target/common/obj/APPS/Dialer_intermediates/classes.jar ... real 0m35.674s user 2m45.135s sys 0m9.531s The increase in wall time should be offset by the better parallelism from the reduced CPU time. Bug: 119270658 Test: m checkbuild Change-Id: I8fc78b5ef1f8c6f51fd97a29461b96ae2b35cada
* Always link org.lineageos.platform-res for org.lineageos.platform.sdkLuca Stefani2019-02-041-2/+5
| | | | | Test: m clean && m org.lineageos.platform.sdk Change-Id: I58956855bd4d1157e2582103c4861e7b384b4f73
* Merge remote-tracking branch 'aosp/pie-gsi' into HEADLuca Stefani2019-01-055-60/+57
|\ | | | | | | | | | | | | * aosp/pie-gsi: Stop using GCC in toolchain_library Change-Id: I08c6753389baa501598a9fe9c44f4a32a306f48c
| * Stop using GCC in toolchain_libraryDan Willemsen2019-01-045-60/+57
| | | | | | | | | | | | | | | | | | | | | | Instead, hardcode the ~dozen paths into build/soong/Android.bp, which will unblock removing more GCC support. Bug: 114286031 Test: m Change-Id: I2508432e00b1469141f01e667f3c6a2fe30cd805 Merged-In: I2508432e00b1469141f01e667f3c6a2fe30cd805 (cherry picked from commit feea4dff66d705f9b036378ac44876f0935ede72)
| * Merge pi-qpr1-release PQ1A.181105.017.A1 to pi-platform-releaseBill Yi2018-11-303-10/+12
| |\ | | | | | | | | | | | | | | | am: 25ce2ab6bf Change-Id: Ib77908761dcabb10db06e81690065736371b1abe
| | * Merge pi-qpr1-release PQ1A.181105.017.A1 to pi-platform-releaseBill Yi2018-11-283-10/+12
| |/| | | | | | | | | | Change-Id: Id26c628ad766809fd69076b6840d684d6fcfb6d4
* | | Merge tag 'android-9.0.0_r16' into lineage-16.0Luca Stefani2018-11-133-10/+12
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | Android 9.0.0 Release 16 (PQ1A.181105.017.A1) * tag 'android-9.0.0_r16': Remove workaround for cortex-a55/a75 Update ToolingCFlags overrides to include other new architectures Fix VNDK-Ext ABI check regression Change-Id: I0792d0ba25239273ccd1842e014aa316ef8eba8c
| * | Merge "Remove workaround for cortex-a55/a75" into pi-devandroid-9.0.0_r47android-9.0.0_r46android-9.0.0_r45android-9.0.0_r44android-9.0.0_r43android-9.0.0_r42android-9.0.0_r41android-9.0.0_r40android-9.0.0_r39android-9.0.0_r38android-9.0.0_r37android-9.0.0_r36android-9.0.0_r35android-9.0.0_r34android-9.0.0_r33android-9.0.0_r32android-9.0.0_r31android-9.0.0_r30android-9.0.0_r22android-9.0.0_r21android-9.0.0_r20android-9.0.0_r19android-9.0.0_r16TreeHugger Robot2018-06-302-8/+5
| |\ \
| | * | Remove workaround for cortex-a55/a75Yi Kong2018-06-192-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: m checkbuild Test: boot on a55/a75 device, pass bionic tests Bug: 110235326 Change-Id: I5ab2102352a6efe1173b3097875e6e779d4a1a09 Merged-In: I5ab2102352a6efe1173b3097875e6e779d4a1a09 (cherry picked from commit 9a350e644b4e5762df5838e007a55af68449c937)
| * | | Update ToolingCFlags overrides to include other new architecturesYi Kong2018-06-191-2/+7
| |/ / | | | | | | | | | | | | | | | | | | | | | Bug: 110235326 Test: m checkbuild Change-Id: Ifaa35db08d35ed3cb14fce3e9c5643f26bc3f706 Merged-In: I9d0ada05d95bb260500c1d694332a73363b0f299 (cherry picked from commit 32a779171b78615b231d0680872942d2dd07b519)
| * | Fix VNDK-Ext ABI check regressionLogan Chien2018-06-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VNDK-Ext are modules with `vndk.enabled: true` but not having `vendor_available: true`. In addition, VNDK-Ext should be checked by source ABI checker. This change fixes the regression introduced in Bug: 110142940 Test: Create libminijail_ext, break some ABIs, and see an error. Merged-In: I8b47ac12d2e132f641129c9549ed22c3971d6c89 Change-Id: I8b47ac12d2e132f641129c9549ed22c3971d6c89 (cherry picked from commit ef1ff3de9804d8e99df06f0874c974b3f1e85e36) Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
* | | soong sbox: Add option to allow copying all generated outputSam Mortimer2018-09-181-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *) Add option --copy-all-files that copies all generated output. *) When enabled, do not error when unexpected output files are found. *) For use by lineage_generator module. Change-Id: Ia3cd2216807f6165b23a97a001db7303f15d33e2
* | | soong: Add java sources overlay supportSam Mortimer2018-09-103-0/+161
| | | | | | | | | | | | Change-Id: I94143febb0a8afa6a165364d36a40d5120a4e7bc
* | | soong: make org.lineage.platform-res depend on framework-resSam Mortimer2018-09-042-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *) Allows us to build org.lineage.platform-res with no_framework_libs true (as is done for framework-res). *) Whilst we're here, undo a dependency loop prevention in aar.go that we added during sdk bringup to allow our platform res to build with no_framework_libs false. Change-Id: Ib452a2e45112baf5d61b70b4be1ce0c01dfd84e5
* | | soong: Enforce absolute path if OUT_DIR is setAdrian DC2018-08-311-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | * Follows "soong: use absolute path for OUT_DIR" to resolve inline kernel building when export OUT_DIR=out or =out_name Change-Id: I6560ec163cc6508f211bb1cd65d565015141d79b
* | | soong: Add function to return camera parameters library nameRashed Abdel-Tawab2018-08-301-0/+4
| | | | | | | | | | | | Change-Id: I3113ea6813b82c3f6b250205080030ff9c2255ec
* | | soong: Special case Lineage SDKRashed Abdel-Tawab2018-08-306-5/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | * org.lineageos.platform-res.apk needs to be installed to /system/framework * org.lineageos.platform-res needs to be a dependency for org.lineageos.platform and org.lineageos.platform.internal * Add other special exceptions for org.lineageos.platform-res Change-Id: Ic617c07c086916005ea4b88f26d31c61691a45f8
* | | Use new flex binaryDan Willemsen2018-08-301-1/+1
| | | | | | | | | | | | | | | Test: treehugger Change-Id: Ie1d41a3ee223a80b6f471b7b1cbede63cc7051f5
* | | locale: add C.utf8Aaron Kling2018-08-221-0/+3
| | | | | | | | | | | | | | | | | | Several Linux distros use utf8 instead of UTF-8 Change-Id: I7e3dd73ec89bc34d7f2dc1834082cc90f9521ad1
* | | Declare proguard_dictionary as implicit output of r8Colin Cross2018-08-211-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Soong was generating proguard_dictionary, but not marking it as an output, so ninja would fail with: ninja: error: 'out/soong/.intermediates/bootable/recovery/tools/recovery_l10n/RecoveryLocalizer/android_common/proguard_dictionary', needed by 'out/target/common/obj/APPS/RecoveryLocalizer_intermediates/proguard_dictionary', missing and no known rule to make it Fixes: 78770148 Test: mmma bootable/recovery/tools/recovery_l10n Change-Id: I956f92519ea81d4fb1322114214099d46d734906
* | | soong: add support for nested structs in variablePropertiesSimon Shields2018-08-161-2/+12
| | | | | | | | | | | | Change-Id: I0e5395ac70220f1d3a1c87c6112e33f84f526fea
* | | soong: extend with lineage board flagsSimon Shields2018-08-163-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Includes the following commit: Author: Simon Shields <simon@lineageos.org> Date: Mon Sep 4 21:09:44 2017 +1000 soong: explicitly specify name of Lineage variables struct Change-Id: Ic754b8a13658ddc40620f985581bd1754b780b15 Change-Id: If127c9da6b57340ae57e0cf725151cdcc3c82ef3
* | | dumpvar: Dump TARGET_USE_SDCLANGPaul Keith2018-08-131-0/+1
| | | | | | | | | | | | | | | | | | | | | * But only do it if SDCLANG is detected locally Change-Id: I4e9556bfcefc0321351601471b6f5587ff5a42d4 Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
* | | dumpvar: Dump RECOVERY_VARIANT if not emptyPaul Keith2018-08-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | * As more and more people are building twrp, let's remind them what they are doing Change-Id: Ib9e5f037a56c7d6710a2ae0048f3a45c1c20b4ae Signed-off-by: Paul Keith <javelinanddart@gmail.com>
* | | Add dumpvar for WITH_SUAbhisek Devkota2018-08-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | -Allow folks to see easily if the term session they are in has WITH_SU set to true -Also add a dumpvar rule for WITH_GMS for those that have it Change-Id: Ib310d0016bb9eb16960f794720321b706b6fd8b0
* | | soong: Add LINEAGE_VERSION to dumpvarsRashed Abdel-Tawab2018-08-131-0/+1
| | | | | | | | | | | | Change-Id: I24b29442f041aec451a173db404f542060ac67d2
* | | soong: Add kryo300 cpu variant to build/songWei Wang2018-08-061-0/+1
| | | | | | | | | | | | | | | | | | Add kryo300 cpu variant to build/song Change-Id: Ib6eb2f82f62e8a1cfce40c48b54e50bacc1d585e
* | | cleanbuild: add *.zip.md5sum to installclean_filesMichael Bestas2018-08-061-0/+1
| | | | | | | | | | | | Change-Id: I9af8579f4acf5043375650ec4f7fadb66c0eb15e
* | | soong: use absolute path for OUT_DIRDan Pasanen2018-08-061-0/+2
| |/ |/| | | | | | | | | | | | | * This is needed for tasks like inline kernel building. If OUT_DIR_COMMON_BASE (which will be an absolute path) is not set, prepend TOP to "out" in order to always use a full path. Change-Id: I5f955c42854922425268f4cd54dec8cf0a531195
* | Merge cherrypicks of [4368877, 4369031, 4369032, 4369033, 4369034, 4368878, ↵android-wear-9.0.0_r9android-wear-9.0.0_r8android-wear-9.0.0_r7android-wear-9.0.0_r6android-wear-9.0.0_r5android-wear-9.0.0_r4android-wear-9.0.0_r3android-wear-9.0.0_r25android-wear-9.0.0_r24android-wear-9.0.0_r23android-wear-9.0.0_r22android-wear-9.0.0_r21android-wear-9.0.0_r20android-wear-9.0.0_r2android-wear-9.0.0_r19android-wear-9.0.0_r18android-wear-9.0.0_r17android-wear-9.0.0_r16android-wear-9.0.0_r15android-wear-9.0.0_r14android-wear-9.0.0_r13android-wear-9.0.0_r12android-wear-9.0.0_r11android-wear-9.0.0_r10android-wear-9.0.0_r1android-vts-9.0_r9android-vts-9.0_r8android-vts-9.0_r7android-vts-9.0_r6android-vts-9.0_r5android-vts-9.0_r4android-vts-9.0_r15android-vts-9.0_r14android-vts-9.0_r13android-vts-9.0_r12android-vts-9.0_r11android-vts-9.0_r10android-security-9.0.0_r62android-cts-9.0_r9android-cts-9.0_r8android-cts-9.0_r7android-cts-9.0_r6android-cts-9.0_r5android-cts-9.0_r4android-cts-9.0_r3android-cts-9.0_r2android-cts-9.0_r14android-cts-9.0_r13android-cts-9.0_r12android-cts-9.0_r11android-cts-9.0_r10android-cts-9.0_r1android-9.0.0_r9android-9.0.0_r8android-9.0.0_r7android-9.0.0_r61android-9.0.0_r60android-9.0.0_r6android-9.0.0_r59android-9.0.0_r58android-9.0.0_r57android-9.0.0_r56android-9.0.0_r55android-9.0.0_r54android-9.0.0_r53android-9.0.0_r52android-9.0.0_r51android-9.0.0_r50android-9.0.0_r5android-9.0.0_r49android-9.0.0_r48android-9.0.0_r3android-9.0.0_r2android-9.0.0_r18android-9.0.0_r17android-9.0.0_r10android-9.0.0_r1android-build-team Robot2018-06-181-1/+1
|\ \ | | | | | | | | | | | | | | | 4369035, 4369036, 4369008] into pi-release Change-Id: I758bc94b92ca72e194430c56a45615b71a8c39ab
| * | Fix VNDK-Ext ABI check regressionLogan Chien2018-06-181-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | VNDK-Ext are modules with `vndk.enabled: true` but not having `vendor_available: true`. In addition, VNDK-Ext should be checked by source ABI checker. This change fixes the regression introduced in Bug: 110142940 Test: Create libminijail_ext, break some ABIs, and see an error. Merged-In: I8b47ac12d2e132f641129c9549ed22c3971d6c89 Change-Id: I8b47ac12d2e132f641129c9549ed22c3971d6c89 (cherry picked from commit ef1ff3de9804d8e99df06f0874c974b3f1e85e36) Signed-off-by: Jayant Chowdhary <jchowdhary@google.com> (cherry picked from commit 39299e61610198b3d3c511a58ea540471d8e29c2)
* | Snap for 4832339 from 19b1742614570b0debcdd13238917126924d321c to pi-releaseandroid-build-team Robot2018-06-101-0/+1
|\| | | | | | | Change-Id: Ie8d65ddd251352c57b4e2ee7a151693f218567dc
| * Add kotlin stdlib to javac classpathColin Cross2018-06-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | Java modules that have .kt sources may also use kotlin stdlib types in their .java sources. Bug: 78245848 Test: m checkbuild Change-Id: I064cb76b8a641ad92d648febaa400bc01549a9c5 Merged-In: I064cb76b8a641ad92d648febaa400bc01549a9c5 (cherry picked from commit 49da2757cd04850b4667504e7e9bd595aad25c94)
* | Snap for 4810559 from 9ccbba0200cf56cc6b1b09bc45fa2efb1ea9a411 to pi-releaseandroid-build-team Robot2018-05-301-3/+2
|\| | | | | | | Change-Id: I3881547af30a519049efbb05601ab3a9cb44b43a
| * Disable CFI for vendor variants of all componentsVishwath Mohan2018-05-281-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current VNDK ABI snapshot expects that CFI is disabled for components that either in the include paths (from cfi-common.mk) OR enabled directly in the makefile/blueprint. However, on non-arm64 architectures, the build system was only disabling CFI for vendor components in the include paths. This topic corrects it by (a) removing the include paths check to disable CFI for vendor variants (this CL), and (b) inheriting the CFI include paths in all product configs to ensure that when we update the ABI we're able to move to relying exclusively on (PRODUCT_)CFI_INCLUDE_PATHS. Bug: 66301104 Test: ABI matches for all architectures. Change-Id: I648edf13346b18fd88b623682e8590ed44709e0d
* | Snap for 4807121 from 1c54f66bd56d00592b6ce55826411ae6af9e2697 to pi-releaseandroid-build-team Robot2018-05-271-2/+9
|\| | | | | | | Change-Id: I115236c6d50a30b3e0d20c8631d7198e9fc999cd
| * Restrict CFI_INCLUDE_PATHS to Arm64Vishwath Mohan2018-05-241-2/+2
| | | | | | | | | | | | | | | | | | This CL restricts CFI_INCLUDE_PATHS and PRODUCT_CFI_INCLUDE_PATHS to Arm64 only. Bug: 66301104 Test: x86 targets do not respect the include paths variables Change-Id: I66ec2fb05435535aaf5d59fdfc7a170a4fdd4f26
| * Disable CFI for vendor variants of VNDK librariesVishwath Mohan2018-05-231-0/+7
| | | | | | | | | | | | | | | | | | | | Enabling CFI changes the VNDK ABI from the frozen snapshot, so the only solution for now is to temporarily disable CFI on all vendor variants for the sake of compatibility. Bug: 66301104 Test: ABI is consistent. Change-Id: Ie7dca41e0f647808b08adede09a30f3c746e6bda
* | Snap for 4801384 from 165e01b744fe42cf700e388f7e0fb874966a6bfc to pi-releaseandroid-build-team Robot2018-05-242-3/+8
|\| | | | | | | Change-Id: I2d863012b6e1bd554d3c41ed841363c2c02a6a5c
| * Merge "Allow abi diffs sanitized variants of vndk libraries on production ↵Vishwath Mohan2018-05-232-3/+8
| |\ | | | | | | | | | devices." into pi-dev
| | * Allow abi diffs sanitized variants of vndk libraries on production devices.Jayant Chowdhary2018-05-142-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously abi diffs were allowed only on unsanitized variants of vndk libraries. This CL allows them on all sanitized variants which go onto production devices, eg: cfi variants. Bug: 66301104 Test: Without this change, for arm64 libstagefright_foundation doesn't get an lsdump file since we don't build an unsanitized variant (aosp_arm64_ab). Test: With this change, for arm64 libstagefright_foundation does get an lsdump file (aosp_arm64_ab) Merged-In: I94f82fd84fc898e4980c3f3619df9677ed723c32 Change-Id: I94f82fd84fc898e4980c3f3619df9677ed723c32 (cherry picked from commit b7e08ca83000f14653ffdd0bc4195067bb902dfc)
* | | Snap for 4796401 from 683444e40f552f7b1d71ed777c7c58a769c2ec72 to pi-releaseandroid-build-team Robot2018-05-222-0/+165
|\| | | | | | | | | | | Change-Id: Ie408d788bd43d8224481dec4d8aa9d4561c2c48d
| * | Merge "Add bpf module type" into pi-devTreeHugger Robot2018-05-222-0/+165
| |\ \
| | * | Add bpf module typeColin Cross2018-05-182-0/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a module type for compiling .c to .o using clang --target=bpf. Bug: 72981744 Test: m Change-Id: Ie5712bfabe34901a84ed33737053306ca56ebeb4 Merged-In: Ie5712bfabe34901a84ed33737053306ca56ebeb4 (cherry picked from commit 3ba736a7e162a913973baab7861bf62071f60428)
* | | | Snap for 4793185 from 3e2f0ff226fb4d3874139a8a8b5a06268e72c854 to pi-releaseandroid-build-team Robot2018-05-201-2/+2
|\| | | | | | | | | | | | | | | Change-Id: I063d9f056e434235c7f1e3c57317f046501e6051
| * | | Temporarily remove -check-all-apis from header-abi-diff invocation.Jayant Chowdhary2018-05-181-2/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -check-all-apis currently, produces noise for some libraries (eg:libstagefright_soft_vpxenc), so remove this till a good solution arrives. Bug: 79928919 Test: create abi reference for libstagefright_soft_vpxenc; m -j libstagefright_soft_vpxenc.vendor; no warnings about struct LAYER_CONTEXT layout changing. Merged-In: I8f30700c1b619c72504ca9aef69075f6e334ba5f Change-Id: I8f30700c1b619c72504ca9aef69075f6e334ba5f (cherry picked from commit 39d167aa2c9af9cbb31e212fd6da8292f5e801ad)