-
Notifications
You must be signed in to change notification settings - Fork 526
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Move all third-party deps into git submodules (#1083)
This also normalizes the structure of all submodule folders so that there is a clear place to put configurations, outside the submodule source, but limited in scope to that folder. Issue #1047 (New build system)
- Loading branch information
1 parent
31e116f
commit 1ff26b4
Showing
22 changed files
with
248 additions
and
349 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,33 @@ | ||
[submodule "packager/testing/googletest"] | ||
[submodule "packager/third_party/googletest/source"] | ||
path = packager/third_party/googletest/source | ||
url = https://github.com/google/googletest | ||
[submodule "packager/third_party/abseil-cpp"] | ||
[submodule "packager/third_party/abseil-cpp/source"] | ||
path = packager/third_party/abseil-cpp/source | ||
url = https://github.com/abseil/abseil-cpp | ||
[submodule "packager/third_party/curl"] | ||
[submodule "packager/third_party/curl/source"] | ||
path = packager/third_party/curl/source | ||
url = https://github.com/curl/curl | ||
[submodule "packager/third_party/glog"] | ||
[submodule "packager/third_party/glog/source"] | ||
path = packager/third_party/glog/source | ||
url = https://github.com/google/glog | ||
[submodule "packager/third_party/json"] | ||
path = packager/third_party/json | ||
[submodule "packager/third_party/json/source"] | ||
path = packager/third_party/json/source | ||
url = https://github.com/nlohmann/json | ||
[submodule "packager/third_party/mbedtls"] | ||
[submodule "packager/third_party/mbedtls/source"] | ||
path = packager/third_party/mbedtls/source | ||
url = https://github.com/Mbed-TLS/mbedtls | ||
[submodule "packager/third_party/zlib/source"] | ||
path = packager/third_party/zlib/source | ||
url = https://github.com/joeyparrish/zlib | ||
[submodule "packager/third_party/libpng/source"] | ||
path = packager/third_party/libpng/source | ||
url = https://github.com/glennrp/libpng | ||
[submodule "packager/third_party/libwebm/source"] | ||
path = packager/third_party/libwebm/source | ||
url = https://github.com/webmproject/libwebm | ||
[submodule "packager/third_party/libxml2/source"] | ||
path = packager/third_party/libxml2/source | ||
url = https://gitlab.gnome.org/GNOME/libxml2 | ||
[submodule "packager/third_party/protobuf/source"] | ||
path = packager/third_party/protobuf/source | ||
url = https://github.com/protocolbuffers/protobuf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Copyright 2022 Google LLC. All rights reserved. | ||
# | ||
# Use of this source code is governed by a BSD-style | ||
# license that can be found in the LICENSE file or at | ||
# https://developers.google.com/open-source/licenses/bsd | ||
|
||
# CMake build file to host the nlohmann json library configuration. | ||
|
||
# No configuration is currently required. | ||
|
||
# With these set in scope of this folder, load the library's own CMakeLists.txt. | ||
add_subdirectory(source) |
Submodule source
updated
from 000000 to 954b10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Copyright 2022 Google LLC. All rights reserved. | ||
# | ||
# Use of this source code is governed by a BSD-style | ||
# license that can be found in the LICENSE file or at | ||
# https://developers.google.com/open-source/licenses/bsd | ||
|
||
# CMake build file to host libpng configuration. | ||
|
||
# Turn these features on. | ||
set(PNG_STATIC ON) | ||
set(PNG_HARDWARE_OPTIMIZATIONS ON) | ||
|
||
# Turn these features off. | ||
set(PNG_SHARED OFF) | ||
set(PNG_TESTS OFF) | ||
set(PNG_FRAMEWORK OFF) | ||
set(PNG_DEBUG OFF) | ||
|
||
# Don't install anything. | ||
set(SKIP_INSTALL_ALL ON) | ||
|
||
# A confusing name, but this means "let us tell you where to find zlib". | ||
set(PNG_BUILD_ZLIB ON) | ||
# Tell libpng where to find zlib headers. | ||
set(ZLIB_INCLUDE_DIR ../zlib/source/) | ||
# Tell libpng where to find zlib library to link to. | ||
set(ZLIB_LIBRARY zlibstatic) | ||
|
||
# With these set in scope of this folder, load the library's own CMakeLists.txt. | ||
add_subdirectory(source) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.