• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
14import("//build/lite/config/component/lite_component.gni")
15import("//foundation/communication/dsoftbus/dsoftbus.gni")
16
17config("stream_test") {
18  defines = [ "FILLP_LINUX" ]
19}
20
21executable("dstream_adaptor_server_test") {
22  configs += [ ":stream_test" ]
23  sources = [ "dstream_adaptor_server_test.c" ]
24  include_dirs = [
25    "//third_party/bounds_checking_function/include",
26    "$dsoftbus_root_path/interfaces/kits/transport",
27  ]
28
29  cflags = [
30    "-Wall",
31    "-std=c99",
32  ]
33
34  deps = [
35    "${dsoftbus_root_path}/sdk:softbus_client",
36    "//third_party/bounds_checking_function:libsec_shared",
37  ]
38}
39
40executable("dstream_adaptor_client_test") {
41  configs += [ ":stream_test" ]
42  sources = [ "dstream_adaptor_client_test.c" ]
43  include_dirs = [
44    "//third_party/bounds_checking_function/include",
45    "$dsoftbus_root_path/interfaces/kits/transport",
46  ]
47  cflags = [
48    "-Wall",
49    "-std=c99",
50  ]
51
52  deps = [
53    "${dsoftbus_root_path}/sdk:softbus_client",
54    "//third_party/bounds_checking_function:libsec_shared",
55  ]
56}
57