-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
37698a9
commit bbdfca8
Showing
30 changed files
with
1,495 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- a/content/gpu/BUILD.gn | ||
+++ b/content/gpu/BUILD.gn | ||
@@ -139,6 +139,6 @@ | ||
# Use DRI on desktop Linux builds. | ||
if (current_cpu != "s390x" && current_cpu != "ppc64" && is_linux && | ||
!is_castos) { | ||
- configs += [ "//build/config/linux/dri" ] | ||
+ # configs += [ "//build/config/linux/dri" ] | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
tur-continuous/chromium/0002-configure-remove-unsupported-flags.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- a/build/config/compiler/BUILD.gn | ||
+++ b/build/config/compiler/BUILD.gn | ||
@@ -1543,20 +1543,6 @@ | ||
# TODO(thakis): Only for no_chromium_code? http://crbug.com/912662 | ||
"-Wno-ignored-pragma-optimize", | ||
] | ||
- | ||
- if (!is_nacl) { | ||
- cflags += [ | ||
- # TODO(crbug.com/1343975) Evaluate and possibly enable. | ||
- "-Wno-deprecated-builtins", | ||
- | ||
- # TODO(crbug.com/1352183) Evaluate and possibly enable. | ||
- "-Wno-bitfield-constant-conversion", | ||
- ] | ||
- if (is_win) { | ||
- # TODO(https://crbug.com/1363759): Evaluate and possibly enable. | ||
- cflags += [ "-Wno-deprecated-copy-with-user-provided-copy" ] | ||
- } | ||
- } | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
tur-continuous/chromium/0003-configure-use-android-target.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- a/build/config/compiler/BUILD.gn | ||
+++ b/build/config/compiler/BUILD.gn | ||
@@ -915,8 +915,8 @@ | ||
} else if (current_cpu == "arm") { | ||
if (is_clang && !is_android && !is_nacl && | ||
!(is_chromeos_lacros && is_chromeos_device)) { | ||
- cflags += [ "--target=arm-linux-gnueabihf" ] | ||
- ldflags += [ "--target=arm-linux-gnueabihf" ] | ||
+ cflags += [ "--target=armv7a-linux-android24" ] | ||
+ ldflags += [ "--target=armv7a-linux-android24" ] | ||
} | ||
if (!is_nacl) { | ||
cflags += [ | ||
@@ -930,13 +930,13 @@ | ||
} else if (current_cpu == "arm64") { | ||
if (is_clang && !is_android && !is_nacl && !is_fuchsia && | ||
!(is_chromeos_lacros && is_chromeos_device)) { | ||
- cflags += [ "--target=aarch64-linux-gnu" ] | ||
- ldflags += [ "--target=aarch64-linux-gnu" ] | ||
+ cflags += [ "--target=aarch64-linux-android24" ] | ||
+ ldflags += [ "--target=aarch64-linux-android24" ] | ||
} | ||
- if (is_android) { | ||
+ # if (is_android) { | ||
# Outline atomics crash on Exynos 9810. http://crbug.com/1272795 | ||
cflags += [ "-mno-outline-atomics" ] | ||
- } | ||
+ # } | ||
} else if (current_cpu == "mipsel" && !is_nacl) { | ||
ldflags += [ "-Wl,--hash-style=sysv" ] | ||
if (custom_toolchain == "") { |
18 changes: 18 additions & 0 deletions
18
tur-continuous/chromium/0004-breakpad-no-elf_prstatus.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- a/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_core_dumper.cc | ||
+++ b/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_core_dumper.cc | ||
@@ -194,6 +194,7 @@ | ||
// | ||
// The following code only works if notes are ordered as expected. | ||
switch (type) { | ||
+#if !defined(__ANDROID__) | ||
case NT_PRSTATUS: { | ||
if (description.length() != sizeof(elf_prstatus)) { | ||
fprintf(stderr, "Found NT_PRSTATUS descriptor of unexpected size\n"); | ||
@@ -231,6 +232,7 @@ | ||
thread_infos_.push_back(info); | ||
break; | ||
} | ||
+#endif | ||
case NT_SIGINFO: { | ||
if (description.length() != sizeof(siginfo_t)) { | ||
fprintf(stderr, "Found NT_SIGINFO descriptor of unexpected size\n"); |
Oops, something went wrong.