Skip to content

Commit

Permalink
Adding file names to cmake files
Browse files Browse the repository at this point in the history
  • Loading branch information
deannagarcia committed Mar 24, 2021
1 parent 2c9aca5 commit 438d777
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 11 deletions.
1 change: 1 addition & 0 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ cc_library(
"src/google/protobuf/compiler/java/java_generator.cc",
"src/google/protobuf/compiler/java/java_generator_factory.cc",
"src/google/protobuf/compiler/java/java_helpers.cc",
"src/google/protobuf/compiler/java/java_kotlin_generator.cc",
"src/google/protobuf/compiler/java/java_map_field.cc",
"src/google/protobuf/compiler/java/java_map_field_lite.cc",
"src/google/protobuf/compiler/java/java_message.cc",
Expand Down
1 change: 1 addition & 0 deletions cmake/extract_includes.bat.in
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\compiler\csharp\cshar
copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\compiler\csharp\csharp_names.h" include\google\protobuf\compiler\csharp\csharp_names.h
copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\compiler\importer.h" include\google\protobuf\compiler\importer.h
copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\compiler\java\java_generator.h" include\google\protobuf\compiler\java\java_generator.h
copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\compiler\java\java_kotlin_generator.h" include\google\protobuf\compiler\java\java_kotlin_generator.h
copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\compiler\java\java_names.h" include\google\protobuf\compiler\java\java_names.h
copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\compiler\js\js_generator.h" include\google\protobuf\compiler\js\js_generator.h
copy "${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\compiler\js\well_known_types_embed.h" include\google\protobuf\compiler\js\well_known_types_embed.h
Expand Down
1 change: 1 addition & 0 deletions cmake/libprotoc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ set(libprotoc_files
${protobuf_source_dir}/src/google/protobuf/compiler/java/java_generator.cc
${protobuf_source_dir}/src/google/protobuf/compiler/java/java_generator_factory.cc
${protobuf_source_dir}/src/google/protobuf/compiler/java/java_helpers.cc
${protobuf_source_dir}/src/google/protobuf/compiler/java/java_kotlin_generator.cc
${protobuf_source_dir}/src/google/protobuf/compiler/java/java_map_field.cc
${protobuf_source_dir}/src/google/protobuf/compiler/java/java_map_field_lite.cc
${protobuf_source_dir}/src/google/protobuf/compiler/java/java_message.cc
Expand Down
8 changes: 0 additions & 8 deletions java/core/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,6 @@ LITE_SRCS = [
"src/main/java/com/google/protobuf/Utf8.java",
"src/main/java/com/google/protobuf/WireFormat.java",
"src/main/java/com/google/protobuf/Writer.java",
"src/main/kotlin/com/google/protobuf/DslList.kt",
"src/main/kotlin/com/google/protobuf/DslMap.kt",
"src/main/kotlin/com/google/protobuf/DslProxy.kt",
"src/main/kotlin/com/google/protobuf/ExtendableMessageLiteExtensions.kt",
"src/main/kotlin/com/google/protobuf/ExtensionList.kt",
"src/main/kotlin/com/google/protobuf/OnlyForUseByGeneratedProtoCode.kt",
"src/main/kotlin/com/google/protobuf/ProtoDslMarker.kt",
"src/main/kotlin/com/google/protobuf/UnmodifiableCollections.kt",
]

# Should be used as `//java/lite`.
Expand Down
6 changes: 3 additions & 3 deletions src/google/protobuf/compiler/java/java_kotlin_generator.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef GOOGLE_PROTOBUF_COMPILER_JAVA_JAVA_KOTLIN_GENERATOR_H_
#define GOOGLE_PROTOBUF_COMPILER_JAVA_JAVA_KOTLIN_GENERATOR_H_
#ifndef GOOGLE_PROTOBUF_COMPILER_JAVA_KOTLIN_GENERATOR_H_
#define GOOGLE_PROTOBUF_COMPILER_JAVA_KOTLIN_GENERATOR_H_

#include <string>
#include <google/protobuf/compiler/code_generator.h>
Expand Down Expand Up @@ -37,4 +37,4 @@ class PROTOC_EXPORT KotlinGenerator : public CodeGenerator {

#include <google/protobuf/port_undef.inc>

#endif // GOOGLE_PROTOBUF_COMPILER_JAVA_JAVA_KOTLIN_GENERATOR_H_
#endif // GOOGLE_PROTOBUF_COMPILER_JAVA_KOTLIN_GENERATOR_H_

0 comments on commit 438d777

Please sign in to comment.