Fix bazel load rules
This commit is contained in:
committed by
Mizux Seiha
parent
6a6e57a0b8
commit
5ffb66cdce
@@ -12,7 +12,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
|
||||
load("@rules_cc//cc:defs.bzl", "cc_library")
|
||||
load("@rules_cc//cc:cc_library.bzl", "cc_library")
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@ load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
|
||||
# Python wrapper for ..
|
||||
load("@pip_deps//:requirements.bzl", "requirement")
|
||||
load("@pybind11_bazel//:build_defs.bzl", "pybind_extension")
|
||||
load("@rules_cc//cc:defs.bzl", "cc_library")
|
||||
load("@rules_python//python:defs.bzl", "py_test")
|
||||
load("@rules_cc//cc:cc_library.bzl", "cc_library")
|
||||
load("@rules_python//python:py_test.bzl", "py_test")
|
||||
|
||||
# OSS solvers
|
||||
bool_flag(
|
||||
|
||||
@@ -14,9 +14,11 @@
|
||||
"""Helper macro to compile and test code samples."""
|
||||
|
||||
load("@pip_deps//:requirements.bzl", "requirement")
|
||||
load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_test")
|
||||
load("@rules_java//java:defs.bzl", "java_test")
|
||||
load("@rules_python//python:defs.bzl", "py_binary", "py_test")
|
||||
load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
|
||||
load("@rules_cc//cc:cc_test.bzl", "cc_test")
|
||||
load("@rules_java//java:java_test.bzl", "java_test")
|
||||
load("@rules_python//python:py_binary.bzl", "py_binary")
|
||||
load("@rules_python//python:py_test.bzl", "py_test")
|
||||
|
||||
def code_sample_cc(name):
|
||||
cc_binary(
|
||||
|
||||
Reference in New Issue
Block a user