File: 0006.patch

package info (click to toggle)
firefox 146.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,653,260 kB
  • sloc: cpp: 7,587,892; javascript: 6,509,455; ansic: 3,755,295; python: 1,410,813; xml: 629,201; asm: 438,677; java: 186,096; sh: 62,697; makefile: 18,086; objc: 13,087; perl: 12,811; yacc: 4,583; cs: 3,846; pascal: 3,448; lex: 1,720; ruby: 1,003; php: 436; lisp: 258; awk: 247; sql: 66; sed: 54; csh: 10; exp: 6
file content (103 lines) | stat: -rw-r--r-- 4,377 bytes parent folder | download | duplicates (4)
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
From: Michael Froman <mfroman@mozilla.com>
Date: Thu, 10 Oct 2024 13:42:00 +0000
Subject: Bug 1921707 - point to new build directory location in
 third_party/abseil-cpp r=ng

Ran:
ack -l "\"//build/config" third_party/abseil-cpp | xargs sed -i.bak -E 's/\"\/\/build\/config/\"\/\/chromium\/build\/config/'
ack -l "\"//build/toolchain" third_party/abseil-cpp | xargs sed -i.bak -E 's/\"\/\/build\/toolchain/\"\/\/chromium\/build\/toolchain/'
find third_party -name "*.bak" | xargs rm

Differential Revision: https://phabricator.services.mozilla.com/D224544
Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/566543823f7e89dc33d6d59a438aea7a1d19e3b0
---
 abseil-cpp/.gn                     |  2 +-
 abseil-cpp/BUILD.gn                |  8 ++++----
 abseil-cpp/absl.gni                | 14 +++++++-------
 abseil-cpp/absl/debugging/BUILD.gn |  2 +-
 4 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/abseil-cpp/.gn b/abseil-cpp/.gn
index 648423a128f..bd6c38b3762 100644
--- a/abseil-cpp/.gn
+++ b/abseil-cpp/.gn
@@ -1,5 +1,5 @@
 # The location of the build configuration file.
-buildconfig = "//build/config/BUILDCONFIG.gn"
+buildconfig = "//chromium/build/config/BUILDCONFIG.gn"
 script_executable = "python3"
 secondary_source = "//abseil-cpp/"
 
diff --git a/abseil-cpp/BUILD.gn b/abseil-cpp/BUILD.gn
index 97b460e4fd4..ef837cb908a 100644
--- a/abseil-cpp/BUILD.gn
+++ b/abseil-cpp/BUILD.gn
@@ -6,10 +6,10 @@
 # opts will be linked together, and in some cases headers compiled with and
 # without these options will be part of the same program.
 
-import("//build/config/c++/c++.gni")
-import("//build/config/nacl/config.gni")
-import("//build/config/sanitizers/sanitizers.gni")
-import("//build/toolchain/toolchain.gni")
+import("//chromium/build/config/c++/c++.gni")
+import("//chromium/build/config/nacl/config.gni")
+import("//chromium/build/config/sanitizers/sanitizers.gni")
+import("//chromium/build/toolchain/toolchain.gni")
 import("//build_overrides/build.gni")
 import("//third_party/abseil-cpp/absl.gni")
 
diff --git a/abseil-cpp/absl.gni b/abseil-cpp/absl.gni
index 1213d0e0bb0..06515e0e805 100644
--- a/abseil-cpp/absl.gni
+++ b/abseil-cpp/absl.gni
@@ -30,10 +30,10 @@ template("absl_source_set") {
       not_needed(invoker, "*")
     } else {
       forward_variables_from(invoker, "*")
-      configs -= [ "//build/config/compiler:chromium_code" ]
+      configs -= [ "//chromium/build/config/compiler:chromium_code" ]
       configs += [
-        "//build/config/compiler:no_chromium_code",
-        "//build/config/compiler:prevent_unsafe_narrowing",
+        "//chromium/build/config/compiler:no_chromium_code",
+        "//chromium/build/config/compiler:prevent_unsafe_narrowing",
         "//abseil-cpp:absl_default_cflags_cc",
         "//abseil-cpp:absl_define_config",
       ]
@@ -44,8 +44,8 @@ template("absl_source_set") {
       if (is_component_build) {
         defines += [ "ABSL_BUILD_DLL" ]
         if (!is_win && current_os != "aix") {
-          configs -= [ "//build/config/gcc:symbol_visibility_hidden" ]
-          configs += [ "//build/config/gcc:symbol_visibility_default" ]
+          configs -= [ "//chromium/build/config/gcc:symbol_visibility_hidden" ]
+          configs += [ "//chromium/build/config/gcc:symbol_visibility_default" ]
         }
       }
 
@@ -128,9 +128,9 @@ template("absl_test") {
     } else {
       forward_variables_from(invoker, "*")
       testonly = true
-      configs -= [ "//build/config/compiler:chromium_code" ]
+      configs -= [ "//chromium/build/config/compiler:chromium_code" ]
       configs += [
-        "//build/config/compiler:no_chromium_code",
+        "//chromium/build/config/compiler:no_chromium_code",
         "//abseil-cpp:absl_default_cflags_cc",
         "//abseil-cpp:absl_define_config",
         "//abseil-cpp:absl_test_config",
diff --git a/abseil-cpp/absl/debugging/BUILD.gn b/abseil-cpp/absl/debugging/BUILD.gn
index a1939b67793..9041c59ddad 100644
--- a/abseil-cpp/absl/debugging/BUILD.gn
+++ b/abseil-cpp/absl/debugging/BUILD.gn
@@ -2,7 +2,7 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//build/config/sanitizers/sanitizers.gni")
+import("//chromium/build/config/sanitizers/sanitizers.gni")
 import("//third_party/abseil-cpp/absl.gni")
 
 absl_source_set("stacktrace") {