diff --git a/display_server/frameworks/fence/ft_build/BUILD.gn b/display_server/frameworks/fence/ft_build/BUILD.gn new file mode 100755 index 0000000000000000000000000000000000000000..5dde75755cfd4c6922dae4605765cb0ae0a2ef8b --- /dev/null +++ b/display_server/frameworks/fence/ft_build/BUILD.gn @@ -0,0 +1,33 @@ +# Copyright (c) 2023 Huawei Technologies Co., Ltd. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import("//build/gn/fangtian.gni") + +config("fence_config") { + visibility = [ ":*" ] + include_dirs = [ "../include" ] + cflags = [ + "-Wall", + "-Werror", + "-g3", + ] +} + +ft_shared_library("libfence") { + sources = [ "../src/fence.cpp" ] + configs = [ + ":fence_config", + "//build/gn/configs/system_libs:hilog_config", + "//build/gn/configs/system_libs:c_utils_config" + ] +} \ No newline at end of file