1load("//tensorflow:tensorflow.bzl", "filegroup") 2load("//tensorflow/core/platform:rules_cc.bzl", "cc_library") 3 4package( 5 default_visibility = [ 6 "//tensorflow/core:__subpackages__", 7 ], 8 licenses = ["notice"], 9) 10 11exports_files( 12 srcs = [ 13 "session.h", 14 "session_options.h", 15 "version.h", 16 ], 17 visibility = ["//visibility:public"], 18) 19 20# Export source files needed for mobile builds, which do not use granular targets. 21filegroup( 22 name = "mobile_srcs_no_runtime", 23 srcs = [ 24 "version.h", 25 ], 26 visibility = ["//tensorflow/core:__pkg__"], 27) 28 29filegroup( 30 name = "mobile_srcs_only_runtime", 31 srcs = [ 32 "session.h", 33 "session_options.h", 34 ], 35 visibility = ["//tensorflow/core:__pkg__"], 36) 37 38cc_library( 39 name = "version", 40 hdrs = ["version.h"], 41) 42