1load("//tensorflow:tensorflow.bzl", "filegroup") 2load( 3 "//tensorflow/core/platform:rules_cc.bzl", 4 "cc_library", 5) 6 7package( 8 default_visibility = [ 9 "//tensorflow:__subpackages__", 10 ], 11 licenses = ["notice"], 12) 13 14# Todo(bmzhao): Remaining targets to add to this BUILD file are: math_util_test. 15 16cc_library( 17 name = "math_util", 18 hdrs = ["math_util.h"], 19 deps = [ 20 "//tensorflow/core/platform:logging", 21 "//tensorflow/core/platform:types", 22 ], 23) 24 25# Export source files needed for mobile builds, which do not use granular targets. 26filegroup( 27 name = "mobile_srcs_only_runtime", 28 srcs = [ 29 "math_util.h", 30 ], 31 visibility = ["//tensorflow/core:__pkg__"], 32) 33 34exports_files([ 35 "math_util.h", 36 "math_util_test.cc", 37]) 38