diff --git a/BUILD b/BUILD
index 8b4219f112e..66f94672547 100644
--- a/BUILD
+++ b/BUILD
@@ -775,6 +775,7 @@ cc_library(
"src/cpp/server/dynamic_thread_pool.h",
"src/cpp/server/thread_pool_interface.h",
"src/cpp/client/secure_credentials.cc",
+ "src/cpp/codegen/grpc_library.cc",
"src/cpp/common/auth_property_iterator.cc",
"src/cpp/common/secure_auth_context.cc",
"src/cpp/common/secure_channel_arguments.cc",
@@ -883,7 +884,6 @@ cc_library(
"include/grpc/impl/codegen/sync_posix.h",
"include/grpc/impl/codegen/sync_win32.h",
"include/grpc/impl/codegen/time.h",
- "src/cpp/codegen/grpc_library.cc",
],
hdrs = [
"include/grpc++/impl/codegen/async_stream.h",
diff --git a/Makefile b/Makefile
index 3e9058187fa..3891b0f8278 100644
--- a/Makefile
+++ b/Makefile
@@ -2952,6 +2952,7 @@ endif
LIBGRPC++_SRC = \
src/cpp/client/secure_credentials.cc \
+ src/cpp/codegen/grpc_library.cc \
src/cpp/common/auth_property_iterator.cc \
src/cpp/common/secure_auth_context.cc \
src/cpp/common/secure_channel_arguments.cc \
@@ -3094,7 +3095,6 @@ endif
LIBGRPC++_CODEGEN_LIB_SRC = \
- src/cpp/codegen/grpc_library.cc \
PUBLIC_HEADERS_CXX += \
include/grpc++/impl/codegen/async_stream.h \
@@ -13040,6 +13040,7 @@ src/core/tsi/fake_transport_security.c: $(OPENSSL_DEP)
src/core/tsi/ssl_transport_security.c: $(OPENSSL_DEP)
src/core/tsi/transport_security.c: $(OPENSSL_DEP)
src/cpp/client/secure_credentials.cc: $(OPENSSL_DEP)
+src/cpp/codegen/grpc_library.cc: $(OPENSSL_DEP)
src/cpp/common/auth_property_iterator.cc: $(OPENSSL_DEP)
src/cpp/common/secure_auth_context.cc: $(OPENSSL_DEP)
src/cpp/common/secure_channel_arguments.cc: $(OPENSSL_DEP)
diff --git a/build.yaml b/build.yaml
index 0ddca8dcc54..a8c38d0abf3 100644
--- a/build.yaml
+++ b/build.yaml
@@ -643,6 +643,7 @@ libs:
- src/cpp/server/secure_server_credentials.h
src:
- src/cpp/client/secure_credentials.cc
+ - src/cpp/codegen/grpc_library.cc
- src/cpp/common/auth_property_iterator.cc
- src/cpp/common/secure_auth_context.cc
- src/cpp/common/secure_channel_arguments.cc
@@ -706,8 +707,7 @@ libs:
- include/grpc/impl/codegen/sync_posix.h
- include/grpc/impl/codegen/sync_win32.h
- include/grpc/impl/codegen/time.h
- src:
- - src/cpp/codegen/grpc_library.cc
+ src: []
private: true
secure: false
- name: grpc++_test_config
diff --git a/tools/doxygen/Doxyfile.c++.internal b/tools/doxygen/Doxyfile.c++.internal
index 50ed2f6d34d..7338ac58e3d 100644
--- a/tools/doxygen/Doxyfile.c++.internal
+++ b/tools/doxygen/Doxyfile.c++.internal
@@ -812,6 +812,7 @@ src/cpp/common/create_auth_context.h \
src/cpp/server/dynamic_thread_pool.h \
src/cpp/server/thread_pool_interface.h \
src/cpp/client/secure_credentials.cc \
+src/cpp/codegen/grpc_library.cc \
src/cpp/common/auth_property_iterator.cc \
src/cpp/common/secure_auth_context.cc \
src/cpp/common/secure_channel_arguments.cc \
diff --git a/tools/run_tests/sources_and_headers.json b/tools/run_tests/sources_and_headers.json
index 90b0177e54a..adef0c985cc 100644
--- a/tools/run_tests/sources_and_headers.json
+++ b/tools/run_tests/sources_and_headers.json
@@ -4044,6 +4044,7 @@
"src/cpp/client/insecure_credentials.cc",
"src/cpp/client/secure_credentials.cc",
"src/cpp/client/secure_credentials.h",
+ "src/cpp/codegen/grpc_library.cc",
"src/cpp/common/alarm.cc",
"src/cpp/common/auth_property_iterator.cc",
"src/cpp/common/call.cc",
@@ -4169,8 +4170,7 @@
"include/grpc/impl/codegen/sync_generic.h",
"include/grpc/impl/codegen/sync_posix.h",
"include/grpc/impl/codegen/sync_win32.h",
- "include/grpc/impl/codegen/time.h",
- "src/cpp/codegen/grpc_library.cc"
+ "include/grpc/impl/codegen/time.h"
]
},
{
diff --git a/vsprojects/vcxproj/grpc++/grpc++.vcxproj b/vsprojects/vcxproj/grpc++/grpc++.vcxproj
index 0def0cad84a..a4f1b25c5cb 100644
--- a/vsprojects/vcxproj/grpc++/grpc++.vcxproj
+++ b/vsprojects/vcxproj/grpc++/grpc++.vcxproj
@@ -315,6 +315,8 @@
+
+
diff --git a/vsprojects/vcxproj/grpc++/grpc++.vcxproj.filters b/vsprojects/vcxproj/grpc++/grpc++.vcxproj.filters
index e68b0c82abc..a827051f58d 100644
--- a/vsprojects/vcxproj/grpc++/grpc++.vcxproj.filters
+++ b/vsprojects/vcxproj/grpc++/grpc++.vcxproj.filters
@@ -4,6 +4,9 @@
src\cpp\client
+
+ src\cpp\codegen
+
src\cpp\common
@@ -284,6 +287,9 @@
{7febf32a-d7a6-76fa-9e17-f189f591c062}
+
+ {3c3e27f4-d3d9-3c42-5204-08b5e839f2de}
+
{2336e396-7e0b-8bf9-3b09-adc6ad1f0e5b}
diff --git a/vsprojects/vcxproj/grpc++_codegen_lib/grpc++_codegen_lib.vcxproj b/vsprojects/vcxproj/grpc++_codegen_lib/grpc++_codegen_lib.vcxproj
index 799ae6e09ae..b01064c9549 100644
--- a/vsprojects/vcxproj/grpc++_codegen_lib/grpc++_codegen_lib.vcxproj
+++ b/vsprojects/vcxproj/grpc++_codegen_lib/grpc++_codegen_lib.vcxproj
@@ -194,10 +194,6 @@
-
-
-
-
diff --git a/vsprojects/vcxproj/grpc++_codegen_lib/grpc++_codegen_lib.vcxproj.filters b/vsprojects/vcxproj/grpc++_codegen_lib/grpc++_codegen_lib.vcxproj.filters
index b3e6515b288..e5918705b66 100644
--- a/vsprojects/vcxproj/grpc++_codegen_lib/grpc++_codegen_lib.vcxproj.filters
+++ b/vsprojects/vcxproj/grpc++_codegen_lib/grpc++_codegen_lib.vcxproj.filters
@@ -1,10 +1,5 @@
-
-
- src\cpp\codegen
-
-
include\grpc++\impl\codegen
@@ -167,15 +162,6 @@
{311586c5-1a08-e1ba-8dd8-d1cbe10156b3}
-
- {e9bdb195-1cf9-a0f4-231c-fcee59eb54ca}
-
-
- {d2e57ea3-c758-0f7c-3bc9-e71dd87bd654}
-
-
- {f93ade18-7c50-7ed9-b8e7-383b11f077c2}
-