1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 BUG_COMPONENT = ("Toolkit", "General")
11 "content_analysis/sdk/analysis.pb.cc",
12 "ContentAnalysis.cpp",
16 "../../../third_party/content_analysis_sdk/browser/src/client_base.cc",
19 EXPORTS += ["ContentAnalysis.h"]
21 EXPORTS.mozilla.contentanalysis += [
22 "ContentAnalysisIPCTypes.h",
25 if CONFIG["OS_ARCH"] == "WINNT":
27 "../../../third_party/content_analysis_sdk/browser/src/client_win.cc",
28 "../../../third_party/content_analysis_sdk/common/utils_win.cc",
30 elif CONFIG["OS_ARCH"] == "Darwin":
32 "../../../third_party/content_analysis_sdk/browser/src/client_mac.cc",
36 "../../../third_party/content_analysis_sdk/browser/src/client_posix.cc",
40 "../../../third_party/content_analysis_sdk",
41 "../../../third_party/content_analysis_sdk/browser/include",
42 "content_analysis/sdk/",
46 "nsIContentAnalysis.idl",
49 XPIDL_MODULE = "toolkit_contentanalysis"
55 include("/ipc/chromium/chromium-config.mozbuild")
57 DEFINES["GOOGLE_PROTOBUF_NO_RTTI"] = True
58 DEFINES["GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER"] = True
62 TEST_DIRS += ["tests"]