• 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("//foundation/graphic/graphic_2d/graphic_config.gni")
15import("//test/xts/tools/build/suite.gni")
16
17module_output_path = "hit/ActsGraphicVulkanTest"
18
19###############################################################################
20
21ohos_moduletest_suite("ActsGraphicVulkanTest") {
22  module_out_path = module_output_path
23  subsystem_name = "graphic"
24  part_name = "graphic_2d"
25  comPath = "../../../../../foundation/graphic/graphic_2d"
26
27  sources = [ "VulkanTest.cpp" ]
28
29  cflags = [
30    "-Wall",
31    "-Werror",
32    "-g3",
33    "-Dprivate=public",
34    "-Dprotected=public",
35  ]
36
37  deps = [
38    "$comPath/frameworks/surface:surface",
39    "$comPath/rosen/modules/2d_graphics:2d_graphics",
40    "$comPath/rosen/modules/render_service_base:librender_service_base",
41    "$comPath/rosen/modules/render_service_client:librender_service_client",
42    "$comPath/utils:libgraphic_utils",
43    "//third_party/googletest:gtest_main",
44    "//third_party/vulkan-headers:vulkan_headers",
45    "//third_party/zlib:libz",
46  ]
47
48  include_dirs = [
49    "$comPath/frameworks/surface/include",
50    "$comPath/interfaces/inner_api/surface",
51    "$comPath/interfaces/inner_api/common",
52    "$comPath/rosen/modules/render_service_client",
53  ]
54
55  external_deps = [
56    "c_utils:utils",
57    "hilog:libhilog",
58  ]
59}
60