aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/skia/third-party.gn.in
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/skia/third-party.gn.in
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/skia/third-party.gn.in')
-rw-r--r--vcpkg/ports/skia/third-party.gn.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/vcpkg/ports/skia/third-party.gn.in b/vcpkg/ports/skia/third-party.gn.in
new file mode 100644
index 0000000..b637002
--- /dev/null
+++ b/vcpkg/ports/skia/third-party.gn.in
@@ -0,0 +1,25 @@
+# While propagating "libs", gn would omit duplicate items,
+# possibly breaking linking order of static libraries.
+# "ldflags" are propagated literally, via "all_dependent_configs".
+config("vcpkg_@gn_group@") {
+ if(is_debug) {
+ defines = [ @gn_defines_DEBUG@ ]
+ include_dirs = [ @gn_include_dirs_DEBUG@ ]
+ } else {
+ defines = [ @gn_defines_RELEASE@ ]
+ include_dirs = [ @gn_include_dirs_RELEASE@ ]
+ }
+}
+config("vcpkg_@gn_group@_link_libraries") {
+ if(is_debug) {
+ lib_dirs = [ @gn_lib_dirs_DEBUG@ ]
+ ldflags = [ @gn_ldflags_DEBUG@ ]
+ } else {
+ lib_dirs = [ @gn_lib_dirs_RELEASE@ ]
+ ldflags = [ @gn_ldflags_RELEASE@ ]
+ }
+}
+group("@gn_group@") {
+ public_configs = [ ":vcpkg_@gn_group@" ]
+ all_dependent_configs = [ ":vcpkg_@gn_group@_link_libraries" ]
+}