xref: /ide/tools/previewer/gn/config.gni (revision 7c804472)
17c804472Sopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd.
27c804472Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
37c804472Sopenharmony_ci# you may not use this file except in compliance with the License.
47c804472Sopenharmony_ci# You may obtain a copy of the License at
57c804472Sopenharmony_ci#
67c804472Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
77c804472Sopenharmony_ci#
87c804472Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
97c804472Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
107c804472Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
117c804472Sopenharmony_ci# See the License for the specific language governing permissions and
127c804472Sopenharmony_ci# limitations under the License.
137c804472Sopenharmony_ci
147c804472Sopenharmony_ciplatform = "${current_os}_${current_cpu}"
157c804472Sopenharmony_ciif (platform == "mac_arm64") {
167c804472Sopenharmony_ci  mac_buildtool = "//build/toolchain/mac:clang_arm64"
177c804472Sopenharmony_ci} else if (platform == "mac_x64") {
187c804472Sopenharmony_ci  mac_buildtool = "//build/toolchain/mac:clang_x64"
197c804472Sopenharmony_ci}
207c804472Sopenharmony_ciwindows_buildtool = "//build/toolchain/mingw:mingw_x86_64"
217c804472Sopenharmony_cilinux_buildtool = "//build/toolchain/linux:clang_${host_cpu}"
227c804472Sopenharmony_ciace_root = "//foundation/arkui/ace_engine"
237c804472Sopenharmony_ciflutter_root = "//third_party/flutter"
247c804472Sopenharmony_cios_include_dirs = [
257c804472Sopenharmony_ci  "$ace_root",
267c804472Sopenharmony_ci  "$ace_root/adapter/preview/entrance",
277c804472Sopenharmony_ci  "$ace_root/frameworks",
287c804472Sopenharmony_ci  "$ace_root/frameworks/base/utils",
297c804472Sopenharmony_ci  "$ace_root/frameworks/core/event",
307c804472Sopenharmony_ci  "$flutter_root/engine",
317c804472Sopenharmony_ci  "$flutter_root/engine/flutter/shell/platform/common/cpp/public",
327c804472Sopenharmony_ci  "$flutter_root/engine/ace_adapter/flutter/shell/platform/glfw/public",
337c804472Sopenharmony_ci  "$ace_root/frameworks/core/common",
347c804472Sopenharmony_ci  "$ace_root/frameworks/core/common/clipboard",
357c804472Sopenharmony_ci  "$ace_root/adapter/preview/entrance/clipboard",
367c804472Sopenharmony_ci  "$ace_root/interfaces/inner_api/ace",
377c804472Sopenharmony_ci  "//foundation/graphic/graphic_2d/rosen/modules/platform/utils",
387c804472Sopenharmony_ci]
39