Skip to content

Commit

Permalink
add filegroup for c#
Browse files Browse the repository at this point in the history
  • Loading branch information
lperron committed Dec 13, 2024
1 parent eecab8a commit df0ef64
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
16 changes: 13 additions & 3 deletions modules/swig/4.3.0/patches/add_build.patch
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ new file mode 100644
index 000000000..a2b99dc83
--- /dev/null
+++ b/BUILD
@@ -0,0 +1,164 @@
@@ -0,0 +1,163 @@
+# Copyright 2010-2024 Google LLC
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -152,7 +152,6 @@ index 000000000..a2b99dc83
+ "Lib/typemaps/*",
+ ]),
+ licenses = ["notice"], # simple notice license for Lib/
+ # path = "Lib",
+ visibility = ["//visibility:public"],
+)
+
Expand All @@ -165,7 +164,18 @@ index 000000000..a2b99dc83
+ "Lib/typemaps/*",
+ ]),
+ licenses = ["notice"], # simple notice license for Lib/
+ # path = "Lib",
+ visibility = ["//visibility:public"],
+)
+
+filegroup(
+ name = "lib_csharp",
+ srcs = glob([
+ "Lib/*",
+ "Lib/csharp/*",
+ "Lib/std/*",
+ "Lib/typemaps/*",
+ ]),
+ licenses = ["notice"], # simple notice license for Lib/
+ visibility = ["//visibility:public"],
+)
+
2 changes: 1 addition & 1 deletion modules/swig/4.3.0/source.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"url": "https://github.com/swig/swig/archive/refs/tags/v4.3.0.tar.gz",
"patch_strip": 1,
"patches": {
"add_build.patch": "sha256-19KC9HC2i29PM9Y4EdIxzl+4Yi/mdty+9htWuKG8stk=",
"add_build.patch": "sha256-p7vaE6s0zyPAmBcT+M+JRGW3EwRxC7U/hdXtVAS9OWM=",
"module_dot_bazel.patch": "sha256-4wl3H5IFJ4Imal2Vq8JfXzxAK+/AI5PJDD9ONaCqVlk=",
"add_parser_c.patch": "sha256-iUSXKCSRrHOdVcVyYFmJ1RlZ2tW5jE5AxCA/BClFtEI=",
"add_parser_h.patch": "sha256-7vOz0yNHdlijgMnxu3OQurFVWMYvHdjtlqQZFAImKKE=",
Expand Down

0 comments on commit df0ef64

Please sign in to comment.