Remove unnecessary exports_files
This commit is contained in:
13
BUILD.bazel
13
BUILD.bazel
@@ -16,15 +16,18 @@ load("@rules_license//rules:license.bzl", "license")
|
||||
|
||||
# Expose license for external usage through bazel.
|
||||
licenses(["notice"])
|
||||
|
||||
exports_files(["LICENSE"])
|
||||
|
||||
license(
|
||||
name = "license",
|
||||
package_name = "or-tools",
|
||||
license_kinds = ["@rules_license//licenses/spdx:Apache-2.0"],
|
||||
license_text = ":LICENSE",
|
||||
name = "license",
|
||||
package_name = "or-tools",
|
||||
license_kinds = ["@rules_license//licenses/spdx:Apache-2.0"],
|
||||
license_text = ":LICENSE",
|
||||
)
|
||||
|
||||
package(
|
||||
default_applicable_licenses = [":license"],
|
||||
default_applicable_licenses = [":license"],
|
||||
)
|
||||
|
||||
# gazelle:build_file_name BUILD,BUILD.bazel
|
||||
|
||||
@@ -13,15 +13,6 @@
|
||||
|
||||
load("@rules_python//python:pip.bzl", "compile_pip_requirements")
|
||||
|
||||
exports_files([
|
||||
"archive_helper.bzl",
|
||||
"notebook_requirements.in",
|
||||
"notebook_requirements.txt",
|
||||
"ortools_requirements.in",
|
||||
"ortools_requirements.txt",
|
||||
"scip-v920.patch",
|
||||
])
|
||||
|
||||
compile_pip_requirements(
|
||||
name = "ortools_requirements",
|
||||
extra_args = [
|
||||
|
||||
@@ -15,13 +15,6 @@ load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
|
||||
load("@rules_cc//cc:cc_library.bzl", "cc_library")
|
||||
load("@rules_cc//cc:cc_test.bzl", "cc_test")
|
||||
|
||||
exports_files(
|
||||
[
|
||||
"shift_minimization.dat",
|
||||
"wt40.txt",
|
||||
],
|
||||
)
|
||||
|
||||
# Constraint solver examples.
|
||||
cc_binary(
|
||||
name = "binpacking_2d_sat",
|
||||
|
||||
@@ -398,7 +398,6 @@ cc_library(
|
||||
cc_library(
|
||||
name = "memfile",
|
||||
hdrs = ["memfile.h"],
|
||||
deps = [],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
@@ -432,7 +431,6 @@ cc_library(
|
||||
cc_library(
|
||||
name = "mutable_memfile",
|
||||
hdrs = ["mutable_memfile.h"],
|
||||
deps = [],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
|
||||
@@ -20,8 +20,6 @@ load("@rules_cc//cc:cc_library.bzl", "cc_library")
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
exports_files(["model_exporter_swig_helper.h"])
|
||||
|
||||
# OSS solvers
|
||||
bool_flag(
|
||||
name = "with_bop",
|
||||
|
||||
@@ -15,18 +15,6 @@
|
||||
|
||||
load("@rules_cc//cc:cc_library.bzl", "cc_library")
|
||||
|
||||
# Public exports.
|
||||
exports_files(
|
||||
[
|
||||
"README.md",
|
||||
"BUILD.bazel",
|
||||
"CMakeLists.txt",
|
||||
] + glob([
|
||||
"*.cc",
|
||||
"*.h",
|
||||
]),
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "model_builder_helper",
|
||||
srcs = ["model_builder_helper.cc"],
|
||||
|
||||
@@ -406,7 +406,6 @@ cc_library(
|
||||
cc_library(
|
||||
name = "random_engine",
|
||||
hdrs = ["random_engine.h"],
|
||||
deps = [],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
|
||||
@@ -12,11 +12,6 @@
|
||||
# limitations under the License.
|
||||
|
||||
exports_files([
|
||||
"abseil-cpp-20250512.0.patch",
|
||||
"protobuf-v31.1.patch",
|
||||
"pybind11_bazel.patch",
|
||||
"pybind11_abseil.patch",
|
||||
"pybind11_protobuf.patch",
|
||||
"pybind11-v2.13.6.patch",
|
||||
"scip-v922.patch",
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user