@@ -696,6 +696,7 @@ tf_cc_shared_object(
696696 per_os_targets = True ,
697697 soversion = VERSION ,
698698 visibility = ["//visibility:public" ],
699+ linkstatic = 1 ,
699700 # add win_def_file for tensorflow_cc
700701 win_def_file = select ({
701702 # We need this DEF file to properly export symbols on Windows
@@ -718,6 +719,21 @@ tf_cc_shared_object(
718719 "//tensorflow/contrib/tensor_forest:model_ops_lib" ,
719720 "//tensorflow/contrib/tensor_forest:forest_proto_impl" ,
720721 "//tensorflow/contrib/tensor_forest/kernels/v4:decision-tree-resource_impl" ,
722+ "//tensorflow/core:lib" ,
723+ "//tensorflow/core:lib_internal" ,
724+ "//tensorflow/core:lib_internal_impl" ,
725+ "//tensorflow/core:core_cpu_impl" ,
726+ "//tensorflow/core:framework_internal" ,
727+ "//tensorflow/core:framework_internal_impl" ,
728+ "//tensorflow/core:gpu_runtime_impl" ,
729+ "//tensorflow/cc/saved_model:loader" ,
730+ "//tensorflow/cc/saved_model:loader_lite" ,
731+ "//tensorflow/cc/saved_model:loader_lite_impl" ,
732+ "//tensorflow/stream_executor:dnn_proto_cc" ,
733+ "//tensorflow/stream_executor:dnn_proto_cc_impl" ,
734+ "//tensorflow/core/platform:tensor_float_32_utils" ,
735+ "//tensorflow/core/grappler/optimizers:custom_graph_optimizer_registry_impl" ,
736+ "@nsync//:nsync_cpp" ,
721737 ] + if_ngraph (["@ngraph_tf//:ngraph_tf" ]),
722738)
723739
0 commit comments