aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
blob: a2c80531acc3dc86a623d12afe74274c446bf2e1 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
//
// Copyright © 2017 ARM Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//

////////////////////////////////////////////
//                                        //
//           static boost libs            //
//                                        //
////////////////////////////////////////////
cc_defaults {
    name: "libboost-defaults",
    proprietary: true,
    export_include_dirs: ["boost_1_64_0"],
    cflags: [
        "-O3",
        "-fexceptions",
        "-Wno-unused-parameter",
        "-DBOOST_NO_AUTO_PTR"
    ],
    cppflags: [
        "-std=c++14"
    ],
    rtti: true,
}

cc_library_static {
    name: "libboost_log",
    defaults: ["libboost-defaults"],
    srcs: [
        "boost_1_64_0/libs/log/src/attribute_name.cpp",
        "boost_1_64_0/libs/log/src/default_sink.cpp",
        "boost_1_64_0/libs/log/src/global_logger_storage.cpp",
        "boost_1_64_0/libs/log/src/record_ostream.cpp",
        "boost_1_64_0/libs/log/src/thread_id.cpp",
        "boost_1_64_0/libs/log/src/attribute_set.cpp",
        "boost_1_64_0/libs/log/src/named_scope.cpp",
        "boost_1_64_0/libs/log/src/severity_level.cpp",
        "boost_1_64_0/libs/log/src/threadsafe_queue.cpp",
        "boost_1_64_0/libs/log/src/attribute_value_set.cpp",
        "boost_1_64_0/libs/log/src/dump.cpp",
        "boost_1_64_0/libs/log/src/named_scope_format_parser.cpp",
        "boost_1_64_0/libs/log/src/spirit_encoding.cpp",
        "boost_1_64_0/libs/log/src/thread_specific.cpp",
        "boost_1_64_0/libs/log/src/code_conversion.cpp",
        "boost_1_64_0/libs/log/src/once_block.cpp",
        "boost_1_64_0/libs/log/src/syslog_backend.cpp",
        "boost_1_64_0/libs/log/src/timer.cpp",
        "boost_1_64_0/libs/log/src/core.cpp",
        "boost_1_64_0/libs/log/src/event.cpp",
        "boost_1_64_0/libs/log/src/permissions.cpp",
        "boost_1_64_0/libs/log/src/text_file_backend.cpp",
        "boost_1_64_0/libs/log/src/timestamp.cpp",
        "boost_1_64_0/libs/log/src/date_time_format_parser.cpp",
        "boost_1_64_0/libs/log/src/exceptions.cpp",
        "boost_1_64_0/libs/log/src/process_id.cpp",
        "boost_1_64_0/libs/log/src/text_multifile_backend.cpp",
        "boost_1_64_0/libs/log/src/trivial.cpp",
        "boost_1_64_0/libs/log/src/default_attribute_names.cpp",
        "boost_1_64_0/libs/log/src/format_parser.cpp",
        "boost_1_64_0/libs/log/src/process_name.cpp",
        "boost_1_64_0/libs/log/src/text_ostream_backend.cpp",
        "boost_1_64_0/libs/log/src/unhandled_exception_count.cpp",
    ],
}
cc_library_static {
    name: "libboost_system",
    defaults: ["libboost-defaults"],
    srcs: [ "boost_1_64_0/libs/system/src/error_code.cpp", ],
}

cc_library_static {
    name: "libboost_thread",
    defaults: ["libboost-defaults"],
    srcs: [
        "boost_1_64_0/libs/thread/src/pthread/thread.cpp",
        "boost_1_64_0/libs/thread/src/pthread/once_atomic.cpp",
        "boost_1_64_0/libs/thread/src/pthread/once.cpp",
        "boost_1_64_0/libs/thread/src/future.cpp",
        "boost_1_64_0/libs/thread/src/tss_null.cpp",
    ],
}

cc_library_static {
    name: "libboost_unit_test_framework",
    defaults: ["libboost-defaults"],
    srcs: [
        "boost_1_64_0/libs/test/src/compiler_log_formatter.cpp",
        "boost_1_64_0/libs/test/src/framework.cpp",
        "boost_1_64_0/libs/test/src/results_reporter.cpp",
        "boost_1_64_0/libs/test/src/unit_test_main.cpp",
        "boost_1_64_0/libs/test/src/cpp_main.cpp",
        "boost_1_64_0/libs/test/src/junit_log_formatter.cpp",
        "boost_1_64_0/libs/test/src/test_main.cpp",
        "boost_1_64_0/libs/test/src/unit_test_monitor.cpp",
        "boost_1_64_0/libs/test/src/debug.cpp",
        "boost_1_64_0/libs/test/src/plain_report_formatter.cpp",
        "boost_1_64_0/libs/test/src/test_tools.cpp",
        "boost_1_64_0/libs/test/src/unit_test_parameters.cpp",
        "boost_1_64_0/libs/test/src/decorator.cpp",
        "boost_1_64_0/libs/test/src/progress_monitor.cpp",
        "boost_1_64_0/libs/test/src/test_tree.cpp",
        "boost_1_64_0/libs/test/src/xml_log_formatter.cpp",
        "boost_1_64_0/libs/test/src/execution_monitor.cpp",
        "boost_1_64_0/libs/test/src/results_collector.cpp",
        "boost_1_64_0/libs/test/src/unit_test_log.cpp",
        "boost_1_64_0/libs/test/src/xml_report_formatter.cpp",
    ],
}

cc_library_static {
    name: "libboost_program_options",
    defaults: ["libboost-defaults"],
    srcs: [
        "boost_1_64_0/libs/program_options/src/cmdline.cpp",
        "boost_1_64_0/libs/program_options/src/config_file.cpp",
        "boost_1_64_0/libs/program_options/src/convert.cpp",
        "boost_1_64_0/libs/program_options/src/options_description.cpp",
        "boost_1_64_0/libs/program_options/src/parsers.cpp",
        "boost_1_64_0/libs/program_options/src/positional_options.cpp",
        "boost_1_64_0/libs/program_options/src/split.cpp",
        "boost_1_64_0/libs/program_options/src/utf8_codecvt_facet.cpp",
        "boost_1_64_0/libs/program_options/src/value_semantic.cpp",
        "boost_1_64_0/libs/program_options/src/variables_map.cpp",
        "boost_1_64_0/libs/program_options/src/winmain.cpp",
    ],
}

cc_library_static {
    name: "libboost_filesystem",
    defaults: ["libboost-defaults"],
    srcs: [
        "boost_1_64_0/libs/filesystem/src/codecvt_error_category.cpp",
        "boost_1_64_0/libs/filesystem/src/operations.cpp",
        "boost_1_64_0/libs/filesystem/src/path.cpp",
        "boost_1_64_0/libs/filesystem/src/path_traits.cpp",
        "boost_1_64_0/libs/filesystem/src/portability.cpp",
        "boost_1_64_0/libs/filesystem/src/unique_path.cpp",
        "boost_1_64_0/libs/filesystem/src/utf8_codecvt_facet.cpp",
        "boost_1_64_0/libs/filesystem/src/windows_file_codecvt.cpp",
    ],
}

subdirs = [
    "armnn",
]