1# Copyright (c) Huawei Technologies Co., Ltd. 2021. All rights reserved.
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"
15declare_args() {
16  native_daemon_target_host = false
17  native_daemon_target_static = false
18  native_daemon_test_coverage = false
19  native_daemon_sanitize = false
20  native_daemon_check_time = false
21}
22
23code_check_flag = [
24  "-fexceptions",
25  "-Wformat",
26  "-Wall",
27  "-Werror",
28  "-Wmissing-field-initializers",
29  "-Wuninitialized",
30  "-Wno-unused-parameter",
31  "-Wunused-variable",
32  "-Wnull-pointer-arithmetic",
33  "-Wunused-lambda-capture",
34  "-Wuser-defined-warnings",
35  "-Wenum-compare-switch",
36  "-Wunneeded-internal-declaration",
37  "-Wundefined-var-template",
38  "-Wnonportable-include-path",
39  "-Wformat-extra-args",
40  "-Wsign-compare",
41]
42