From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Mon, 9 Dec 2024 11:22:20 -0600 Subject: build: add public config simdutf_config To avoid building two copies of simdutf, we have electron_node ignore third_party/electron_node/deps/simdutf and use third_party/simdutf instead. To accomplish this, we need to make simdutf's config public here for use by third_party/electron_node. diff --git a/third_party/simdutf/BUILD.gn b/third_party/simdutf/BUILD.gn index 5fbce38841f04dad38f202f529ae84c609c6a8de..9f5ef9bceade8e30bbd2be616b9143e9708fefd8 100644 --- a/third_party/simdutf/BUILD.gn +++ b/third_party/simdutf/BUILD.gn @@ -6,9 +6,14 @@ source_set("header") { sources = [ "simdutf.h" ] } +config("simdutf_config") { + include_dirs = [ "." ] +} + source_set("simdutf") { sources = [ "simdutf.cpp" ] public_deps = [ ":header" ] + public_configs = [ ":simdutf_config" ] cflags_cc = [ "-Wno-unused-const-variable", "-Wno-unused-function",