aboutsummaryrefslogtreecommitdiffstats
path: root/cc/rs.go
Commit message (Collapse)AuthorAgeFilesLines
* Add system_$(VER)Sundong Ahn2017-11-301-1/+1
| | | | | | | | The system_$(VER) is added for vendor, similar to sdk. Bug: 67724799 Test: build Change-Id: I2545c92707591ca278066870c74e9f49e9825855
* Change bool, and string properties to *bool, and *string for ccNan Zhang2017-11-071-2/+1
| | | | | | | | | | | | | | there's no use case for prepending/appending to bool, and string properties within module struct. Declearing "*bool" and "*string" almost cover everything user need. I did see one case that user specify relative_install_path as path prefix in cc_defaults, and concatenate with the one in real module to get the final relative install path in Android.bp <bionic/tests/libs>. Test: m -j checkbuild Bug: b/68853585 Change-Id: If3a7a2689c3fc307aae136af6bc9c57f27a1e1a0
* Move ModuleContext.ModuleBuild to ModuleContext.BuildColin Cross2017-10-241-1/+1
| | | | | | | | | | | | Now that android.ModuleContext does not include blueprint.ModuleContext we can rename android.ModuleContext.ModuleBuild to android.ModuleContext.Build without colliding with blueprint.ModuleContext.Build. Leave ModuleBuild as a wrapper around Build for now to avoid having to update all the users outside build/soong simultaneously. Test: m checkbuild Change-Id: I18eb8cc04faf002049a11d9aac97e9732ff5d638
* Some clarifications in preparation to automatically order linker dependenciesJeff Gaston2017-10-181-1/+1
| | | | | | Test: Browse the code and determine whether it's easier to understand Bug: 66260943 Change-Id: I88c24a8a31ef68f428919087d206433659265684
* Prettify soong ninja build descriptionsColin Cross2017-05-101-1/+1
| | | | | | | | | | | | | | | | | Descriptions currently look like: [ 0% 4/29328] cc out-soong/.intermediates/external/clang/lib/Sema/libclangSema/android_arm_armv7-a-neon_denver_static_core/obj/external/clang/lib/Sema/SemaCodeComplete.o This is not very helpful - most of the characters are used to show the output path, which contains useful information like target architecture, but also contains most of the path to the source files twice, and less useful information like the exact variant name used by soong. Make the descriptions look like: [ 0% 3/29329] //external/clang/lib/Sema:libclangSema clang++ SemaTemplateInstantiate.cpp This is //path/to/module:modulename tool relative/path/to/source/file Test: builds, looks pretty Change-Id: I3087aa7d4eb1860ef6239d77407b8b35445616d7
* Automatically add frameworks/rs includes to modules with .rs filesColin Cross2017-05-081-1/+4
| | | | | | | | | C++ sources generated from .rs files need includes in frameworks/rs and frameworks/rs/cpp. Add them automatically instead of requiring modules to add them manually. Test: builds Change-Id: I7270fef0b36c1956475d6d83ab8aa2e3c362e688
* Support .rs and .fs files in cc_* module srcs listsColin Cross2017-05-051-0/+114
Translate .rs and .fs files to .cpp files using llvm-rs-cc. Test: builds Change-Id: I242cea0d09c9985730a512cec7705c3f1479f4ed