Yabin Cui | 6ccb3a3 | 2019-07-24 13:04:01 -0700 | [diff] [blame] | 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 | |
| 17 | package { |
| 18 | default_visibility: ["//visibility:private"], |
| 19 | } |
| 20 | |
| 21 | cc_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", |
Haibo Huang | 1923c1b | 2020-03-31 22:38:18 +0000 | [diff] [blame] | 36 | "-Wno-constant-logical-operand", |
Yabin Cui | 6ccb3a3 | 2019-07-24 13:04:01 -0700 | [diff] [blame] | 37 | "-fexceptions", |
| 38 | ], |
| 39 | rtti: true, |
| 40 | |
| 41 | target: { |
| 42 | windows: { |
| 43 | enabled: true, |
| 44 | }, |
| 45 | }, |
| 46 | |
| 47 | srcs: [ |
Haibo Huang | 1923c1b | 2020-03-31 22:38:18 +0000 | [diff] [blame] | 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", |
Yabin Cui | 6ccb3a3 | 2019-07-24 13:04:01 -0700 | [diff] [blame] | 56 | ], |
Haibo Huang | 1923c1b | 2020-03-31 22:38:18 +0000 | [diff] [blame] | 57 | } |