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
14# Copyright (c) 2023 Huawei Device Co., Ltd.
15# Licensed under the Apache License, Version 2.0 (the "License");
16# you may not use this file except in compliance with the License.
17# You may obtain a copy of the License at
18#
19#     http://www.apache.org/licenses/LICENSE-2.0
20#
21# Unless required by applicable law or agreed to in writing, software
22# distributed under the License is distributed on an "AS IS" BASIS,
23# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24# See the License for the specific language governing permissions and
25# limitations under the License.
26
27default_compiler_configs =
28    [ "//build/config/compiler/lite/clang:clang_compiler_configs" ]
29
30default_shared_library_configs =
31    [ "//build/config/compiler/lite/clang:clang_shared_library_configs" ]
32default_shared_library_configs += [
33  "//build/lite/config:language_c",
34  "//build/lite/config:clang_opt",
35  "//build/lite/config:language_cpp",
36  "//build/config/sanitizers:default_sanitizer_flags",
37]
38
39default_static_library_configs =
40    [ "//build/config/compiler/lite/clang:clang_static_library_configs" ]
41default_static_library_configs += [
42  "//build/lite/config:language_c",
43  "//build/lite/config:clang_opt",
44  "//build/lite/config:language_cpp",
45  "//build/config/sanitizers:default_sanitizer_flags",
46]
47
48default_executable_configs =
49    [ "//build/config/compiler/lite/clang:clang_executable_configs" ]
50default_executable_configs += [
51  "//build/lite/config:language_c",
52  "//build/lite/config:clang_opt",
53  "//build/lite/config:language_cpp",
54  "//build/config/sanitizers:default_sanitizer_flags",
55]
56