• 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/config/ohos/config.gni")
15import("//build/config/sanitizers/sanitizers.gni")
16import("//build/ohos.gni")
17
18declare_args() {
19  common_feature_verify = false
20}
21
22group("common_packages") {
23  if (device_name == "hi3516dv300") {
24    assert(common_feature_verify)
25  }
26  deps = [
27    "//third_party/giflib:libgif",
28    "//third_party/libpng:libpng",
29    "//third_party/sqlite:sqlite",
30    "//third_party/zlib:libz",
31  ]
32
33  deps += [ "musl:musl_install" ]
34
35  if (is_asan) {
36    deps += [
37      "asan:asan.cfg",
38      "asan:asan.options",
39      "asan:asan_image_conf",
40      "asan:libclang_rt.asan.so",
41    ]
42  }
43
44  # global subsystem's configuration
45  deps += [
46    "//third_party/icu/icu4c:ohos_icudat",
47    "//third_party/icu/icu4c:shared_icui18n",
48    "//third_party/icu/icu4c:shared_icuuc",
49    "//third_party/libphonenumber/cpp:phonenumber_standard",
50    "//third_party/protobuf/src:protobuf_standard",
51  ]
52}
53