Skip to content

Commit 2ac62c5

Browse files
committed
webrtc enabled, autoconf2.13
1 parent 964b05d commit 2ac62c5

File tree

2 files changed

+95
-0
lines changed

2 files changed

+95
-0
lines changed

2.53.8_2/.mozconfig

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
export CC=clang
2+
export CXX=clang++
3+
ac_add_options --enable-application=comm/suite
4+
ac_add_options --enable-calendar
5+
ac_add_options --enable-irc
6+
ac_add_options --enable-dominspector
7+
mk_add_options MOZ_OBJDIR=/home/scops/Development/seamonkey/seamonkey-2.53.8/mozobj
8+
ac_add_options --enable-optimize
9+
ac_add_options --enable-js-shell
10+
#ac_add_options --enable-elf-hack
11+
ac_add_options --disable-debug-symbols
12+
ac_add_options --disable-tests
13+
14+
#to aviod webrtc building errors atm
15+
#ac_add_options --disable-webrtc
16+
17+
# Disable checking that add-ons are signed by the trusted root
18+
MOZ_ADDON_SIGNING=0
19+
# Disable enforcing that add-ons are signed by the trusted root
20+
MOZ_REQUIRE_SIGNING=0
21+
22+
# Package js shell
23+
export MOZ_PACKAGE_JSSHELL=1
24+
25+
# Use ccache
26+
ac_add_options --with-ccache=/usr/bin/ccache
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# HG changeset patch
2+
# User Mattias WeiB <info@codeandcreate.de>
3+
# Date 1624046143 0
4+
Bug 9999999 - Allow building on for aarch64 target.
5+
6+
diff --git a/js/src/vm/DateTime.cpp b/js/src/vm/DateTime.cpp
7+
--- a/js/src/vm/DateTime.cpp
8+
+++ b/js/src/vm/DateTime.cpp
9+
@@ -1,14 +1,15 @@
10+
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
11+
* vim: set ts=8 sts=4 et sw=4 tw=99:
12+
* This Source Code Form is subject to the terms of the Mozilla Public
13+
* License, v. 2.0. If a copy of the MPL was not distributed with this
14+
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
15+
16+
+#include "jsstr.h"
17+
#include "vm/DateTime.h"
18+
19+
#include "mozilla/ArrayUtils.h"
20+
#include "mozilla/ScopeExit.h"
21+
#include "mozilla/TextUtils.h"
22+
#include "mozilla/Unused.h"
23+
24+
#include <algorithm>
25+
diff --git a/media/webrtc/trunk/moz.build b/media/webrtc/trunk/moz.build
26+
--- a/media/webrtc/trunk/moz.build
27+
+++ b/media/webrtc/trunk/moz.build
28+
@@ -139,24 +139,38 @@ if CONFIG["OS_TARGET"] == "NetBSD":
29+
"/media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn",
30+
"/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn",
31+
"/media/webrtc/trunk/webrtc/video_engine/video_engine_gn"
32+
]
33+
34+
if CONFIG["OS_TARGET"] == "Linux":
35+
36+
DIRS += [
37+
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn",
38+
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn",
39+
+ "/media/webrtc/trunk/webrtc/video_engine/video_engine_gn"
40+
+ ]
41+
+
42+
+if CONFIG["CPU_ARCH"] != "aarch64" and CONFIG["OS_TARGET"] == "Linux":
43+
+ DIRS += [
44+
"/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn",
45+
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn",
46+
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
47+
- "/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn",
48+
- "/media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn",
49+
"/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn",
50+
"/media/webrtc/trunk/webrtc/system_wrappers/cpu_features_linux_gn",
51+
- "/media/webrtc/trunk/webrtc/video_engine/video_engine_gn"
52+
+ ]
53+
+
54+
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
55+
+ DIRS += [
56+
+ "/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_c_gn",
57+
+ "/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_gn",
58+
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/isac_neon_gn",
59+
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_c_gn",
60+
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_gn",
61+
+ "/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_neon_gn"
62+
]
63+
64+
if CONFIG["OS_TARGET"] == "OpenBSD":
65+
66+
DIRS += [
67+
"/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn",
68+
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn",
69+
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",

0 commit comments

Comments
 (0)