1# Copyright (c) 2023 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 14platform = "${current_os}_${current_cpu}" 15if (platform == "mac_arm64") { 16 mac_buildtool = "//build/toolchain/mac:clang_arm64" 17} else if (platform == "mac_x64") { 18 mac_buildtool = "//build/toolchain/mac:clang_x64" 19} 20windows_buildtool = "//build/toolchain/mingw:mingw_x86_64" 21linux_buildtool = "//build/toolchain/linux:clang_x64" 22ace_root = "//foundation/arkui/ace_engine" 23flutter_root = "//third_party/flutter" 24os_include_dirs = [ 25 "$ace_root", 26 "$ace_root/adapter/preview/entrance", 27 "$ace_root/frameworks", 28 "$ace_root/frameworks/base/utils", 29 "$ace_root/frameworks/core/event", 30 "$flutter_root/engine", 31 "$flutter_root/engine/flutter/shell/platform/common/cpp/public", 32 "$flutter_root/engine/ace_adapter/flutter/shell/platform/glfw/public", 33 "$ace_root/frameworks/core/common", 34 "$ace_root/frameworks/core/common/clipboard", 35 "$ace_root/adapter/preview/entrance/clipboard", 36 "$ace_root/interfaces/inner_api/ace", 37 "//foundation/graphic/graphic_2d/rosen/modules/platform/utils", 38] 39