Alexei Frolov | d0b2d48 | 2019-12-04 11:06:23 -0800 | [diff] [blame] | 1 | # 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 Frolov | 300dcea | 2019-12-23 13:33:59 -0800 | [diff] [blame] | 15 | import("$dir_pw_build/go.gni") |
Alexei Frolov | ca9cf60 | 2019-12-26 13:00:03 -0800 | [diff] [blame] | 16 | import("$dir_pw_build/host_tool.gni") |
Alexei Frolov | d0b2d48 | 2019-12-04 11:06:23 -0800 | [diff] [blame] | 17 | import("$dir_pw_docgen/docs.gni") |
| 18 | |
| 19 | pw_doc_group("docs") { |
| 20 | sources = [ |
| 21 | "docs.rst", |
| 22 | ] |
| 23 | } |
Alexei Frolov | 300dcea | 2019-12-23 13:33:59 -0800 | [diff] [blame] | 24 | |
Alexei Frolov | ca9cf60 | 2019-12-26 13:00:03 -0800 | [diff] [blame] | 25 | pw_go_executable("pw_target_runner_client") { |
Alexei Frolov | 300dcea | 2019-12-23 13:33:59 -0800 | [diff] [blame] | 26 | deps = [ |
| 27 | "src/pigweed.dev/pw_target_runner_client", |
| 28 | ] |
| 29 | package = "pigweed.dev/pw_target_runner_client" |
| 30 | } |
| 31 | |
Alexei Frolov | ca9cf60 | 2019-12-26 13:00:03 -0800 | [diff] [blame] | 32 | pw_go_executable("pw_target_runner_server") { |
Alexei Frolov | 300dcea | 2019-12-23 13:33:59 -0800 | [diff] [blame] | 33 | deps = [ |
| 34 | "src/pigweed.dev/pw_target_runner_server", |
| 35 | ] |
| 36 | package = "pigweed.dev/pw_target_runner_server" |
| 37 | } |
Alexei Frolov | ca9cf60 | 2019-12-26 13:00:03 -0800 | [diff] [blame] | 38 | |
| 39 | pw_host_tool("simple_client") { |
| 40 | deps = [ |
| 41 | ":pw_target_runner_client", |
| 42 | ] |
| 43 | } |
| 44 | |
| 45 | pw_host_tool("simple_server") { |
| 46 | deps = [ |
| 47 | ":pw_target_runner_server", |
| 48 | ] |
| 49 | } |