1# Description: 2# JavaScript/TypeScript code generation for TensorFlow.js 3 4visibility = [ 5 "//tensorflow:internal", 6] 7 8load( 9 "//tensorflow:tensorflow.bzl", 10 "tf_cc_test", 11) 12 13package( 14 default_visibility = visibility, 15 licenses = ["notice"], # Apache 2.0 16) 17 18cc_library( 19 name = "ts_op_gen", 20 srcs = [ 21 "ops/ts_op_gen.cc", 22 ], 23 hdrs = [ 24 "ops/ts_op_gen.h", 25 ], 26 visibility = ["//visibility:public"], 27 deps = [ 28 "//tensorflow/core:framework", 29 "//tensorflow/core:lib", 30 "//tensorflow/core:lib_internal", 31 "//tensorflow/core:op_gen_lib", 32 "//tensorflow/core:protos_all_cc", 33 ], 34) 35 36tf_cc_test( 37 name = "ts_op_gen_test", 38 srcs = [ 39 "ops/ts_op_gen.cc", 40 "ops/ts_op_gen.h", 41 "ops/ts_op_gen_test.cc", 42 ], 43 deps = [ 44 "//tensorflow/core:framework", 45 "//tensorflow/core:lib", 46 "//tensorflow/core:lib_internal", 47 "//tensorflow/core:op_gen_lib", 48 "//tensorflow/core:protos_all_cc", 49 "//tensorflow/core:test", 50 "//tensorflow/core:test_main", 51 ], 52) 53