summarylogtreecommitdiffstats
path: root/abseil-remove-unused-targets.patch
blob: 3ef91157b75d32cccc3f6744eed50c208b649193 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
These targets are dead code and they aren't available with system Abseil. Based on:
https://build.opensuse.org/package/view_file/openSUSE:Factory:ARM/nodejs-electron

--- third_party/abseil-cpp/BUILD.gn	2024-05-08 22:30:02.272433000 +0200
+++ third_party/abseil-cpp/BUILD.gn	2024-05-13 13:11:28.294308251 +0200
@@ -150,20 +150,15 @@
   public_deps = [
     # Banned because each flag registration generates a static initializer, and
     # the flag registration mechanism is problematic in component builds.
-    "//third_party/abseil-cpp/absl/flags:config",
     "//third_party/abseil-cpp/absl/flags:flag",
     "//third_party/abseil-cpp/absl/flags:parse",
-    "//third_party/abseil-cpp/absl/flags:reflection",
     "//third_party/abseil-cpp/absl/flags:usage",
 
     # Banned because the LOG and CHECK macros conflict with Chrome's version of
     # those macros.
     "//third_party/abseil-cpp/absl/log",
-    "//third_party/abseil-cpp/absl/log:check",
 
     # TODO(danilchap): Investigate if these targets need to be banned in 3rd party library code.
-    "//third_party/abseil-cpp/absl/log:globals",
-    "//third_party/abseil-cpp/absl/log:initialize",
     "//third_party/abseil-cpp/absl/random:bit_gen_ref",
   ]
 
@@ -172,7 +167,7 @@
     ":absl_full",
   ]
 
-  public_configs = [ "//third_party/abseil-cpp/absl/flags:absl_flags_config" ]
+  public_configs = []
 }
 
 config("absl_include_config") {
@@ -278,7 +273,6 @@
         "absl/container:fixed_array_test",
         "absl/container:flat_hash_map_test",
         "absl/container:flat_hash_set_test",
-        "absl/container:hash_function_defaults_test",
         "absl/container:inlined_vector_test",
         "absl/container:node_slot_policy_test",
         "absl/container:raw_hash_set_allocator_test",
@@ -352,7 +346,6 @@
         "absl/synchronization:waiter_test",
         "absl/time:time_test",
         "absl/types:optional_test",
-        "absl/types:span_test",
         "absl/types:variant_test",
         "absl/utility:if_constexpr_test",
         "//third_party/googletest:gtest_main",