aboutsummaryrefslogtreecommitdiff
path: root/cc/binary.go
diff options
context:
space:
mode:
authorJaewoong Jung <jungjw@google.com>2020-12-21 09:11:10 -0800
committerJaewoong Jung <jungjw@google.com>2020-12-22 12:38:35 -0800
commit18aefc19776337955c9a1a8946f188900cb4d537 (patch)
treeb3e831f67d9ec2952839b9ab156c0a6ba149d491 /cc/binary.go
parent1f8c2729846b83e24c09292ef5739b13375f7c0c (diff)
downloadsoong-18aefc19776337955c9a1a8946f188900cb4d537.tar.gz
Remove unnecessary snake case variables.
Test: m nothing + TreeHugger Change-Id: I99f7162944daa6c57c6ae4763261e108bb5cb6b1
Diffstat (limited to 'cc/binary.go')
-rw-r--r--cc/binary.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cc/binary.go b/cc/binary.go
index fa3966f1c..71c865b96 100644
--- a/cc/binary.go
+++ b/cc/binary.go
@@ -109,7 +109,7 @@ type binaryDecorator struct {
// Action command lines to run directly after the binary is installed. For example,
// may be used to symlink runtime dependencies (such as bionic) alongside installation.
- post_install_cmds []string
+ postInstallCmds []string
}
var _ linker = (*binaryDecorator)(nil)
@@ -481,11 +481,11 @@ func (binary *binaryDecorator) installSymlinkToRuntimeApex(ctx ModuleContext, fi
target := "/" + filepath.Join("apex", "com.android.runtime", dir.Base(), file.Base())
ctx.InstallAbsoluteSymlink(dir, file.Base(), target)
- binary.post_install_cmds = append(binary.post_install_cmds, makeSymlinkCmd(dirOnDevice, file.Base(), target))
+ binary.postInstallCmds = append(binary.postInstallCmds, makeSymlinkCmd(dirOnDevice, file.Base(), target))
for _, symlink := range binary.symlinks {
ctx.InstallAbsoluteSymlink(dir, symlink, target)
- binary.post_install_cmds = append(binary.post_install_cmds, makeSymlinkCmd(dirOnDevice, symlink, target))
+ binary.postInstallCmds = append(binary.postInstallCmds, makeSymlinkCmd(dirOnDevice, symlink, target))
}
}