aboutsummaryrefslogtreecommitdiffstats
path: root/android/sh_binary.go
Commit message (Collapse)AuthorAgeFilesLines
* AndroidMkEntries minor refactoring.Jaewoong Jung2019-12-111-15/+19
| | | | | | | | | This includes a few changes that make AndroidMkEntries more resemble AndroidMkData, especially in terms of how extra entries are added. Most importantly it can now have multiple custom functions. Test: Soong tests Change-Id: Ibf9102624d16d0c1c9894a2794fc7c797bb34c9a
* Add sh_test_host.Jaewoong Jung2019-12-111-0/+12
| | | | | | Fixes: 136272143 Test: sh_binary_test.go Change-Id: I2e6580286fcdf43ab20020fcd147648a3009aa9f
* Add data property to sh_test.Jaewoong Jung2019-12-111-18/+43
| | | | | | Fixes: 131861785 Test: sh_binary_test.go, a real sh_test with added data Change-Id: Ic78022d2db38a530074c70823ef16773d8ba6821
* Tell make that sh_test is a NATIVE_TESTDan Willemsen2019-03-211-0/+1
| | | | | | | | So that it ends up in VTS's DATA/nativetest like a cc_test, and otherwise acts like a test. Test: convert external/linux-kselftest to sh_test Change-Id: I44b7cfca45f8fe5d7fbb6eaa845a79bd70f155ef
* Replace ctx.ExpandSources with android.PathsForModuleSrcColin Cross2019-03-201-2/+2
| | | | | | | | | | | Move the logic from ctx.ExpandSources into android.PathsForModuleSrc and ctx.ExpandSource into android.PathForModuleSrc, and deprecate them. When combined with the pathDepsMutator this will let all properties that take source paths also take filegroups or genrule outputs, as long as they are tagged with `android:"path"`. Test: All soong tests Change-Id: I01625e76b5da19240e9649bf26a014eeeafcab8f
* Support test_suite and test_config with sh_testJulien Desprez2019-03-181-0/+37
| | | | | | | | | Start basic suite support for sh_test so we can include them in suites. Test: make adb-remount-sh Bug: 127959519 Change-Id: If73541d614a2d809e4f94e4fee4c660840631cc1
* Soong: Add documentation to sh_binary[_host] module.Patrice Arruda2019-03-111-0/+4
| | | | | | | | | | Synopsis was missing to the sh_binary[_host] module. Bug: b/128337482 Test: Ran m soong_docs and verified that sh_binary[_host] module had a synopsis. Change-Id: I0bb702ab2d8e4168664e7bba397e0e26af7f03ab
* Annotate paths and deprecate ExtractSource(s)DepsColin Cross2019-03-071-4/+1
| | | | | | | | | Add `android:"path"` to all properties that take paths to source files, and remove the calls to ExtractSource(s)Deps, the pathsDepsMutator will add the necessary SourceDepTag dependency. Test: All soong tests Change-Id: I488ba1a5d680aaa50b04fc38acf693e23c6d4d6d
* Add sh_binary[_host] for shell script that should be installed as executableDan Willemsen2019-01-281-0/+141
We've been putting these in cc_prebuilt_binary, but that's not really correct. It also tries adding '.exe' to the end of windows executables, which isn't desirable for bat files. Test: Use sh_binary_host Change-Id: Idd5418dceb81ac55b766c987fbb69a810aeb8a3b