• 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/sanitizers/sanitizers.gni")
15import("//build/ohos/ndk/ndk.gni")
16import("//build/ohos/notice/notice.gni")
17import("//build/ohos/sa_profile/sa_profile.gni")
18import("//build/ohos_var.gni")
19import("//build/toolchain/toolchain.gni")
20
21# import cxx base templates
22import("//build/templates/cxx/cxx.gni")
23if (support_jsapi) {
24  import("//build/ohos/ace/ace.gni")
25  import("//build/ohos/app/app.gni")
26}
27
28import("//build/templates/common/ohos_templates.gni")
29
30# import prebuilt templates
31import("//build/templates/cxx/prebuilt.gni")
32if (is_arkui_x) {
33  import("//build_plugins/templates/java/rules.gni")
34} else {
35  import("//build/templates/bpf/ohos_bpf.gni")
36  import("//build/templates/rust/ohos_cargo_crate.gni")
37  import("//build/templates/rust/rust_bindgen.gni")
38  import("//build/templates/rust/rust_cxx.gni")
39  import("//build/templates/rust/rust_template.gni")
40}
41
42import("//build/templates/idl/ohos_idl.gni")
43