Skip to content

Commit 3cc495c

Browse files
committed
Merge remote-tracking branch 'origin/gz-plugin2' into package_xml
2 parents dfd3867 + 59e79e6 commit 3cc495c

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

BUILD.bazel

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
load(
22
"@gz//bazel/skylark:build_defs.bzl",
3-
"GZ_FEATURES",
43
"GZ_ROOT",
54
"GZ_VISIBILITY",
65
"gz_configure_header",
@@ -10,7 +9,6 @@ load(
109

1110
package(
1211
default_visibility = GZ_VISIBILITY,
13-
features = GZ_FEATURES,
1412
)
1513

1614
licenses(["notice"]) # Apache-2.0
@@ -43,8 +41,8 @@ gz_include_header(
4341
name = "pluginhh_genrule",
4442
out = "core/include/gz/plugin.hh",
4543
hdrs = public_headers_no_gen + [
46-
"core/include/gz/plugin/config.hh",
4744
"core/include/gz/plugin/Export.hh",
45+
"core/include/gz/plugin/config.hh",
4846
],
4947
)
5048

@@ -93,6 +91,7 @@ cc_library(
9391
],
9492
deps = [
9593
":core",
94+
":loader",
9695
],
9796
)
9897

@@ -126,11 +125,15 @@ cc_library(
126125

127126
cc_test(
128127
name = "Loader_TEST",
129-
srcs = ["loader/src/Loader_TEST.cc"],
128+
srcs = [
129+
"loader/src/Loader_TEST.cc",
130+
":config",
131+
],
130132
defines = [
131133
'GzDummyPlugins_LIB=\\"./plugin/test/libGzDummyPlugins.so\\"',
132134
],
133135
deps = [
136+
":core",
134137
":loader",
135138
GZ_ROOT + "plugin/test:test_plugins",
136139
"@gtest",

0 commit comments

Comments
 (0)