1# Copyright 2020 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 15import("//build_overrides/pigweed.gni") 16 17import("$dir_pw_build/python.gni") 18import("$dir_pw_docgen/docs.gni") 19 20pw_doc_group("docs") { 21 inputs = [ "doc_resources/pw_env_setup_output.png" ] 22 sources = [ "docs.rst" ] 23} 24 25pw_python_group("python") { 26 python_deps = [ 27 # Python packages 28 "$dir_pw_allocator/py", 29 "$dir_pw_arduino_build/py", 30 "$dir_pw_bloat/py", 31 "$dir_pw_build/py", 32 "$dir_pw_cli/py", 33 "$dir_pw_cpu_exception_cortex_m/py", 34 "$dir_pw_docgen/py", 35 "$dir_pw_doctor/py", 36 "$dir_pw_env_setup/py", 37 "$dir_pw_hdlc/py", 38 "$dir_pw_log_tokenized/py", 39 "$dir_pw_module/py", 40 "$dir_pw_package/py", 41 "$dir_pw_presubmit/py", 42 "$dir_pw_protobuf/py", 43 "$dir_pw_protobuf_compiler/py", 44 "$dir_pw_rpc/py", 45 "$dir_pw_status/py", 46 "$dir_pw_tokenizer/py", 47 "$dir_pw_toolchain/py", 48 "$dir_pw_trace/py", 49 "$dir_pw_trace_tokenized/py", 50 "$dir_pw_unit_test/py", 51 "$dir_pw_watch/py", 52 53 # Standalone scripts 54 "$dir_pw_hdlc/rpc_example:example_script", 55 ] 56} 57 58# Python packages for supporting specific targets. 59pw_python_group("target_support_packages") { 60 python_deps = [ 61 "$dir_pigweed/targets/lm3s6965evb-qemu/py", 62 "$dir_pigweed/targets/stm32f429i-disc1/py", 63 ] 64} 65