mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 02:22:52 +08:00
[protobuf] Delete unused backends from sources. (#36377)
We have an internal Microsoft report of dependency tracking tools complaining about requirements.txt in the Python backend of protobuf after a build. It's just as likely that similar alerts will be fired for other unused language backends. However, they're unused, so we can delete them.
This commit is contained in:
parent
a3a0fc0eae
commit
ed024a8897
@ -33,6 +33,17 @@ if (VCPKG_DOWNLOAD_MODE)
|
||||
vcpkg_find_acquire_program(PKGCONFIG)
|
||||
endif()
|
||||
|
||||
# Delete language backends we aren't targeting to reduce false positives in automated dependency
|
||||
# detectors like Dependabot.
|
||||
file(REMOVE_RECURSE
|
||||
"${SOURCE_PATH}/csharp"
|
||||
"${SOURCE_PATH}/java"
|
||||
"${SOURCE_PATH}/objectivec"
|
||||
"${SOURCE_PATH}/php"
|
||||
"${SOURCE_PATH}/python"
|
||||
"${SOURCE_PATH}/ruby"
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "protobuf",
|
||||
"version": "3.21.12",
|
||||
"port-version": 1,
|
||||
"description": "Protocol Buffers - Google's data interchange format",
|
||||
"homepage": "https://github.com/protocolbuffers/protobuf",
|
||||
"license": "BSD-3-Clause",
|
||||
|
@ -6854,7 +6854,7 @@
|
||||
},
|
||||
"protobuf": {
|
||||
"baseline": "3.21.12",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"protobuf-c": {
|
||||
"baseline": "1.4.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "8d742753b6c35666168a4178f0aae986740ae42c",
|
||||
"version": "3.21.12",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "3b145508ba614fe26989b23f6317f15bf6467be4",
|
||||
"version": "3.21.12",
|
||||
|
Loading…
Reference in New Issue
Block a user