summaryrefslogtreecommitdiffstats
path: root/toolkit/components/contentanalysis/tests/gtest/agent/moz.build
blob: 71a3a029ed421425570c88e49c258855aa48bcec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# 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("content_analysis_sdk_agent")

DEFINES["UNICODE"] = True
DEFINES["GOOGLE_PROTOBUF_NO_RTTI"] = True
DEFINES["GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER"] = True

SOURCES += [
    "../../../../../../third_party/content_analysis_sdk/agent/src/agent_base.cc",
    "../../../../../../third_party/content_analysis_sdk/agent/src/agent_utils_win.cc",
    "../../../../../../third_party/content_analysis_sdk/agent/src/agent_win.cc",
    "../../../../../../third_party/content_analysis_sdk/agent/src/event_base.cc",
    "../../../../../../third_party/content_analysis_sdk/agent/src/event_win.cc",
    "../../../../../../third_party/content_analysis_sdk/agent/src/scoped_print_handle_base.cc",
    "../../../../../../third_party/content_analysis_sdk/agent/src/scoped_print_handle_win.cc",
    "../../../../../../third_party/content_analysis_sdk/common/utils_win.cc",
    "../../../../../../third_party/content_analysis_sdk/demo/agent.cc",
    "../../../content_analysis/sdk/analysis.pb.cc",
]

LOCAL_INCLUDES += [
    "../../../",
    "../../../../../../third_party/content_analysis_sdk",
    "../../../../../../third_party/content_analysis_sdk/agent/include/",
]

USE_LIBS += [
    "mozglue",
    "protobuf",
    "zlib",
]

OS_LIBS += [
    "advapi32",
]