Bug 1862066: Fix line endings in contentanalysis/moz.build r=gstoll
No changes beyond using correct line endings. Differential Revision: https://phabricator.services.mozilla.com/D203333
This commit is contained in:
@@ -1,62 +1,62 @@
|
|||||||
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||||
# vim: set filetype=python:
|
# vim: set filetype=python:
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# 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
|
# 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/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
with Files("**"):
|
with Files("**"):
|
||||||
BUG_COMPONENT = ("Toolkit", "General")
|
BUG_COMPONENT = ("Toolkit", "General")
|
||||||
|
|
||||||
UNIFIED_SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
"content_analysis/sdk/analysis.pb.cc",
|
"content_analysis/sdk/analysis.pb.cc",
|
||||||
"ContentAnalysis.cpp",
|
"ContentAnalysis.cpp",
|
||||||
]
|
]
|
||||||
|
|
||||||
UNIFIED_SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
"../../../third_party/content_analysis_sdk/browser/src/client_base.cc",
|
"../../../third_party/content_analysis_sdk/browser/src/client_base.cc",
|
||||||
]
|
]
|
||||||
|
|
||||||
EXPORTS += ["ContentAnalysis.h"]
|
EXPORTS += ["ContentAnalysis.h"]
|
||||||
|
|
||||||
EXPORTS.mozilla.contentanalysis += [
|
EXPORTS.mozilla.contentanalysis += [
|
||||||
"ContentAnalysisIPCTypes.h",
|
"ContentAnalysisIPCTypes.h",
|
||||||
]
|
]
|
||||||
|
|
||||||
if CONFIG["OS_ARCH"] == "WINNT":
|
if CONFIG["OS_ARCH"] == "WINNT":
|
||||||
UNIFIED_SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
"../../../third_party/content_analysis_sdk/browser/src/client_win.cc",
|
"../../../third_party/content_analysis_sdk/browser/src/client_win.cc",
|
||||||
"../../../third_party/content_analysis_sdk/common/utils_win.cc",
|
"../../../third_party/content_analysis_sdk/common/utils_win.cc",
|
||||||
]
|
]
|
||||||
elif CONFIG["OS_ARCH"] == "Darwin":
|
elif CONFIG["OS_ARCH"] == "Darwin":
|
||||||
UNIFIED_SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
"../../../third_party/content_analysis_sdk/browser/src/client_mac.cc",
|
"../../../third_party/content_analysis_sdk/browser/src/client_mac.cc",
|
||||||
]
|
]
|
||||||
else:
|
else:
|
||||||
UNIFIED_SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
"../../../third_party/content_analysis_sdk/browser/src/client_posix.cc",
|
"../../../third_party/content_analysis_sdk/browser/src/client_posix.cc",
|
||||||
]
|
]
|
||||||
|
|
||||||
LOCAL_INCLUDES += [
|
LOCAL_INCLUDES += [
|
||||||
"../../../third_party/content_analysis_sdk",
|
"../../../third_party/content_analysis_sdk",
|
||||||
"../../../third_party/content_analysis_sdk/browser/include",
|
"../../../third_party/content_analysis_sdk/browser/include",
|
||||||
"content_analysis/sdk/",
|
"content_analysis/sdk/",
|
||||||
]
|
]
|
||||||
|
|
||||||
XPIDL_SOURCES += [
|
XPIDL_SOURCES += [
|
||||||
"nsIContentAnalysis.idl",
|
"nsIContentAnalysis.idl",
|
||||||
]
|
]
|
||||||
|
|
||||||
XPIDL_MODULE = "toolkit_contentanalysis"
|
XPIDL_MODULE = "toolkit_contentanalysis"
|
||||||
|
|
||||||
XPCOM_MANIFESTS += [
|
XPCOM_MANIFESTS += [
|
||||||
"components.conf",
|
"components.conf",
|
||||||
]
|
]
|
||||||
|
|
||||||
include("/ipc/chromium/chromium-config.mozbuild")
|
include("/ipc/chromium/chromium-config.mozbuild")
|
||||||
|
|
||||||
DEFINES["GOOGLE_PROTOBUF_NO_RTTI"] = True
|
DEFINES["GOOGLE_PROTOBUF_NO_RTTI"] = True
|
||||||
DEFINES["GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER"] = True
|
DEFINES["GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER"] = True
|
||||||
|
|
||||||
FINAL_LIBRARY = "xul"
|
FINAL_LIBRARY = "xul"
|
||||||
|
|
||||||
TEST_DIRS += ["tests"]
|
TEST_DIRS += ["tests"]
|
||||||
|
|||||||
Reference in New Issue
Block a user