summarylogtreecommitdiffstats
path: root/abseil-fix-missing-algorithm.patch
blob: 6816acd7c49737e0861bc900895e357bcc7b4fe1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- build/linux/unbundle/absl_algorithm.gn	2024-10-17 11:05:34.719976431 +0200
+++ build/linux/unbundle/absl_algorithm.gn	2024-10-17 11:06:50.917055503 +0200
@@ -1,6 +1,21 @@
 import("//build/config/linux/pkg_config.gni")
 import("//build/shim_headers.gni")
 
+pkg_config("system_absl_algorithm") {
+  packages = [ "absl_algorithm" ]
+}
+
+shim_headers("algorithm_shim") {
+  root_path = "."
+  prefix = "absl/algorithm/"
+  headers = [ "algorithm.h" ]
+}
+
+source_set("algorithm") {
+  deps = [ ":algorithm_shim" ]
+  public_configs = [ ":system_absl_algorithm" ]
+}
+
 pkg_config("system_absl_algorithm_container") {
   packages = [ "absl_algorithm_container" ]
 }