diff options
author | Colin Cross <ccross@android.com> | 2017-08-31 12:29:17 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2017-08-31 13:48:52 -0700 |
commit | 5c51792926b063945d786cc8a1e407a2ce2159cf (patch) | |
tree | cef55100e4632b4a1c4d141392287802c65f3693 /cc/installer.go | |
parent | add7fdf1a5d7652cfc8ef8da4e517eb4e11e0e08 (diff) | |
download | android_build_soong-5c51792926b063945d786cc8a1e407a2ce2159cf.tar.gz android_build_soong-5c51792926b063945d786cc8a1e407a2ce2159cf.tar.bz2 android_build_soong-5c51792926b063945d786cc8a1e407a2ce2159cf.zip |
Make binaries executable
Split InstallFileName into InstallExecutable that does chmod +x
after copying the file. Also remove InstallFile and rename
InstallFileName to InstallFile.
Test: m -j checkbuild
Change-Id: Id41ad4eafe521f6cd5d8cc250b7747ecb3da8dfc
Diffstat (limited to 'cc/installer.go')
-rw-r--r-- | cc/installer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/installer.go b/cc/installer.go index 7bedc564..027d191b 100644 --- a/cc/installer.go +++ b/cc/installer.go @@ -76,7 +76,7 @@ func (installer *baseInstaller) installDir(ctx ModuleContext) android.OutputPath } func (installer *baseInstaller) install(ctx ModuleContext, file android.Path) { - installer.path = ctx.InstallFile(installer.installDir(ctx), file) + installer.path = ctx.InstallFile(installer.installDir(ctx), file.Base(), file) } func (installer *baseInstaller) inData() bool { |