aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tools/proto_text/gen_proto_text_functions.cc
diff options
context:
space:
mode:
authorGravatar Andrew Harp <andrewharp@google.com>2016-07-19 11:17:31 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-07-19 15:04:11 -0700
commit4e9a42b7d3764928bdb6625c26f2dbd8f0415834 (patch)
tree60916f03f0f74d59703dadb2a49d251d40167439 /tensorflow/tools/proto_text/gen_proto_text_functions.cc
parent3d3bbc69bb653f770976878127f107a4d40b1db3 (diff)
Create new dep tree for gen_proto_text_functions tool to simplify/speed up mobile build.
Change: 127859525
Diffstat (limited to 'tensorflow/tools/proto_text/gen_proto_text_functions.cc')
-rw-r--r--tensorflow/tools/proto_text/gen_proto_text_functions.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/tensorflow/tools/proto_text/gen_proto_text_functions.cc b/tensorflow/tools/proto_text/gen_proto_text_functions.cc
index cc664bb90b..17ab542a59 100644
--- a/tensorflow/tools/proto_text/gen_proto_text_functions.cc
+++ b/tensorflow/tools/proto_text/gen_proto_text_functions.cc
@@ -16,7 +16,6 @@ limitations under the License.
#include <stdio.h>
#include <set>
-#include "tensorflow/core/platform/init_main.h"
#include "tensorflow/core/platform/logging.h"
#include "tensorflow/core/platform/protobuf.h"
#include "tensorflow/core/platform/types.h"
@@ -69,8 +68,6 @@ bool IsPlaceholderFile(const char* s) {
//
// This is meant to be invoked by a genrule. See BUILD for more information.
int MainImpl(int argc, char** argv) {
- tensorflow::port::InitMain(argv[0], &argc, &argv);
-
if (argc < 4) {
LOG(ERROR) << "Pass output path, relative path, and at least proto file";
return -1;