Remove unnecessary exports_files

This commit is contained in:
Guillaume Chatelet
2025-08-22 16:33:28 +02:00
committed by GitHub
6 changed files with 2 additions and 35 deletions

View File

@@ -16,7 +16,9 @@ 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",

View File

@@ -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 = [

View File

@@ -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",

View File

@@ -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",

View File

@@ -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"],

View File

@@ -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",
])