• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021 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/test.gni")
15
16module_output_path = "i18n/zone_util_test"
17
18ohos_unittest("zone_util_test") {
19  module_out_path = module_output_path
20
21  sources = [
22    "//third_party/googletest/googletest/src/gtest-death-test.cc",
23    "//third_party/googletest/googletest/src/gtest-filepath.cc",
24    "//third_party/googletest/googletest/src/gtest-port.cc",
25    "//third_party/googletest/googletest/src/gtest-printers.cc",
26    "//third_party/googletest/googletest/src/gtest-test-part.cc",
27    "//third_party/googletest/googletest/src/gtest-typed-test.cc",
28    "//third_party/googletest/googletest/src/gtest.cc",
29    "//third_party/googletest/googletest/src/gtest_main.cc",
30    "//third_party/googletest/googletest/src/hwext/gtest-ext.cc",
31    "//third_party/googletest/googletest/src/hwext/gtest-filter.cc",
32    "//third_party/googletest/googletest/src/hwext/gtest-tag.cc",
33    "//third_party/googletest/googletest/src/hwext/gtest-utils.cc",
34    "unittest/zone_util_test.cpp",
35  ]
36  include_dirs = [
37    "//third_party/googletest/googletest/include",
38    "//third_party/googletest/googletest",
39    "//base/global/i18n/interfaces/native/inner_api/zone/include",
40    "//third_party/icu/icu4c/source/common/unicode",
41    "//third_party/icu/icu4c/source/common",
42    "//third_party/libphonenumber/cpp/src",
43    "//third_party/protobuf/src",
44    "//third_party/protobuf/src/google",
45    "//third_party/protobuf/src/google/protobuf",
46  ]
47  deps = [
48    "//base/global/i18n/frameworks/zone:zone_util",
49    "//third_party/libphonenumber/cpp:phonenumber_standard",
50  ]
51  external_deps = [ "c_utils:utils" ]
52}
53