mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 04:41:11 +00:00
Bug 1921707 - abseil-cpp - moz.build file updates r=ng
Differential Revision: https://phabricator.services.mozilla.com/D224082
This commit is contained in:
parent
796605d34d
commit
479bff6811
@ -16,10 +16,9 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
|
@ -16,10 +16,9 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
|
@ -16,10 +16,9 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
|
@ -16,10 +16,9 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
|
@ -16,10 +16,9 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
|
@ -16,10 +16,9 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
|
@ -16,15 +16,14 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/absl/base/log_severity.cc"
|
||||
"/third_party/abseil-cpp/absl/base/log_severity.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
@ -16,10 +16,9 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
|
@ -16,15 +16,14 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/absl/base/internal/raw_logging.cc"
|
||||
"/third_party/abseil-cpp/absl/base/internal/raw_logging.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
@ -16,15 +16,14 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/absl/base/internal/throw_delegate.cc"
|
||||
"/third_party/abseil-cpp/absl/base/internal/throw_delegate.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
@ -16,10 +16,9 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
|
@ -16,10 +16,9 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
|
@ -16,10 +16,9 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
|
@ -16,10 +16,9 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
|
@ -16,10 +16,9 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
|
@ -16,10 +16,9 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
|
@ -16,10 +16,9 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
|
@ -16,10 +16,9 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
|
@ -16,10 +16,9 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
|
@ -16,10 +16,9 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
|
@ -16,15 +16,14 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/absl/numeric/int128.cc"
|
||||
"/third_party/abseil-cpp/absl/numeric/int128.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
@ -16,15 +16,14 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/absl/strings/string_view.cc"
|
||||
"/third_party/abseil-cpp/absl/strings/string_view.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
@ -16,20 +16,19 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/absl/strings/ascii.cc",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/absl/strings/internal/damerau_levenshtein_distance.cc",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/absl/strings/internal/memutil.cc",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/absl/strings/internal/stringify_sink.cc",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/absl/strings/match.cc",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/absl/strings/str_split.cc"
|
||||
"/third_party/abseil-cpp/absl/strings/ascii.cc",
|
||||
"/third_party/abseil-cpp/absl/strings/internal/damerau_levenshtein_distance.cc",
|
||||
"/third_party/abseil-cpp/absl/strings/internal/memutil.cc",
|
||||
"/third_party/abseil-cpp/absl/strings/internal/stringify_sink.cc",
|
||||
"/third_party/abseil-cpp/absl/strings/match.cc",
|
||||
"/third_party/abseil-cpp/absl/strings/str_split.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
@ -16,15 +16,14 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_optional_access.cc"
|
||||
"/third_party/abseil-cpp/absl/types/bad_optional_access.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
@ -16,15 +16,14 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_variant_access.cc"
|
||||
"/third_party/abseil-cpp/absl/types/bad_variant_access.cc"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
@ -16,10 +16,9 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
|
@ -16,10 +16,9 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
|
@ -16,10 +16,9 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
|
@ -16,10 +16,9 @@ FINAL_LIBRARY = "xul"
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/libwebrtc/gen",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/libwebrtc/",
|
||||
"/third_party/libwebrtc/third_party/abseil-cpp/",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
|
151
third_party/abseil-cpp/absl_gn/moz.build
vendored
Normal file
151
third_party/abseil-cpp/absl_gn/moz.build
vendored
Normal file
@ -0,0 +1,151 @@
|
||||
# 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/.
|
||||
|
||||
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
COMPILE_FLAGS["OS_INCLUDES"] = []
|
||||
AllowCompilerWarnings()
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
"!/ipc/ipdl/_ipdlheaders",
|
||||
"!/third_party/abseil-cpp/gen",
|
||||
"/ipc/chromium/src",
|
||||
"/third_party/abseil-cpp/",
|
||||
"/tools/profiler/public"
|
||||
]
|
||||
|
||||
if not CONFIG["MOZ_DEBUG"]:
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
|
||||
DEFINES["NDEBUG"] = True
|
||||
DEFINES["NVALGRIND"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1":
|
||||
|
||||
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["ANDROID"] = True
|
||||
DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
|
||||
DEFINES["HAVE_SYS_UIO_H"] = True
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
|
||||
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_NSS_CERTS"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_UDEV"] = True
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["USE_GLIB"] = "1"
|
||||
DEFINES["USE_OZONE"] = "1"
|
||||
DEFINES["USE_X11"] = "1"
|
||||
DEFINES["_FILE_OFFSET_BITS"] = "64"
|
||||
DEFINES["_LARGEFILE64_SOURCE"] = True
|
||||
DEFINES["_LARGEFILE_SOURCE"] = True
|
||||
DEFINES["__STDC_CONSTANT_MACROS"] = True
|
||||
DEFINES["__STDC_FORMAT_MACROS"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
|
||||
DEFINES["NOMINMAX"] = True
|
||||
DEFINES["NTDDI_VERSION"] = "0x0A000000"
|
||||
DEFINES["PSAPI_VERSION"] = "2"
|
||||
DEFINES["UNICODE"] = True
|
||||
DEFINES["USE_AURA"] = "1"
|
||||
DEFINES["WIN32"] = True
|
||||
DEFINES["WIN32_LEAN_AND_MEAN"] = True
|
||||
DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
|
||||
DEFINES["WINVER"] = "0x0A00"
|
||||
DEFINES["_ATL_NO_OPENGL"] = True
|
||||
DEFINES["_CRT_RAND_S"] = True
|
||||
DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_HAS_EXCEPTIONS"] = "0"
|
||||
DEFINES["_HAS_NODISCARD"] = True
|
||||
DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
|
||||
DEFINES["_SECURE_ATL"] = True
|
||||
DEFINES["_UNICODE"] = True
|
||||
DEFINES["_WIN32_WINNT"] = "0x0A00"
|
||||
DEFINES["_WINDOWS"] = True
|
||||
DEFINES["__STD_C"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips32":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["TARGET_CPU"] == "mips64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
|
||||
|
||||
DEFINES["_DEBUG"] = True
|
||||
|
||||
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
|
||||
|
||||
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
|
||||
|
||||
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
|
||||
|
||||
DEFINES["USE_X11"] = "1"
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
OS_LIBS += [
|
||||
"unwind"
|
||||
]
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
|
||||
|
||||
DEFINES["_GNU_SOURCE"] = True
|
||||
|
||||
Library("absl_gn")
|
40
third_party/abseil-cpp/moz.build
vendored
Normal file
40
third_party/abseil-cpp/moz.build
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
# 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/.
|
||||
|
||||
|
||||
### This moz.build was AUTOMATICALLY GENERATED from a GN config, ###
|
||||
### DO NOT edit it by hand. ###
|
||||
|
||||
DIRS += [
|
||||
"/third_party/abseil-cpp/absl/algorithm/algorithm_gn",
|
||||
"/third_party/abseil-cpp/absl/algorithm/container_gn",
|
||||
"/third_party/abseil-cpp/absl/base/atomic_hook_gn",
|
||||
"/third_party/abseil-cpp/absl/base/base_internal_gn",
|
||||
"/third_party/abseil-cpp/absl/base/config_gn",
|
||||
"/third_party/abseil-cpp/absl/base/core_headers_gn",
|
||||
"/third_party/abseil-cpp/absl/base/log_severity_gn",
|
||||
"/third_party/abseil-cpp/absl/base/nullability_gn",
|
||||
"/third_party/abseil-cpp/absl/base/raw_logging_internal_gn",
|
||||
"/third_party/abseil-cpp/absl/base/throw_delegate_gn",
|
||||
"/third_party/abseil-cpp/absl/cleanup/cleanup_gn",
|
||||
"/third_party/abseil-cpp/absl/cleanup/cleanup_internal_gn",
|
||||
"/third_party/abseil-cpp/absl/container/compressed_tuple_gn",
|
||||
"/third_party/abseil-cpp/absl/container/inlined_vector_gn",
|
||||
"/third_party/abseil-cpp/absl/container/inlined_vector_internal_gn",
|
||||
"/third_party/abseil-cpp/absl/functional/any_invocable_gn",
|
||||
"/third_party/abseil-cpp/absl/functional/bind_front_gn",
|
||||
"/third_party/abseil-cpp/absl/memory/memory_gn",
|
||||
"/third_party/abseil-cpp/absl/meta/type_traits_gn",
|
||||
"/third_party/abseil-cpp/absl/numeric/bits_gn",
|
||||
"/third_party/abseil-cpp/absl/numeric/int128_gn",
|
||||
"/third_party/abseil-cpp/absl/strings/string_view_gn",
|
||||
"/third_party/abseil-cpp/absl/strings/strings_gn",
|
||||
"/third_party/abseil-cpp/absl/types/bad_optional_access_gn",
|
||||
"/third_party/abseil-cpp/absl/types/bad_variant_access_gn",
|
||||
"/third_party/abseil-cpp/absl/types/optional_gn",
|
||||
"/third_party/abseil-cpp/absl/types/span_gn",
|
||||
"/third_party/abseil-cpp/absl/types/variant_gn",
|
||||
"/third_party/abseil-cpp/absl/utility/utility_gn",
|
||||
"/third_party/abseil-cpp/absl_gn"
|
||||
]
|
Loading…
Reference in New Issue
Block a user