blob: 4dad302e869dcf1322e16443ae35d33d0eb19dbd [file] [log] [blame]
Alexei Frolovd0b2d482019-12-04 11:06:23 -08001# Copyright 2019 The Pigweed Authors
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may not
4# use this file except in compliance with the License. You may obtain a copy of
5# the License at
6#
7# https://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations under
13# the License.
14
Alexei Frolov300dcea2019-12-23 13:33:59 -080015import("$dir_pw_build/go.gni")
Alexei Frolovca9cf602019-12-26 13:00:03 -080016import("$dir_pw_build/host_tool.gni")
Alexei Frolovd0b2d482019-12-04 11:06:23 -080017import("$dir_pw_docgen/docs.gni")
18
19pw_doc_group("docs") {
20 sources = [
21 "docs.rst",
22 ]
23}
Alexei Frolov300dcea2019-12-23 13:33:59 -080024
Alexei Frolovca9cf602019-12-26 13:00:03 -080025pw_go_executable("pw_target_runner_client") {
Alexei Frolov300dcea2019-12-23 13:33:59 -080026 deps = [
27 "src/pigweed.dev/pw_target_runner_client",
28 ]
29 package = "pigweed.dev/pw_target_runner_client"
30}
31
Alexei Frolovca9cf602019-12-26 13:00:03 -080032pw_go_executable("pw_target_runner_server") {
Alexei Frolov300dcea2019-12-23 13:33:59 -080033 deps = [
34 "src/pigweed.dev/pw_target_runner_server",
35 ]
36 package = "pigweed.dev/pw_target_runner_server"
37}
Alexei Frolovca9cf602019-12-26 13:00:03 -080038
39pw_host_tool("simple_client") {
40 deps = [
41 ":pw_target_runner_client",
42 ]
43}
44
45pw_host_tool("simple_server") {
46 deps = [
47 ":pw_target_runner_server",
48 ]
49}