1*bcb5dc79SHONG Yifanload("//:bzl_library.bzl", "bzl_library") 2*bcb5dc79SHONG Yifan 3*bcb5dc79SHONG Yifanpackage( 4*bcb5dc79SHONG Yifan default_applicable_licenses = ["//:license"], 5*bcb5dc79SHONG Yifan default_visibility = ["//visibility:public"], 6*bcb5dc79SHONG Yifan) 7*bcb5dc79SHONG Yifan 8*bcb5dc79SHONG Yifanlicenses(["notice"]) 9*bcb5dc79SHONG Yifan 10*bcb5dc79SHONG Yifanbzl_library( 11*bcb5dc79SHONG Yifan name = "analysis_test", 12*bcb5dc79SHONG Yifan srcs = ["analysis_test.bzl"], 13*bcb5dc79SHONG Yifan) 14*bcb5dc79SHONG Yifan 15*bcb5dc79SHONG Yifanbzl_library( 16*bcb5dc79SHONG Yifan name = "build_test", 17*bcb5dc79SHONG Yifan srcs = ["build_test.bzl"], 18*bcb5dc79SHONG Yifan deps = ["//lib:new_sets"], 19*bcb5dc79SHONG Yifan) 20*bcb5dc79SHONG Yifan 21*bcb5dc79SHONG Yifanbzl_library( 22*bcb5dc79SHONG Yifan name = "copy_file", 23*bcb5dc79SHONG Yifan srcs = ["copy_file.bzl"], 24*bcb5dc79SHONG Yifan deps = ["//rules/private:copy_file_private"], 25*bcb5dc79SHONG Yifan) 26*bcb5dc79SHONG Yifan 27*bcb5dc79SHONG Yifanbzl_library( 28*bcb5dc79SHONG Yifan name = "copy_directory", 29*bcb5dc79SHONG Yifan srcs = ["copy_directory.bzl"], 30*bcb5dc79SHONG Yifan deps = ["//rules/private:copy_directory_private"], 31*bcb5dc79SHONG Yifan) 32*bcb5dc79SHONG Yifan 33*bcb5dc79SHONG Yifanbzl_library( 34*bcb5dc79SHONG Yifan name = "write_file", 35*bcb5dc79SHONG Yifan srcs = ["write_file.bzl"], 36*bcb5dc79SHONG Yifan deps = ["//rules/private:write_file_private"], 37*bcb5dc79SHONG Yifan) 38*bcb5dc79SHONG Yifan 39*bcb5dc79SHONG Yifanbzl_library( 40*bcb5dc79SHONG Yifan name = "diff_test", 41*bcb5dc79SHONG Yifan srcs = ["diff_test.bzl"], 42*bcb5dc79SHONG Yifan deps = ["//lib:shell"], 43*bcb5dc79SHONG Yifan) 44*bcb5dc79SHONG Yifan 45*bcb5dc79SHONG Yifanbzl_library( 46*bcb5dc79SHONG Yifan name = "expand_template", 47*bcb5dc79SHONG Yifan srcs = ["expand_template.bzl"], 48*bcb5dc79SHONG Yifan) 49*bcb5dc79SHONG Yifan 50*bcb5dc79SHONG Yifanbzl_library( 51*bcb5dc79SHONG Yifan name = "native_binary", 52*bcb5dc79SHONG Yifan srcs = ["native_binary.bzl"], 53*bcb5dc79SHONG Yifan) 54*bcb5dc79SHONG Yifan 55*bcb5dc79SHONG Yifanbzl_library( 56*bcb5dc79SHONG Yifan name = "run_binary", 57*bcb5dc79SHONG Yifan srcs = ["run_binary.bzl"], 58*bcb5dc79SHONG Yifan deps = ["//lib:dicts"], 59*bcb5dc79SHONG Yifan) 60*bcb5dc79SHONG Yifan 61*bcb5dc79SHONG Yifanbzl_library( 62*bcb5dc79SHONG Yifan name = "common_settings", 63*bcb5dc79SHONG Yifan srcs = ["common_settings.bzl"], 64*bcb5dc79SHONG Yifan) 65*bcb5dc79SHONG Yifan 66*bcb5dc79SHONG Yifanfilegroup( 67*bcb5dc79SHONG Yifan name = "test_deps", 68*bcb5dc79SHONG Yifan testonly = True, 69*bcb5dc79SHONG Yifan srcs = [ 70*bcb5dc79SHONG Yifan "BUILD", 71*bcb5dc79SHONG Yifan ] + glob(["*.bzl"]), 72*bcb5dc79SHONG Yifan) 73*bcb5dc79SHONG Yifan 74*bcb5dc79SHONG Yifan# The files needed for distribution 75*bcb5dc79SHONG Yifanfilegroup( 76*bcb5dc79SHONG Yifan name = "distribution", 77*bcb5dc79SHONG Yifan srcs = [ 78*bcb5dc79SHONG Yifan "BUILD", 79*bcb5dc79SHONG Yifan ] + glob(["*.bzl"]), 80*bcb5dc79SHONG Yifan visibility = [ 81*bcb5dc79SHONG Yifan "//:__pkg__", 82*bcb5dc79SHONG Yifan ], 83*bcb5dc79SHONG Yifan) 84*bcb5dc79SHONG Yifan 85*bcb5dc79SHONG Yifan# export bzl files for the documentation 86*bcb5dc79SHONG Yifanexports_files( 87*bcb5dc79SHONG Yifan glob(["*.bzl"]), 88*bcb5dc79SHONG Yifan visibility = ["//:__subpackages__"], 89*bcb5dc79SHONG Yifan) 90*bcb5dc79SHONG Yifan 91*bcb5dc79SHONG Yifanbzl_library( 92*bcb5dc79SHONG Yifan name = "select_file", 93*bcb5dc79SHONG Yifan srcs = ["select_file.bzl"], 94*bcb5dc79SHONG Yifan) 95