BUILD.gn 1.2 KB
Newer Older
C
chenxuihui 已提交
1 2 3 4 5 6 7 8 9 10 11
# Copyright (C) 2022 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
C
chenxuihui 已提交
12
# limitations under the License.
C
chenxuihui 已提交
13 14 15 16 17 18 19

import("//test/xts/tools/build/suite.gni")
module_output_path = "hits/hilogndktest"

config("hilogndktest_config") {
  visibility = [ ":*" ]
  include_dirs = [
C
chenxuihui 已提交
20
    "//base/hiviewdfx/hilog/interfaces/native/kits/include",
C
chenxuihui 已提交
21
    "//utils/native/base/include/",
C
chenxuihui 已提交
22 23 24 25 26 27 28
  ]
}
ohos_moduletest_suite("hilogndktest") {
  module_out_path = module_output_path
  sources = [ "hilogndktest.cpp" ]
  deps = [
    "//base/hiviewdfx/hilog/frameworks/hilog_ndk:hilog_ndk",
C
bugfix  
chenxuihui 已提交
29
    "//base/hiviewdfx/hilog/interfaces/native/kits:libhilog_ndk",
C
chenxuihui 已提交
30
    "//third_party/googletest:gtest_main",
J
jiyong_sd 已提交
31
    "//utils/native/base:utils",
C
chenxuihui 已提交
32 33 34
  ]
  configs = [ ":hilogndktest_config" ]
}