fix variable naming s/host_supported/hostSupported/
Noticed in other CL
Bug: N/A
Test: N/A
Change-Id: Id2bc7389c97650e8e5b121780088590ed2066d36
diff --git a/build/aidl_interface.go b/build/aidl_interface.go
index 97eb3d9..26a24d4 100644
--- a/build/aidl_interface.go
+++ b/build/aidl_interface.go
@@ -983,7 +983,7 @@
var sdkVersion *string
var stl *string
var cpp_std *string
- var host_supported *bool
+ var hostSupported *bool
var addCflags []string
if lang == langCpp {
@@ -991,7 +991,7 @@
if genLog {
libJSONCppDependency = []string{"libjsoncpp"}
}
- host_supported = i.properties.Host_supported
+ hostSupported = i.properties.Host_supported
} else if lang == langNdk {
importExportDependencies = append(importExportDependencies, "libbinder_ndk")
if genLog {
@@ -1004,7 +1004,7 @@
if genLog {
libJSONCppDependency = []string{"libjsoncpp"}
}
- host_supported = i.properties.Host_supported
+ hostSupported = i.properties.Host_supported
addCflags = append(addCflags, "-DBINDER_STABILITY_SUPPORT")
} else {
panic("Unrecognized language: " + lang)
@@ -1025,7 +1025,7 @@
mctx.CreateModule(cc.LibraryFactory, &ccProperties{
Name: proptools.StringPtr(cppModuleGen),
Vendor_available: vendorAvailable,
- Host_supported: host_supported,
+ Host_supported: hostSupported,
Defaults: []string{"aidl-cpp-module-defaults"},
Generated_sources: []string{cppSourceGen},
Generated_headers: []string{cppSourceGen},