message: Fix preconfig for TRT as well for remove build
diff: @@ -18,9 +18,15 @@ cc_library(
  cc_library(
  name = "tensorrt",
  - srcs = ["tensorrt/lib/libnvinfer.so.5"],
  + srcs = [
  + "tensorrt/lib/libnvinfer.so.5",
  + "tensorrt/lib/libnvinfer_plugin.so.5",
  + ],
  copts = cuda_default_copts(),
  - data = ["tensorrt/lib/libnvinfer.so.5"],
  + data = [
  + "tensorrt/lib/libnvinfer.so.5",
  + "tensorrt/lib/libnvinfer_plugin.so.5",
  + ],
  include_prefix = "",
  linkstatic = 1,
  visibility = ["//visibility:public"],
  @@ -34,8 +40,9 @@ genrule(
  name = "tensorrt_lib",
  outs = [
  "tensorrt/lib/libnvinfer.so.5",
  + "tensorrt/lib/libnvinfer_plugin.so.5",
  ],
  - cmd = """cp -f "/usr/lib/x86_64-linux-gnu/libnvinfer.so.5" $(location tensorrt/lib/libnvinfer.so.5) """,
  + cmd = """cp -f "/usr/lib/x86_64-linux-gnu/libnvinfer.so.5" $(location tensorrt/lib/libnvinfer.so.5) && cp -f "/usr/lib/x86_64-linux-gnu/libnvinfer_plugin.so.5" $(location tensorrt/lib/libnvinfer_plugin.so.5) """,
  )
  genrule(
  @@ -43,6 +50,7 @@ genrule(
  outs = [
  "tensorrt/include/NvInfer.h",
  "tensorrt/include/NvUtils.h",
  + "tensorrt/include/NvInferPlugin.h",
  ],
  - cmd = """cp -f "/usr/include/x86_64-linux-gnu/NvInfer.h" $(location tensorrt/include/NvInfer.h) && cp -f "/usr/include/x86_64-linux-gnu/NvUtils.h" $(location tensorrt/include/NvUtils.h) """,
  + cmd = """cp -f "/usr/include/x86_64-linux-gnu/NvInfer.h" $(location tensorrt/include/NvInfer.h) && cp -f "/usr/include/x86_64-linux-gnu/NvUtils.h" $(location tensorrt/include/NvUtils.h) && cp -f "/usr/include/x86_64-linux-gnu/NvInferPlugin.h" $(location tensorrt/include/NvInferPlugin.h) """,
  )
  