mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
C#: Remove unneeded source folder from Bazel build scripts
This commit is contained in:
@@ -7,7 +7,6 @@ codeql_xunit_test(
|
|||||||
name = "Semmle.Autobuild.CSharp.Tests",
|
name = "Semmle.Autobuild.CSharp.Tests",
|
||||||
srcs = glob([
|
srcs = glob([
|
||||||
"*.cs",
|
"*.cs",
|
||||||
"Properties/*.cs",
|
|
||||||
]),
|
]),
|
||||||
deps = [
|
deps = [
|
||||||
"//csharp/autobuilder/Semmle.Autobuild.CSharp:bin/Semmle.Autobuild.CSharp",
|
"//csharp/autobuilder/Semmle.Autobuild.CSharp:bin/Semmle.Autobuild.CSharp",
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ codeql_csharp_binary(
|
|||||||
name = "Semmle.Autobuild.CSharp",
|
name = "Semmle.Autobuild.CSharp",
|
||||||
srcs = glob([
|
srcs = glob([
|
||||||
"*.cs",
|
"*.cs",
|
||||||
"Properties/*.cs",
|
|
||||||
]),
|
]),
|
||||||
visibility = ["//csharp:__subpackages__"],
|
visibility = ["//csharp:__subpackages__"],
|
||||||
deps = [
|
deps = [
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ codeql_xunit_test(
|
|||||||
name = "Semmle.Autobuild.Cpp.Tests",
|
name = "Semmle.Autobuild.Cpp.Tests",
|
||||||
srcs = glob([
|
srcs = glob([
|
||||||
"*.cs",
|
"*.cs",
|
||||||
"Properties/*.cs",
|
|
||||||
]),
|
]),
|
||||||
deps = [
|
deps = [
|
||||||
"//csharp/autobuilder/Semmle.Autobuild.Cpp:bin/Semmle.Autobuild.Cpp",
|
"//csharp/autobuilder/Semmle.Autobuild.Cpp:bin/Semmle.Autobuild.Cpp",
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ codeql_csharp_binary(
|
|||||||
name = "Semmle.Autobuild.Cpp",
|
name = "Semmle.Autobuild.Cpp",
|
||||||
srcs = glob([
|
srcs = glob([
|
||||||
"*.cs",
|
"*.cs",
|
||||||
"Properties/*.cs",
|
|
||||||
]),
|
]),
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ codeql_csharp_library(
|
|||||||
name = "Semmle.Autobuild.Shared",
|
name = "Semmle.Autobuild.Shared",
|
||||||
srcs = glob([
|
srcs = glob([
|
||||||
"*.cs",
|
"*.cs",
|
||||||
"Properties/*.cs",
|
|
||||||
]),
|
]),
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ codeql_csharp_library(
|
|||||||
name = "Semmle.Extraction.CSharp.DependencyFetching",
|
name = "Semmle.Extraction.CSharp.DependencyFetching",
|
||||||
srcs = glob([
|
srcs = glob([
|
||||||
"*.cs",
|
"*.cs",
|
||||||
"Properties/*.cs",
|
|
||||||
"SourceGenerators/**/*.cs",
|
"SourceGenerators/**/*.cs",
|
||||||
]),
|
]),
|
||||||
allow_unsafe_blocks = True,
|
allow_unsafe_blocks = True,
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
using System.Runtime.CompilerServices;
|
|
||||||
|
|
||||||
// Expose internals for testing purposes.
|
|
||||||
[assembly: InternalsVisibleTo("Semmle.Extraction.Tests")]
|
|
||||||
@@ -6,6 +6,8 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\Semmle.Util\Semmle.Util.csproj" />
|
<ProjectReference Include="..\Semmle.Util\Semmle.Util.csproj" />
|
||||||
<ProjectReference Include="..\Semmle.Extraction\Semmle.Extraction.csproj" />
|
<ProjectReference Include="..\Semmle.Extraction\Semmle.Extraction.csproj" />
|
||||||
|
|
||||||
|
<InternalsVisibleTo Include="Semmle.Extraction.Tests" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="..\..\.paket\Paket.Restore.targets" />
|
<Import Project="..\..\.paket\Paket.Restore.targets" />
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ codeql_csharp_binary(
|
|||||||
name = "Semmle.Extraction.CSharp.DependencyStubGenerator",
|
name = "Semmle.Extraction.CSharp.DependencyStubGenerator",
|
||||||
srcs = glob([
|
srcs = glob([
|
||||||
"*.cs",
|
"*.cs",
|
||||||
"Properties/*.cs",
|
|
||||||
]),
|
]),
|
||||||
visibility = ["//csharp:__pkg__"],
|
visibility = ["//csharp:__pkg__"],
|
||||||
deps = [
|
deps = [
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ codeql_csharp_binary(
|
|||||||
name = "Semmle.Extraction.CSharp.Driver",
|
name = "Semmle.Extraction.CSharp.Driver",
|
||||||
srcs = glob([
|
srcs = glob([
|
||||||
"*.cs",
|
"*.cs",
|
||||||
"Properties/*.cs",
|
|
||||||
]),
|
]),
|
||||||
visibility = ["//csharp:__pkg__"],
|
visibility = ["//csharp:__pkg__"],
|
||||||
deps = [
|
deps = [
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ codeql_csharp_binary(
|
|||||||
name = "Semmle.Extraction.CSharp.Standalone",
|
name = "Semmle.Extraction.CSharp.Standalone",
|
||||||
srcs = glob([
|
srcs = glob([
|
||||||
"*.cs",
|
"*.cs",
|
||||||
"Properties/*.cs",
|
|
||||||
]),
|
]),
|
||||||
visibility = ["//csharp:__subpackages__"],
|
visibility = ["//csharp:__subpackages__"],
|
||||||
deps = [
|
deps = [
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ codeql_csharp_library(
|
|||||||
name = "Semmle.Extraction.CSharp.StubGenerator",
|
name = "Semmle.Extraction.CSharp.StubGenerator",
|
||||||
srcs = glob([
|
srcs = glob([
|
||||||
"*.cs",
|
"*.cs",
|
||||||
"Properties/*.cs",
|
|
||||||
]),
|
]),
|
||||||
internals_visible_to = ["Semmle.Extraction.Tests"],
|
internals_visible_to = ["Semmle.Extraction.Tests"],
|
||||||
visibility = ["//csharp:__subpackages__"],
|
visibility = ["//csharp:__subpackages__"],
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
using System.Runtime.CompilerServices;
|
|
||||||
|
|
||||||
// Expose internals for testing purposes.
|
|
||||||
[assembly: InternalsVisibleTo("Semmle.Extraction.Tests")]
|
|
||||||
@@ -4,6 +4,8 @@
|
|||||||
<ProjectReference Include="..\Semmle.Util\Semmle.Util.csproj" />
|
<ProjectReference Include="..\Semmle.Util\Semmle.Util.csproj" />
|
||||||
<ProjectReference Include="..\Semmle.Extraction.CSharp.DependencyFetching\Semmle.Extraction.CSharp.DependencyFetching.csproj" />
|
<ProjectReference Include="..\Semmle.Extraction.CSharp.DependencyFetching\Semmle.Extraction.CSharp.DependencyFetching.csproj" />
|
||||||
<ProjectReference Include="..\Semmle.Extraction.CSharp.Util\Semmle.Extraction.CSharp.Util.csproj" />
|
<ProjectReference Include="..\Semmle.Extraction.CSharp.Util\Semmle.Extraction.CSharp.Util.csproj" />
|
||||||
|
|
||||||
|
<InternalsVisibleTo Include="Semmle.Extraction.Tests" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="..\..\.paket\Paket.Restore.targets" />
|
<Import Project="..\..\.paket\Paket.Restore.targets" />
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ load(
|
|||||||
codeql_csharp_library(
|
codeql_csharp_library(
|
||||||
name = "Semmle.Extraction.CSharp.Util",
|
name = "Semmle.Extraction.CSharp.Util",
|
||||||
srcs = glob([
|
srcs = glob([
|
||||||
"Properties/*.cs",
|
|
||||||
"*.cs",
|
"*.cs",
|
||||||
]),
|
]),
|
||||||
visibility = ["//csharp:__subpackages__"],
|
visibility = ["//csharp:__subpackages__"],
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ codeql_xunit_test(
|
|||||||
name = "Semmle.Extraction.Tests",
|
name = "Semmle.Extraction.Tests",
|
||||||
srcs = glob([
|
srcs = glob([
|
||||||
"*.cs",
|
"*.cs",
|
||||||
"Properties/*.cs",
|
|
||||||
]),
|
]),
|
||||||
deps = [
|
deps = [
|
||||||
"//csharp/extractor/Semmle.Extraction",
|
"//csharp/extractor/Semmle.Extraction",
|
||||||
|
|||||||
@@ -15,7 +15,6 @@ codeql_csharp_library(
|
|||||||
srcs = glob([
|
srcs = glob([
|
||||||
"Entities/**/*.cs",
|
"Entities/**/*.cs",
|
||||||
"Extractor/**/*.cs",
|
"Extractor/**/*.cs",
|
||||||
"Properties/*.cs",
|
|
||||||
"*.cs",
|
"*.cs",
|
||||||
]),
|
]),
|
||||||
# enable via -c dbg on the bazel command line/in .bazelrc.local
|
# enable via -c dbg on the bazel command line/in .bazelrc.local
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ codeql_xunit_test(
|
|||||||
name = "Semmle.Util.Tests",
|
name = "Semmle.Util.Tests",
|
||||||
srcs = glob([
|
srcs = glob([
|
||||||
"*.cs",
|
"*.cs",
|
||||||
"Properties/*.cs",
|
|
||||||
]),
|
]),
|
||||||
deps = [
|
deps = [
|
||||||
"//csharp/extractor/Semmle.Util",
|
"//csharp/extractor/Semmle.Util",
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ codeql_csharp_library(
|
|||||||
"Logging/**/*.cs",
|
"Logging/**/*.cs",
|
||||||
"ToolStatusPage/**/*.cs",
|
"ToolStatusPage/**/*.cs",
|
||||||
"*.cs",
|
"*.cs",
|
||||||
"Properties/*.cs",
|
|
||||||
]),
|
]),
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
|
|||||||
Reference in New Issue
Block a user