summaryrefslogtreecommitdiff
path: root/devel/electron6/files/patch-base_BUILD.gn
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2021-01-02 12:28:34 +0000
committerRene Ladan <rene@FreeBSD.org>2021-01-02 12:28:34 +0000
commit58083a596736902f0b7c0eaf4c9affda7d7edbb5 (patch)
treeb79332244517c33996a0893e38498ffc48c36dda /devel/electron6/files/patch-base_BUILD.gn
parentmultimedia/gtk-youtube-viewer: update 3.8.0 -> 3.8.1 (diff)
Remove a few expired ports depending on Python 2.7:
2020-12-31 www/iridium: Uses Python 2.7 which is EOLed upstream 2020-12-31 editors/atom: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/electron4: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/electron5: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/electron6: Uses Python 2.7 which is EOLed upstream
Notes
Notes: svn path=/head/; revision=559931
Diffstat (limited to 'devel/electron6/files/patch-base_BUILD.gn')
-rw-r--r--devel/electron6/files/patch-base_BUILD.gn67
1 files changed, 0 insertions, 67 deletions
diff --git a/devel/electron6/files/patch-base_BUILD.gn b/devel/electron6/files/patch-base_BUILD.gn
deleted file mode 100644
index ec0075851862..000000000000
--- a/devel/electron6/files/patch-base_BUILD.gn
+++ /dev/null
@@ -1,67 +0,0 @@
---- base/BUILD.gn.orig 2019-09-10 11:13:31 UTC
-+++ base/BUILD.gn
-@@ -1258,7 +1258,7 @@ jumbo_component("base") {
- # Needed for <atomic> if using newer C++ library than sysroot, except if
- # building inside the cros_sdk environment - use host_toolchain as a
- # more robust check for this.
-- if (!use_sysroot && (is_android || (is_linux && !is_chromecast)) &&
-+ if (!use_sysroot && (is_android || (is_linux && !is_chromecast) && !is_clang) &&
- host_toolchain != "//build/toolchain/cros:host") {
- libs += [ "atomic" ]
- }
-@@ -1284,7 +1284,7 @@ jumbo_component("base") {
- "allocator/allocator_shim_override_glibc_weak_symbols.h",
- ]
- deps += [ "//base/allocator:tcmalloc" ]
-- } else if (is_linux && use_allocator == "none") {
-+ } else if ((is_linux && !is_bsd) && use_allocator == "none") {
- sources += [ "allocator/allocator_shim_default_dispatch_to_glibc.cc" ]
- } else if (is_android && use_allocator == "none") {
- sources += [
-@@ -1862,6 +1862,33 @@ jumbo_component("base") {
- }
- }
-
-+ if (is_bsd) {
-+ sources -= [
-+ "files/file_path_watcher_linux.cc",
-+ "files/file_util_linux.cc",
-+ "process/memory_linux.cc",
-+ "process/process_handle_linux.cc",
-+ "process/process_iterator_linux.cc",
-+ "process/process_metrics_linux.cc",
-+ "system/sys_info_linux.cc"
-+ ]
-+ sources += [
-+ "files/file_path_watcher_kqueue.cc",
-+ "files/file_path_watcher_kqueue.h",
-+ "files/file_path_watcher_stub.cc",
-+ "process/memory_stubs.cc",
-+ "process/process_handle_freebsd.cc",
-+ "process/process_iterator_freebsd.cc",
-+ "process/process_metrics_freebsd.cc",
-+ "system/sys_info_freebsd.cc",
-+ ]
-+ libs = [
-+ "execinfo", # logging.cc
-+ "kvm", # process_metrics_freebsd
-+ "util" # process_metrics_freebsd
-+ ]
-+ }
-+
- # iOS
- if (is_ios) {
- set_sources_assignment_filter([])
-@@ -2999,6 +3026,12 @@ test("base_unittests") {
- ]
- set_sources_assignment_filter(sources_assignment_filter)
- }
-+
-+ if (is_bsd) {
-+ sources -= [
-+ "debug/proc_maps_linux_unittest.cc",
-+ ]
-+ }
-
- if (is_win) {
- deps += [ "//base:scoped_handle_test_dll" ]