• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright (C) 2019 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17package {
18    default_visibility: ["//visibility:private"],
19}
20
21cc_library_static {
22    name: "libopencsd_decoder",
23    host_supported: true,
24    visibility: [
25        "//cts/tests/tests/simpleperf",
26        "//system/extras/simpleperf",
27    ],
28    export_include_dirs: ["decoder/include"],
29
30    cppflags: [
31        "-Wno-ignored-qualifiers",
32        "-Wno-unused-parameter",
33        "-Wno-switch",
34        "-Wno-unused-private-field",
35        "-Wno-implicit-fallthrough",
36        "-Wno-constant-logical-operand",
37        "-fexceptions",
38    ],
39    rtti: true,
40
41    target: {
42        windows: {
43            enabled: true,
44        },
45    },
46
47    srcs: [
48        "decoder/source/*.cpp",
49        "decoder/source/etmv3/*.cpp",
50        "decoder/source/etmv4/*.cpp",
51        "decoder/source/i_dec/*.cpp",
52        "decoder/source/mem_acc/*.cpp",
53        "decoder/source/pkt_printers/*.cpp",
54        "decoder/source/ptm/*.cpp",
55        "decoder/source/stm/*.cpp",
56    ],
57}
58