We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f17cab6 commit c3b59c2Copy full SHA for c3b59c2
1 file changed
bazel/swig_java.bzl
@@ -14,6 +14,7 @@
14
"""Build definitions for SWIG Java."""
15
16
load("@bazel_skylib//lib:paths.bzl", "paths")
17
+load("@rules_cc//cc:defs.bzl", "cc_library")
18
load("@rules_java//java:java_library.bzl", "java_library")
19
load("@rules_java//java/common:java_common.bzl", "java_common")
20
@@ -195,8 +196,7 @@ def ortools_java_wrap_cc(
195
196
visibility = ["//visibility:private"],
197
**kwargs
198
)
-
199
- native.cc_library(
+ cc_library(
200
name = cc_name,
201
srcs = [outfile],
202
hdrs = [outhdr] if use_directors else [],
0 commit comments