• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#  Copyright (c) 2020, The OpenThread Authors.
2#  All rights reserved.
3#
4#  Redistribution and use in source and binary forms, with or without
5#  modification, are permitted provided that the following conditions are met:
6#  1. Redistributions of source code must retain the above copyright
7#     notice, this list of conditions and the following disclaimer.
8#  2. Redistributions in binary form must reproduce the above copyright
9#     notice, this list of conditions and the following disclaimer in the
10#     documentation and/or other materials provided with the distribution.
11#  3. Neither the name of the copyright holder nor the
12#     names of its contributors may be used to endorse or promote products
13#     derived from this software without specific prior written permission.
14#
15#  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16#  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17#  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18#  ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
19#  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20#  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21#  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22#  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23#  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24#  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25#  POSSIBILITY OF SUCH DAMAGE.
26#
27
28import("../../etc/gn/openthread.gni")
29
30source_set("openthread_config") {
31  public = [ "config.h" ]
32
33  if (openthread_config_file != "") {
34    public_deps = openthread_config_deps
35  }
36
37  public_configs = [ "../..:openthread_config" ]
38}
39
40source_set("openthread") {
41  public = [
42    "backbone_router.h",
43    "backbone_router_ftd.h",
44    "border_agent.h",
45    "border_router.h",
46    "border_routing.h",
47    "channel_manager.h",
48    "channel_monitor.h",
49    "child_supervision.h",
50    "cli.h",
51    "coap.h",
52    "coap_secure.h",
53    "commissioner.h",
54    "config.h",
55    "crypto.h",
56    "dataset.h",
57    "dataset_ftd.h",
58    "dataset_updater.h",
59    "diag.h",
60    "dns.h",
61    "dns_client.h",
62    "dnssd_server.h",
63    "error.h",
64    "heap.h",
65    "history_tracker.h",
66    "icmp6.h",
67    "instance.h",
68    "ip6.h",
69    "jam_detection.h",
70    "joiner.h",
71    "link.h",
72    "link_metrics.h",
73    "link_raw.h",
74    "logging.h",
75    "message.h",
76    "multi_radio.h",
77    "nat64.h",
78    "ncp.h",
79    "netdata.h",
80    "netdata_publisher.h",
81    "netdiag.h",
82    "network_time.h",
83    "ping_sender.h",
84    "platform/alarm-micro.h",
85    "platform/alarm-milli.h",
86    "platform/crypto.h",
87    "platform/debug_uart.h",
88    "platform/diag.h",
89    "platform/dso_transport.h",
90    "platform/entropy.h",
91    "platform/flash.h",
92    "platform/infra_if.h",
93    "platform/logging.h",
94    "platform/memory.h",
95    "platform/messagepool.h",
96    "platform/misc.h",
97    "platform/otns.h",
98    "platform/radio.h",
99    "platform/settings.h",
100    "platform/spi-slave.h",
101    "platform/time.h",
102    "platform/toolchain.h",
103    "platform/trel.h",
104    "platform/udp.h",
105    "random_crypto.h",
106    "random_noncrypto.h",
107    "server.h",
108    "sntp.h",
109    "srp_client.h",
110    "srp_client_buffers.h",
111    "srp_server.h",
112    "tasklet.h",
113    "tcp.h",
114    "tcp_ext.h",
115    "thread.h",
116    "thread_ftd.h",
117    "trel.h",
118    "udp.h",
119  ]
120
121  public_deps = [ ":openthread_config" ]
122}
123