• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2022 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14import("//build/ohos.gni")
15
16ohos_static_library("media_engine_dfx") {
17  sources = [ "engine_dump_manager.cpp" ]
18
19  include_dirs = [
20    ".",
21    "//commonlibrary/c_utils/base/include",
22    "//foundation/multimedia/player_framework/interfaces/inner_api/native",
23    "//foundation/multimedia/player_framework/services/dfx",
24    "//third_party/glib/glibmemdfx",
25  ]
26
27  cflags = [
28    "-std=c++17",
29    "-fno-rtti",
30    "-fno-exceptions",
31    "-Wall",
32    "-fno-common",
33    "-fstack-protector-strong",
34    "-Wshadow",
35    "-FPIC",
36    "-FS",
37    "-O2",
38    "-D_FORTIFY_SOURCE=2",
39    "-fvisibility=hidden",
40    "-Wformat=2",
41    "-Wfloat-equal",
42    "-Wdate-time",
43    "-Werror",
44    "-Wextra",
45    "-Wimplicit-fallthrough",
46    "-Wsign-compare",
47    "-Wunused-parameter",
48  ]
49
50  deps = [
51    "//foundation/multimedia/player_framework/services/dfx:media_service_dfx",
52    "//third_party/glib:g_mem_dfx",
53  ]
54  subsystem_name = "multimedia"
55  part_name = "multimedia_player_framework"
56}
57