Use consistent quotes in ngraph.BUILD.oss

PiperOrigin-RevId: 293387773
Change-Id: I6731cb539954987d23f285de52f8baed6c448593
This commit is contained in:
Gunhan Gulsoy 2020-02-05 09:43:22 -08:00 committed by TensorFlower Gardener
parent e52ccb7174
commit 547d90ce17
2 changed files with 7 additions and 7 deletions

View File

@ -103,7 +103,7 @@ def _quote(s):
command. command.
""" """
return ('"' + return ('"' +
s.replace("\\", "\\\\").replace("$", "\\$").replace('"', '\\"') + s.replace("\\", "\\\\").replace("$", "\\$").replace('"', "\\\"") +
'"') '"')
def cmake_var_string(cmake_vars): def cmake_var_string(cmake_vars):

View File

@ -108,10 +108,10 @@ cc_library(
copts = [ copts = [
"-I external/ngraph/src", "-I external/ngraph/src",
"-I external/nlohmann_json_lib/include/", "-I external/nlohmann_json_lib/include/",
'-D SHARED_LIB_EXT=\\".so\\"', "-D SHARED_LIB_EXT=\".so\"",
'-D NGRAPH_VERSION=\\"0.11.0\\"', "-D NGRAPH_VERSION=\"0.11.0\"",
"-D NGRAPH_DEX_ONLY", "-D NGRAPH_DEX_ONLY",
'-D PROJECT_ROOT_DIR=\\"\\"', "-D PROJECT_ROOT_DIR=\"\"",
], ],
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [
@ -151,9 +151,9 @@ cc_library(
copts = [ copts = [
"-I external/ngraph/src", "-I external/ngraph/src",
"-I external/nlohmann_json_lib/include/", "-I external/nlohmann_json_lib/include/",
'-D SHARED_LIB_EXT=\\".so\\"', "-D SHARED_LIB_EXT=\\\".so\\\"",
'-D NGRAPH_VERSION=\\"0.11.0\\"', "-D NGRAPH_VERSION=\\\"0.11.0\\\"",
'-D PROJECT_ROOT_DIR=\\"\\"', "-D PROJECT_ROOT_DIR=\\\"\\\"",
], ],
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [