summaryrefslogtreecommitdiff
path: root/repo/apps/chromium/revert-use-ffile-compilation-dir.patch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-29 01:06:01 +0100
committerdavidovski <david@davidovski.xyz>2022-05-29 01:06:01 +0100
commit2071df5dade8483e468e6efd5ff0091d5cb6c525 (patch)
tree6870a0d822e1d409c7e46df4e0ae1b2ae64d725b /repo/apps/chromium/revert-use-ffile-compilation-dir.patch
parent5170f5c85fe0e84fe8af55c6a024c7b6e844b0f1 (diff)
temporarily disabled chromium
Diffstat (limited to 'repo/apps/chromium/revert-use-ffile-compilation-dir.patch')
-rw-r--r--repo/apps/chromium/revert-use-ffile-compilation-dir.patch48
1 files changed, 0 insertions, 48 deletions
diff --git a/repo/apps/chromium/revert-use-ffile-compilation-dir.patch b/repo/apps/chromium/revert-use-ffile-compilation-dir.patch
deleted file mode 100644
index f0c110f..0000000
--- a/repo/apps/chromium/revert-use-ffile-compilation-dir.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
-index f442166..c325f72 100644
---- a/build/config/compiler/BUILD.gn
-+++ b/build/config/compiler/BUILD.gn
-@@ -1248,19 +1248,12 @@ config("compiler_deterministic") {
- # different build directory like "out/feature_a" and "out/feature_b" if
- # we build same files with same compile flag.
- # Other paths are already given in relative, no need to normalize them.
-- if (is_nacl) {
-- # TODO(https://crbug.com/1231236): Use -ffile-compilation-dir= here.
-- cflags += [
-- "-Xclang",
-- "-fdebug-compilation-dir",
-- "-Xclang",
-- ".",
-- ]
-- } else {
-- # -ffile-compilation-dir is an alias for both -fdebug-compilation-dir=
-- # and -fcoverage-compilation-dir=.
-- cflags += [ "-ffile-compilation-dir=." ]
-- }
-+ cflags += [
-+ "-Xclang",
-+ "-fdebug-compilation-dir",
-+ "-Xclang",
-+ ".",
-+ ]
- if (!is_win) {
- # We don't use clang -cc1as on Windows (yet? https://crbug.com/762167)
- asmflags = [ "-Wa,-fdebug-compilation-dir,." ]
-diff --git a/build/config/compiler/compiler.gni b/build/config/compiler/compiler.gni
-index 008a386..89e7fdf 100644
---- a/build/config/compiler/compiler.gni
-+++ b/build/config/compiler/compiler.gni
-@@ -238,8 +238,11 @@ declare_args() {
- # deterministic builds to reduce compile times, so this is less relevant for
- # official builders.
- strip_absolute_paths_from_debug_symbols_default =
-- is_android || is_fuchsia || is_nacl || (is_win && use_lld) || is_linux ||
-- is_chromeos || (is_apple && !enable_dsyms)
-+ # TODO(crbug.com/1010267): remove '!use_clang_coverage', coverage build has
-+ # dependency to absolute path of source files.
-+ !use_clang_coverage &&
-+ (is_android || is_fuchsia || is_nacl || (is_win && use_lld) || is_linux ||
-+ is_chromeos || (is_apple && !enable_dsyms))
-
- # If the platform uses stripped absolute paths by default, then we don't expose
- # it as a configuration option. If this is causing problems, please file a bug.