aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove extension from LOCAL_MODULE_STEMandroid-cts-7.1_r9android-cts-7.1_r8android-cts-7.1_r7android-cts-7.1_r6android-cts-7.1_r5android-cts-7.1_r4android-cts-7.1_r3android-cts-7.1_r29android-cts-7.1_r28android-cts-7.1_r27android-cts-7.1_r26android-cts-7.1_r25android-cts-7.1_r24android-cts-7.1_r23android-cts-7.1_r22android-cts-7.1_r21android-cts-7.1_r20android-cts-7.1_r2android-cts-7.1_r19android-cts-7.1_r18android-cts-7.1_r17android-cts-7.1_r16android-cts-7.1_r15android-cts-7.1_r14android-cts-7.1_r13android-cts-7.1_r12android-cts-7.1_r11android-cts-7.1_r10android-cts-7.1_r1android-7.1.2_r9android-7.1.2_r8android-7.1.2_r6android-7.1.2_r5android-7.1.2_r4android-7.1.2_r39android-7.1.2_r38android-7.1.2_r37android-7.1.2_r36android-7.1.2_r33android-7.1.2_r32android-7.1.2_r30android-7.1.2_r3android-7.1.2_r29android-7.1.2_r28android-7.1.2_r27android-7.1.2_r25android-7.1.2_r24android-7.1.2_r23android-7.1.2_r2android-7.1.2_r19android-7.1.2_r18android-7.1.2_r17android-7.1.2_r16android-7.1.2_r15android-7.1.2_r14android-7.1.2_r13android-7.1.2_r12android-7.1.2_r11android-7.1.2_r10android-7.1.2_r1android-7.1.1_r9android-7.1.1_r8android-7.1.1_r7android-7.1.1_r61android-7.1.1_r60android-7.1.1_r6android-7.1.1_r59android-7.1.1_r58android-7.1.1_r57android-7.1.1_r56android-7.1.1_r55android-7.1.1_r54android-7.1.1_r53android-7.1.1_r52android-7.1.1_r51android-7.1.1_r50android-7.1.1_r49android-7.1.1_r48android-7.1.1_r47android-7.1.1_r46android-7.1.1_r45android-7.1.1_r44android-7.1.1_r43android-7.1.1_r42android-7.1.1_r41android-7.1.1_r40android-7.1.1_r4android-7.1.1_r39android-7.1.1_r38android-7.1.1_r35android-7.1.1_r33android-7.1.1_r32android-7.1.1_r31android-7.1.1_r3android-7.1.1_r28android-7.1.1_r27android-7.1.1_r26android-7.1.1_r25android-7.1.1_r24android-7.1.1_r23android-7.1.1_r22android-7.1.1_r21android-7.1.1_r20android-7.1.1_r2android-7.1.1_r17android-7.1.1_r16android-7.1.1_r15android-7.1.1_r14android-7.1.1_r13android-7.1.1_r12android-7.1.1_r11android-7.1.1_r10android-7.1.1_r1android-7.1.0_r7android-7.1.0_r6android-7.1.0_r5android-7.1.0_r4android-7.1.0_r3android-7.1.0_r2android-7.1.0_r1Colin Cross2016-03-291-2/+4
| | | | | | | | LOCAL_MODULE_STEM adds the expected extension to the installation path, remove the extension from the filename. Change-Id: I54dbcfa73d8d07fc3630caf2d582160003e28f79 (cherry picked from commit bf305dea81d301bee644416b325196bb68bd4878)
* Don't install static librariesColin Cross2016-03-291-0/+2
| | | | | | | | Disable installing static libraries for now by resetting the installer when creating a static library variant. Change-Id: I9360b5c57d95fc0712539accb9450b5fa402fade (cherry picked from commit 7b106e4e9fb13e39ac9a1613a7ddeac3fef2d4b1)
* Revert "Remove useless LOCAL_ACP_UNAVAILABLE" DO NOT MERGE ANYWHEREColin Cross2016-03-291-0/+3
| | | | | | | | This reverts commit f778e12c57b9d13a65930eb656da8e456fc05ad5. LOCAL_ACP_UNAVAILABLE is still necessary in nyc-dev. Change-Id: I25ce63162cb30cb1b5d6173eef0f6b99298162fe
* Manual merge of AOSP into nyc-devColin Cross2016-03-255-6/+28
|\ | | | | | | Change-Id: I983bae75b69e63874b6f4dd32a760c23603992fd
| * Use correct install paths in generated Android.mkColin Cross2016-03-245-6/+28
| | | | | | | | | | | | | | Extract Soong's install path and put it in the generated Android.mk file so that tests get installed in the correct place. Change-Id: Id4726855c5677855406de20773a5da533bdd4cea
* | Merge "Improve BUILDDIR handling with symlinks"Dan Willemsen2016-03-243-10/+87
|\ \ | |/ |/|
| * Improve BUILDDIR handling with symlinksDan Willemsen2016-03-223-10/+87
| | | | | | | | | | | | | | | | | | | | | | | | If BUILDDIR is a local symlink to another directory in the same parent directory (out -> out.angler), then using out and .. as relative paths to get back and forth work. But if BUILDDIR is a symlink to another directory altogether (out -> /mnt/sdd/out.master), then we shouldn't be relying on relative paths (so that the source directory can still be moved). Change-Id: I946c8116090410ab2b935eafba9b6e96f5f2f1dd
* | Refactor ccColin Cross2016-03-217-1147/+1416
|/ | | | | | | | | | | | Refactor all of cc in order to use composition instead of inheritance. All cc module types exported by cc are now *cc.Module objects, with compilation, linking, and installing steps delegated to different objects in order to form the full module type. Additional features that modify dependencies and flags can be inserted in a features object list, and custom module types can be created by adding a Customizer object that can modify properties. Change-Id: Ie1283d14920f7856f6947b0530606b2f4d58fab0
* Update clang version to 2690385Colin Cross2016-03-211-1/+1
| | | | | | Matches changes in I1226f24b50319e321ea538362b2f26fcd227ca39 Change-Id: Iecb2c7388d91fe9975dbe035b5ce6fec8d32a435
* Allow overriding of Clang prebuiltsDan Willemsen2016-03-161-1/+14
| | | | | | | | | | | | These are the environment variables used by make to override the llvm/clang prebuilts. As far as I know, these should only be used when building or testing a new clang drop. I would have this handled by make and put in soong.variables, but I expect this to be one of the first options removed from make and exported from Soong to Kati. Change-Id: I7a3a70ee44fc4b1e56a5e200e2a7ced77d4c5692
* Split Allow_missing_dependencies from Unbundled_buildDan Willemsen2016-03-162-4/+5
| | | | | | | There are stripped down branches used to build other things than just unbundled apps (like the AOSP llvm branch used to build llvm prebuilts). Change-Id: Id772eac8c4622458591b52f9f27723fdb83f9a85
* Fix optional intermediates path for unbundled buildsDan Willemsen2016-03-111-1/+1
| | | | | | | | | On an unbundled build, if an include directory was missing, I generated an intermediate path with PathForModuleOut. That included another copy of $OUT_DIR, which I didn't notice. This fails if $OUT_DIR is an absolute directory. Just manually set up the path for now. Change-Id: I3821d562c929e69ed2fccb7e88affed384a7789e
* Support missing include dirs for unbundled branchesDan Willemsen2016-03-111-0/+15
| | | | | | | | Treat absolute paths specified from a module (include_dirs, etc) like actual module dependencies. If it doesn't exist, produce a ninja error instead of refusing to create the ninja file. Change-Id: I662b9bb2af04b2006984a07d1ccb700b63dde582
* Propagate missing dependencies when using whole_static_libsDan Willemsen2016-03-112-0/+26
| | | | | | | | Currently, whole_static_libs with missing dependencies are silently ignored. Instead, when getting the object files from the other module, add its missing dependencies to the current module. Change-Id: I12472dede2dfafdded56268bfd37f60063b637c4
* Switch to clang-2658975Dan Willemsen2016-03-111-1/+1
| | | | | | Port of https://android-review.googlesource.com/206366 Change-Id: Ife2e0ab84de839ea73744cb65f995a11e3145304
* OSX: Use the oldest SDK, but always set our target to 10.8Dan Willemsen2016-03-091-9/+7
| | | | | | | | | | Build binaries usable on older machines even if older SDKs are not installed. Older SDKs can no longer be installed on newer Xcode versions. Port of https://android-review.googlesource.com/207242 Change-Id: If66f2eef7593bce9fb858fc7b71369f55dd362e4
* Fix C++ on DarwinDan Willemsen2016-03-093-15/+37
| | | | | | Port of https://android-review.googlesource.com/207241 Change-Id: Idad81a528a2104579de0225b0724bb81293eea44
* Use optional_dirs for non-soong projectsDan Willemsen2016-03-071-4/+7
| | | | | | | On some branches, some of these projects may not exist. Use dirs for the blueprint / soong projects, and optional_dirs for everything else. Change-Id: I2b84948f1818941a21981c135bd6237852bfcc8b
* Merge "Replace Device_uses_{dl,je}malloc with Malloc_not_svelte"android-n-preview-1Dan Willemsen2016-03-041-16/+9
|\
| * Replace Device_uses_{dl,je}malloc with Malloc_not_svelteDan Willemsen2016-03-011-16/+9
| | | | | | | | | | | | | | This no longer switches between dlmalloc and jemalloc, it just changes the jemalloc cflags for non-svelte devices. Change-Id: Ic6975de89a53a42e4735dbdcde68367ebfc42f9b
* | Swap -lm and -lpthread for host libc++ usersDan Willemsen2016-03-031-1/+1
| | | | | | | | | | | | Match the order we use in make. Change-Id: I7959f72841bd058b13d6c8fc6efb3c78b5de9d35
* | Do not use -Wl,--gc-sections for linux host librariesDan Willemsen2016-03-031-2/+4
| | | | | | | | | | | | This matches make Change-Id: I2ee2e47065439afa02b946ede3a7718f1a8dc71b
* | Reorder extra clang host flagsDan Willemsen2016-03-032-10/+10
| | | | | | | | | | | | | | | | | | | | | | In make these clang-specific flags are marked as EXTRA and added after the common flags. This was causing differences between compiled objects in make and soong because -fstack-protector-strong was before -fstack-protector in soong instead of after. Change-Id: I59dd6dcfdaf5ec9184a09e79efe80b62cfe48dbb
* | Port GLOBAL[_CLANG]_CFLAGS_NO_OVERRIDE from makeDan Willemsen2016-03-033-0/+23
| | | | | | | | Change-Id: I4f0f8ec7620e4477f60bf9cf1ae0c005470c89d4
* | Remove useless LOCAL_ACP_UNAVAILABLEDan Willemsen2016-03-011-3/+0
| | | | | | | | | | | | The make build system no longer needs LOCAL_ACP_UNAVAILABLE. Change-Id: Ieef1415488853add9c5f5ab24219f9c6d3d13aa5
* | Add a global define for non-external code.Dan Willemsen2016-03-021-0/+16
| | | | | | | | | | | | Soong port of https://android-review.googlesource.com/204887 Change-Id: I15faf62cec1932dd859a082f66942b2606d0ff45
* | Merge changes Ife723733,I68acfb53,Id216c35d,Id0569831,Iadac88f8, ...Dan Willemsen2016-03-024-4/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Add system/media/audio/include to commonGlobalIncludes Add -Werror=date-time to target builds DeviceUsesClang should default to true clang now supports -fdebug-prefix-map=. Turn on ninja errors for duplicate rules Update to use the latest clang-2629532
| * | Add system/media/audio/include to commonGlobalIncludesDan Willemsen2016-03-011-0/+1
| | | | | | | | | | | | | | | | | | This list now matches the make build system. Change-Id: Ife723733f269bdcc00a0c2e9096e3e2cb7e6f88e
| * | Add -Werror=date-time to target buildsDan Willemsen2016-03-011-0/+1
| | | | | | | | | | | | | | | | | | Soong port of https://android-review.googlesource.com/195464 Change-Id: I68acfb53be962ffd5c488337517dadb950a13b6f
| * | DeviceUsesClang should default to trueDan Willemsen2016-03-011-1/+1
| | | | | | | | | | | | | | | | | | It defaults to true in Make now. Change-Id: Id216c35d4a4fc87ce19067a357561a7fc814cbbb
| * | clang now supports -fdebug-prefix-map=.Dan Willemsen2016-03-011-1/+0
| | | | | | | | | | | | | | | | | | Soong port of https://android-review.googlesource.com/204111 Change-Id: Id0569831f09845871d8e6990c310516bea5a2510
| * | Turn on ninja errors for duplicate rulesDan Willemsen2016-03-011-1/+1
| | | | | | | | | | | | Change-Id: Iadac88f8835121a8685bff835acba638100bb654
| * | Update to use the latest clang-2629532Dan Willemsen2016-03-011-1/+1
| |/ | | | | | | | | | | Soong port of https://android-review.googlesource.com/204812 Change-Id: Ib6c94bc57f7145c1cc9b14338126132fc4648509
* / Generate .c for .y and .lDan Willemsen2016-03-011-21/+22
|/ | | | | | Soong port of https://android-review.googlesource.com/195737 Change-Id: I9ab6dc149c258f7642bc36c3fa32f90ff7ee51a4
* sandybridge setup: no AES_NI, AVX, MOVBEDan Willemsen2016-02-292-6/+2
| | | | | | | | | Sandy Bridge actually doesn't have all of these options. For example AVX is only available on the higher-end SKUs (not on Celeron G550). Soong port of https://android-review.googlesource.com/204730 Change-Id: Ib595a9a6b464626d0c88525c6aaa4d69176645cc
* Refactor Android.mk generationDan Willemsen2016-02-094-117/+107
| | | | | | | | | | | | | | | | | | | Now, instead of combining multiple binaries into a single BUILD_PREBUILT definition, use separate instances for every module variant. This fixes HOST vs HOST_CROSS prebuilts, and should be saner overall. From make, these should look the same, we're only just using one instance of prebuilt_internal per BUILD_PREBUILT call instead of multiple. With that simplification, we don't have to store as much state, and can directly write into the buffer. Also switch from io.WriteString to fmt.Fprintln, which will require fewer explicit string concatentations, and we don't need to worry about newlines. Allow the module-provided functions to return errors. Change-Id: If30453b21fa21387f635626618d8fabfc78e6859
* Add windows x86_64Dan Willemsen2016-02-083-11/+60
| | | | | Bug: 26957718 Change-Id: I5cfa2f44c27eac0805d21865c45546ed3c2c2103
* Fix USE_SOONG[_FOR_KATI]Dan Willemsen2016-01-142-3/+3
| | | | | | | | | | Make was depending on the installed path for ckati/makeparallel, since I didn't want to hardcode intermediate paths. For modules in USE_SOONG, we export the intermediate paths, so we don't need to install. Change-Id: I90bf3ad1461e239a8a40fd0c8ddbc679cf00d126
* Mips builds in the megadevice nowDan Willemsen2016-01-131-8/+8
| | | | | | | Some of the dsp variants still have problems, but they also don't build under make. Change-Id: Ied9b4a1766de5d8a61d74a0ec629e0e68bfe3bc4
* Merge changes I92ddea0b,Ice8474ae,If63cc6ce,I1d6f1388,Ic3da07c8, ...Dan Willemsen2016-01-147-25/+111
|\ | | | | | | | | | | | | | | | | | | * changes: Add Mega_device configuration option Toolchain modules use GCC Apply ToolchainLdflags to clang builds Add Clang Asflags for mips Remove libgcov for now to fix X86 devices Change clang extra flags behavior
| * Add Mega_device configuration optionDan Willemsen2016-01-133-10/+83
| | | | | | | | | | | | | | | | | | | | | | This lets you configure soong to build for every supported architecture in one build. Installation is disabled, since it's not actually setting up multiple devices, and would try to install multiple versions to a single path. Configurations that do not build are commented out. Change-Id: I92ddea0b9ddbd53e12187c7f581b8ac5bd5fdec3
| * Toolchain modules use GCCDan Willemsen2016-01-131-0/+5
| | | | | | | | | | | | Don't use clang cflags if the device uses clang by default. Change-Id: Ice8474ae1f5e6f37fc8b47b1679d7fbdb9249e5a
| * Apply ToolchainLdflags to clang buildsDan Willemsen2016-01-131-1/+1
| | | | | | | | | | | | Otherwise we're missing -m32 and -m64 in x86/x86_64 builds. Change-Id: If63cc6ce12795921584437e4cee4530c0dfb634f
| * Add Clang Asflags for mipsDan Willemsen2016-01-133-0/+10
| | | | | | | | | | | | Like make, it needs -fPIC to be added to compile successfully. Change-Id: I1d6f1388c42a84f331bbce1ecd669669441d986e
| * Remove libgcov for now to fix X86 devicesDan Willemsen2016-01-131-1/+1
| | | | | | | | | | | | | | | | | | We should be using libprofile_rt for clang builds, but we only need to add either one if code coverage is enabled. This will be added again when we get more complete support. Bug: 26525326 Change-Id: Ic3da07c896be266bb35747a79c184e3d5bb8df70
| * Change clang extra flags behaviorDan Willemsen2016-01-132-13/+11
| | | | | | | | | | | | | | | | Move the clang extra flags into the *ClangGlobal*flags variables, instead of adding them to every clang-based module. This means that they're only applied when !no_default_compiler_flags, like make. Change-Id: I43b1378d1d932d9aecfd8724a492d0d7716f7631
* | Add kati to root.bpDan Willemsen2016-01-141-0/+1
|/ | | | Change-Id: Iedf8401fb02d704916666fb15c5ae30951a57ac7
* Merge "Align flags with make"Dan Willemsen2016-01-139-5/+10
|\
| * Align flags with makeDan Willemsen2016-01-129-5/+10
| | | | | | | | | | | | This pulls a number of cflag changes from make since our last sync. Change-Id: I8c77fc215ed7677b8ac15a6d39143b519068dd55
* | Search all bionic subdirectoriesColin Cross2016-01-111-1/+1
| | | | | | | | | | | | | | | | Some bionic subdirectories need to be built with soong, and others with makefiles. Search the bionic subdirectories invidivdually so the bionic/Android.bp file doesn't prevent bionic/Android.mk from being parsed. Change-Id: I66846f0175a5a01266adc0b792820bb82ffd1e14