aboutsummaryrefslogtreecommitdiffstats
path: root/cc/stl.go
Commit message (Collapse)AuthorAgeFilesLines
* Add libc++ and libc++_static aliases for SDK builds.David Benjamin2017-01-251-0/+4
| | | | | | | | | c++_shared and c++_static are named libc++ and libc++_static in every other mode. Allow the same names so targets which are built for both host and device with SDK may specify a single name for the STL. Test: external/boringssl is able to use "libc++_static" as the STL. Change-Id: Ibc579c7e24ddb8de12fbfc6e1b5d80648efa589e
* Add Toolchain.Bionic()Dan Willemsen2016-11-171-3/+3
| | | | | | | | | | Move some cc ctx.Host() / ctx.Device() checks over to using ctx.toolchain().Bionic(). There will be more changes, these are just the obvious ones dealing with host_ldlibs / crt / system libraries. Bug: 31559095 Test: out/soong/build.ninja is identical Change-Id: Ibba60483b4ab0e01f6996eb7d883120e4acc1830
* Always link libdl with libc++ for the NDK.Dan Albert2016-09-141-2/+8
| | | | | | | | | Soong change to match https://android-review.googlesource.com/#/c/274447/. Test: make checkbuild tests Bug: None Change-Id: I25bfed6d99b97c406f40892ae4abc38f4e656e81
* Add libc and libm to modules that use libc++_staticColin Cross2016-07-151-1/+1
| | | | | | Matches makefile change Ib21364e6f43689cf59da31d6f561919731ef8272 Change-Id: I6b4f3fcc65e5cac190bf9da315bd9d81e4c7cd3d
* Make Stl *boolColin Cross2016-07-121-9/+13
| | | | | | | When collapsing properties for applying defaults, string is appended, *string is replaced, which is the behavior we want here. Change-Id: I22a8c23e1cb8ec1960cd5d92d80f6c1ddfab1913
* Remove support for libstdc++ on Android/Linux/DarwinDan Willemsen2016-06-151-15/+3
| | | | | | | It's now only supported on Windows, where we don't have libc++ support yet. Change-Id: I64891b7558d3d2942588687017a0c2f695c18d5c
* Simplify arch target handlingColin Cross2016-06-021-9/+9
| | | | | | | | | | | | Soong's multi-architecture building has grown complex, with the combination of HostOrDevice+HostType+Arch necessary to determine how to build a variant of a module, and three separate mutators to split each into its variations. Combine HostOrDevice+HostType into Os, which will be Linux, Darwin, Windows, or Android. Store Os+Arch as a single Target. Change-Id: I92f2e2dac53617d595a35cc285d2bd348baa0fbd
* Revert "Simplify arch target handling"Colin Cross2016-06-031-9/+9
| | | | | | This reverts commit 6713fb26cbcadf525cd75e47d7d0cbc23d282b3e. Change-Id: Ic473cea2563b0b37dc08b0bc5d3a0ac8c4b6afe6
* Simplify arch target handlingColin Cross2016-06-021-9/+9
| | | | | | | | | | | | Soong's multi-architecture building has grown complex, with the combination of HostOrDevice+HostType+Arch necessary to determine how to build a variant of a module, and three separate mutators to split each into its variations. Combine HostOrDevice+HostType into Os, which will be Linux, Darwin, Windows, or Android. Store Os+Arch as a single Target. Change-Id: Iae677eff61a851b65a7192a47f2dc17c1abb4160
* Rename common to androidColin Cross2016-05-181-15/+15
| | | | | | | | | | | | | | | | Rename the "common" package to "android", because common is too generic. Also removes all android.Android naming stutter. Ran: gomvpkg -from 'android/soong/common' -to 'android/soong/android' gorename -from '"android/soong/android".AndroidModuleContext' -to 'ModuleContext' gorename -from '"android/soong/android".AndroidBaseContext' -to 'BaseContext' gorename -from '"android/soong/android".AndroidModuleBase' -to 'ModuleBase' gorename -from '"android/soong/android".AndroidBottomUpMutatorContext' -to 'BottomUpMutatorContext' gorename -from '"android/soong/android".AndroidTopDownMutatorContext' -to 'TopDownMutatorContext' gorename -from '"android/soong/android".AndroidModule' -to 'Module' Change-Id: I3b23590b8ce7c8a1ea1139411d84a53163288da7
* Support "none" for stl when using ndkColin Cross2016-04-211-0/+2
| | | | Change-Id: I13ecf0a6be591814546a9a1c8b8356988348feb0
* Promote stl to a fixed featureColin Cross2016-04-211-7/+5
| | | | | | | cc needs to know what stl was selected, promote stl from a generic feature implementation to a fixed type pointer. Change-Id: I950ef947f7cd254fe3074f4ff240bb2b90b9116c
* Refactor ccColin Cross2016-03-211-0/+198
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