diff options
author | 2020-12-21 09:11:10 -0800 | |
---|---|---|
committer | 2020-12-22 12:38:35 -0800 | |
commit | 18aefc19776337955c9a1a8946f188900cb4d537 (patch) | |
tree | b3e831f67d9ec2952839b9ab156c0a6ba149d491 /java/sdk_library.go | |
parent | 1f8c2729846b83e24c09292ef5739b13375f7c0c (diff) |
Remove unnecessary snake case variables.
Test: m nothing + TreeHugger
Change-Id: I99f7162944daa6c57c6ae4763261e108bb5cb6b1
Diffstat (limited to 'java/sdk_library.go')
-rw-r--r-- | java/sdk_library.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/sdk_library.go b/java/sdk_library.go index 92b554bd9..fa81d0a62 100644 --- a/java/sdk_library.go +++ b/java/sdk_library.go @@ -1534,7 +1534,7 @@ func (module *SdkLibrary) CreateInternalModules(mctx android.DefaultableHookCont hasSystemAndTestApis := sdkDep.hasStandardLibs() module.sdkLibraryProperties.Generate_system_and_test_apis = hasSystemAndTestApis - missing_current_api := false + missingCurrentApi := false generatedScopes := module.getGeneratedApiScopes(mctx) @@ -1545,12 +1545,12 @@ func (module *SdkLibrary) CreateInternalModules(mctx android.DefaultableHookCont p := android.ExistentPathForSource(mctx, path) if !p.Valid() { mctx.ModuleErrorf("Current api file %#v doesn't exist", path) - missing_current_api = true + missingCurrentApi = true } } } - if missing_current_api { + if missingCurrentApi { script := "build/soong/scripts/gen-java-current-api-files.sh" p := android.ExistentPathForSource(mctx, script) |