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#OHOS_PROFILER_DIR="//developtools/profiler" 14native_daemon_path = "//developtools/profiler/device/plugins/native_daemon" 15 16declare_args() { 17 native_daemon_target_host = false 18 native_daemon_target_static = false 19 native_daemon_test_coverage = false 20 native_daemon_sanitize = false 21 native_daemon_check_time = false 22} 23 24code_check_flag = [ 25 "-fexceptions", 26 "-Wformat", 27 "-Wall", 28 "-Werror", 29 "-Wmissing-field-initializers", 30 "-Wuninitialized", 31 "-Wunused-parameter", 32 "-Wunused-variable", 33 "-Wnull-pointer-arithmetic", 34 "-Wunused-lambda-capture", 35 "-Wuser-defined-warnings", 36 "-Wenum-compare-switch", 37 "-Wunneeded-internal-declaration", 38 "-Wundefined-var-template", 39 "-Wnonportable-include-path", 40 "-Wformat-extra-args", 41 "-Wsign-compare", 42] 43