Backed out changeset dfd512c51382 (bug 1730711) for breaking the macOS build.
This commit is contained in:
Родитель
3b2c0ab78f
Коммит
0e154d21c2
|
@ -11,8 +11,6 @@
|
|||
#endif
|
||||
/pingsender
|
||||
/pk12util
|
||||
/rnp
|
||||
/rnpkeys
|
||||
/ssltunnel
|
||||
/xpcshell
|
||||
/XUL
|
||||
|
|
|
@ -246,8 +246,6 @@
|
|||
; OpenPGP (librnp)
|
||||
#ifdef MOZ_OPENPGP
|
||||
@BINPATH@/@DLL_PREFIX@rnp@DLL_SUFFIX@
|
||||
@BINPATH@/rnp@BIN_SUFFIX@
|
||||
@BINPATH@/rnpkeys@BIN_SUFFIX@
|
||||
#endif
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
#include <cctype>
|
|
@ -138,5 +138,3 @@ SOURCES += [
|
|||
"src/librepgp/stream-sig.cpp",
|
||||
"src/librepgp/stream-write.cpp",
|
||||
]
|
||||
|
||||
DIRS += ["src/rnp", "src/rnpkeys"]
|
||||
|
|
|
@ -1,63 +0,0 @@
|
|||
# vim: set filetype=python:
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
Program("rnp")
|
||||
|
||||
include("../../../rnpdefs.mozbuild")
|
||||
|
||||
USE_LIBS += ["rnp"]
|
||||
|
||||
LOCAL_INCLUDES = [
|
||||
"!../lib",
|
||||
"..",
|
||||
"../../include",
|
||||
"../common",
|
||||
"../lib",
|
||||
]
|
||||
|
||||
if CONFIG["MZLA_SYSTEM_JSONC"]:
|
||||
CXXFLAGS += CONFIG["MZLA_JSONC_CFLAGS"]
|
||||
LDFLAGS += CONFIG["MZLA_JSONC_LIBS"] + ["-Wl,-rpath=$ORIGIN"]
|
||||
|
||||
else:
|
||||
USE_LIBS += ["json-c"]
|
||||
LOCAL_INCLUDES += ["!/comm/third_party/json-c", "/comm/third_party/json-c"]
|
||||
LDFLAGS += ["-Wl,-rpath=$ORIGIN"]
|
||||
|
||||
SOURCES += [
|
||||
"../common/file-utils.cpp",
|
||||
"../common/list.cpp",
|
||||
"../common/str-utils.cpp",
|
||||
"../common/time-utils.cpp",
|
||||
"../lib/logging.cpp",
|
||||
"../rnpkeys/tui.cpp",
|
||||
"fficli.cpp",
|
||||
"rnp.cpp",
|
||||
"rnpcfg.cpp",
|
||||
]
|
||||
|
||||
if CONFIG["CC_TYPE"] == "clang-cl":
|
||||
CXXFLAGS += [
|
||||
"/EHs",
|
||||
"-Wno-deprecated-declarations",
|
||||
]
|
||||
LOCAL_INCLUDES += [
|
||||
"/comm/third_party/niwcompat",
|
||||
]
|
||||
|
||||
OS_LIBS += [
|
||||
"shell32",
|
||||
"-LIBPATH:{}".format(CONFIG["COMPILER_RT_BUILTIN_PATH"]),
|
||||
CONFIG["COMPILER_RT_BUILTIN_LIB"],
|
||||
]
|
||||
SOURCES += [
|
||||
"/comm/third_party/niwcompat/getopt.c",
|
||||
]
|
||||
SOURCES["rnpcfg.cpp"].flags += [
|
||||
"-FI",
|
||||
"%s/comm/third_party/niwcompat/extra_include.h" % TOPSRCDIR,
|
||||
]
|
||||
DEFINES["MOZILLA_CONFIG_H"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
|
@ -1,63 +0,0 @@
|
|||
# vim: set filetype=python:
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
Program("rnpkeys")
|
||||
|
||||
include("../../../rnpdefs.mozbuild")
|
||||
|
||||
USE_LIBS += ["rnp"]
|
||||
|
||||
LOCAL_INCLUDES = [
|
||||
"!../lib",
|
||||
"..",
|
||||
"../../include",
|
||||
"../common",
|
||||
"../lib",
|
||||
]
|
||||
|
||||
if CONFIG["MZLA_SYSTEM_JSONC"]:
|
||||
CXXFLAGS += CONFIG["MZLA_JSONC_CFLAGS"]
|
||||
LDFLAGS += CONFIG["MZLA_JSONC_LIBS"] + ["-Wl,-rpath=$ORIGIN"]
|
||||
else:
|
||||
USE_LIBS += ["json-c"]
|
||||
LOCAL_INCLUDES += ["!/comm/third_party/json-c", "/comm/third_party/json-c"]
|
||||
LDFLAGS += ["-Wl,-rpath=$ORIGIN"]
|
||||
|
||||
SOURCES += [
|
||||
"../common/file-utils.cpp",
|
||||
"../common/list.cpp",
|
||||
"../common/str-utils.cpp",
|
||||
"../common/time-utils.cpp",
|
||||
"../lib/logging.cpp",
|
||||
"../rnp/fficli.cpp",
|
||||
"../rnp/rnpcfg.cpp",
|
||||
"main.cpp",
|
||||
"rnpkeys.cpp",
|
||||
"tui.cpp",
|
||||
]
|
||||
|
||||
if CONFIG["CC_TYPE"] == "clang-cl":
|
||||
CXXFLAGS += [
|
||||
"/EHs",
|
||||
"-Wno-deprecated-declarations",
|
||||
]
|
||||
LOCAL_INCLUDES += [
|
||||
"/comm/third_party/niwcompat",
|
||||
]
|
||||
|
||||
OS_LIBS += [
|
||||
"shell32",
|
||||
"-LIBPATH:{}".format(CONFIG["COMPILER_RT_BUILTIN_PATH"]),
|
||||
CONFIG["COMPILER_RT_BUILTIN_LIB"],
|
||||
]
|
||||
SOURCES += [
|
||||
"/comm/third_party/niwcompat/getopt.c",
|
||||
]
|
||||
SOURCES["../rnp/rnpcfg.cpp"].flags += [
|
||||
"-FI",
|
||||
"%s/comm/third_party/niwcompat/extra_include.h" % TOPSRCDIR,
|
||||
]
|
||||
DEFINES["MOZILLA_CONFIG_H"] = True
|
||||
DEFINES["_CRT_SECURE_NO_WARNINGS"] = True
|
|
@ -27,7 +27,6 @@ if CONFIG["CC_TYPE"] == "clang-cl":
|
|||
"-Wno-macro-redefined", # 'WIN32_LEAN_AND_MEAN' macro redefined
|
||||
]
|
||||
USE_STATIC_LIBS = True
|
||||
DEFINES["RNP_USE_STD_REGEX"] = True
|
||||
|
||||
if CONFIG["MOZ_STDCXX_COMPAT"]:
|
||||
# Use pre-GCC-5 strings abi
|
||||
|
|
Загрузка…
Ссылка в новой задаче