Wyatt Hepler | c542a5d | 2020-01-15 15:43:10 -0800 | [diff] [blame] | 1 | # Copyright 2020 The Pigweed Authors |
Alexei Frolov | 1a82c14 | 2019-10-31 17:37:12 -0700 | [diff] [blame] | 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 | |
Armando Montanez | fb3d3fb | 2020-06-09 18:12:12 -0700 | [diff] [blame] | 15 | declare_args() { |
| 16 | # This file defines a directory variable for each of Pigweed's modules. This |
| 17 | # allows modules to be moved or swapped out without breaking existing builds. |
| 18 | # All module variables are prefixed with dir_. |
Rob Mohr | e916d32 | 2020-07-17 09:07:32 -0700 | [diff] [blame] | 19 | dir_docker = get_path_info("docker", "abspath") |
Armando Montanez | fb3d3fb | 2020-06-09 18:12:12 -0700 | [diff] [blame] | 20 | dir_pw_allocator = get_path_info("pw_allocator", "abspath") |
Anthony DiGirolamo | eea0d77 | 2020-08-06 12:00:36 -0700 | [diff] [blame] | 21 | dir_pw_arduino_build = get_path_info("pw_arduino_build", "abspath") |
Armando Montanez | fb3d3fb | 2020-06-09 18:12:12 -0700 | [diff] [blame] | 22 | dir_pw_assert = get_path_info("pw_assert", "abspath") |
| 23 | dir_pw_assert_basic = get_path_info("pw_assert_basic", "abspath") |
Keir Mierle | b776cb2 | 2020-08-14 16:46:50 -0700 | [diff] [blame] | 24 | dir_pw_assert_log = get_path_info("pw_assert_log", "abspath") |
Armando Montanez | fb3d3fb | 2020-06-09 18:12:12 -0700 | [diff] [blame] | 25 | dir_pw_base64 = get_path_info("pw_base64", "abspath") |
| 26 | dir_pw_bloat = get_path_info("pw_bloat", "abspath") |
David Rogers | 2d19502 | 2020-07-16 14:07:47 -0700 | [diff] [blame] | 27 | dir_pw_blob_store = get_path_info("pw_blob_store", "abspath") |
Armando Montanez | fb3d3fb | 2020-06-09 18:12:12 -0700 | [diff] [blame] | 28 | dir_pw_boot_armv7m = get_path_info("pw_boot_armv7m", "abspath") |
| 29 | dir_pw_build = get_path_info("pw_build", "abspath") |
shaneajg | 9c19db4 | 2020-06-11 15:49:51 -0400 | [diff] [blame] | 30 | dir_pw_bytes = get_path_info("pw_bytes", "abspath") |
Armando Montanez | fb3d3fb | 2020-06-09 18:12:12 -0700 | [diff] [blame] | 31 | dir_pw_checksum = get_path_info("pw_checksum", "abspath") |
| 32 | dir_pw_cli = get_path_info("pw_cli", "abspath") |
| 33 | dir_pw_containers = get_path_info("pw_containers", "abspath") |
| 34 | dir_pw_cpu_exception = get_path_info("pw_cpu_exception", "abspath") |
| 35 | dir_pw_cpu_exception_armv7m = |
| 36 | get_path_info("pw_cpu_exception_armv7m", "abspath") |
| 37 | dir_pw_docgen = get_path_info("pw_docgen", "abspath") |
| 38 | dir_pw_doctor = get_path_info("pw_doctor", "abspath") |
Armando Montanez | 593d0d5 | 2020-07-08 19:55:01 -0700 | [diff] [blame] | 39 | dir_pw_hex_dump = get_path_info("pw_hex_dump", "abspath") |
Armando Montanez | fb3d3fb | 2020-06-09 18:12:12 -0700 | [diff] [blame] | 40 | dir_pw_env_setup = get_path_info("pw_env_setup", "abspath") |
shaneajg | 0869f2c | 2020-07-08 10:39:14 -0400 | [diff] [blame] | 41 | dir_pw_hdlc_lite = get_path_info("pw_hdlc_lite", "abspath") |
Armando Montanez | fb3d3fb | 2020-06-09 18:12:12 -0700 | [diff] [blame] | 42 | dir_pw_kvs = get_path_info("pw_kvs", "abspath") |
| 43 | dir_pw_log = get_path_info("pw_log", "abspath") |
| 44 | dir_pw_log_basic = get_path_info("pw_log_basic", "abspath") |
Wyatt Hepler | 24a6e27 | 2020-09-01 10:25:28 -0700 | [diff] [blame] | 45 | dir_pw_log_null = get_path_info("pw_log_null", "abspath") |
Prashanth Swaminathan | e9cf376 | 2020-09-23 10:01:29 -0700 | [diff] [blame] | 46 | dir_pw_log_rpc = get_path_info("pw_log_rpc", "abspath") |
Armando Montanez | fb3d3fb | 2020-06-09 18:12:12 -0700 | [diff] [blame] | 47 | dir_pw_log_tokenized = get_path_info("pw_log_tokenized", "abspath") |
Chenghan Zhou | d4f44d2 | 2020-06-18 15:42:06 -0400 | [diff] [blame] | 48 | dir_pw_malloc = get_path_info("pw_malloc", "abspath") |
| 49 | dir_pw_malloc_freelist = get_path_info("pw_malloc_freelist", "abspath") |
Keir Mierle | 45fa785 | 2020-08-10 21:09:54 -0700 | [diff] [blame] | 50 | dir_pw_metric = get_path_info("pw_metric", "abspath") |
Armando Montanez | fb3d3fb | 2020-06-09 18:12:12 -0700 | [diff] [blame] | 51 | dir_pw_minimal_cpp_stdlib = get_path_info("pw_minimal_cpp_stdlib", "abspath") |
| 52 | dir_pw_module = get_path_info("pw_module", "abspath") |
| 53 | dir_pw_fuzzer = get_path_info("pw_fuzzer", "abspath") |
Rob Mohr | 0b6a502 | 2020-10-22 11:10:24 -0700 | [diff] [blame] | 54 | dir_pw_package = get_path_info("pw_package", "abspath") |
Armando Montanez | fb3d3fb | 2020-06-09 18:12:12 -0700 | [diff] [blame] | 55 | dir_pw_polyfill = get_path_info("pw_polyfill", "abspath") |
| 56 | dir_pw_preprocessor = get_path_info("pw_preprocessor", "abspath") |
| 57 | dir_pw_presubmit = get_path_info("pw_presubmit", "abspath") |
| 58 | dir_pw_protobuf = get_path_info("pw_protobuf", "abspath") |
| 59 | dir_pw_protobuf_compiler = get_path_info("pw_protobuf_compiler", "abspath") |
Armando Montanez | 47008e8 | 2020-08-04 11:04:45 -0700 | [diff] [blame] | 60 | dir_pw_random = get_path_info("pw_random", "abspath") |
Armando Montanez | fb3d3fb | 2020-06-09 18:12:12 -0700 | [diff] [blame] | 61 | dir_pw_result = get_path_info("pw_result", "abspath") |
| 62 | dir_pw_ring_buffer = get_path_info("pw_ring_buffer", "abspath") |
| 63 | dir_pw_rpc = get_path_info("pw_rpc", "abspath") |
| 64 | dir_pw_span = get_path_info("pw_span", "abspath") |
| 65 | dir_pw_status = get_path_info("pw_status", "abspath") |
| 66 | dir_pw_stream = get_path_info("pw_stream", "abspath") |
| 67 | dir_pw_string = get_path_info("pw_string", "abspath") |
| 68 | dir_pw_sys_io = get_path_info("pw_sys_io", "abspath") |
| 69 | dir_pw_sys_io_baremetal_lm3s6965evb = |
| 70 | get_path_info("pw_sys_io_baremetal_lm3s6965evb", "abspath") |
| 71 | dir_pw_sys_io_baremetal_stm32f429 = |
| 72 | get_path_info("pw_sys_io_baremetal_stm32f429", "abspath") |
Anthony DiGirolamo | eea0d77 | 2020-08-06 12:00:36 -0700 | [diff] [blame] | 73 | dir_pw_sys_io_arduino = get_path_info("pw_sys_io_arduino", "abspath") |
Armando Montanez | fb3d3fb | 2020-06-09 18:12:12 -0700 | [diff] [blame] | 74 | dir_pw_sys_io_stdio = get_path_info("pw_sys_io_stdio", "abspath") |
| 75 | dir_pw_target_runner = get_path_info("pw_target_runner", "abspath") |
Alexei Frolov | dd6fa5c | 2020-08-11 10:04:01 -0700 | [diff] [blame] | 76 | dir_pw_third_party = get_path_info("third_party", "abspath") |
Armando Montanez | fb3d3fb | 2020-06-09 18:12:12 -0700 | [diff] [blame] | 77 | dir_pw_tokenizer = get_path_info("pw_tokenizer", "abspath") |
| 78 | dir_pw_toolchain = get_path_info("pw_toolchain", "abspath") |
| 79 | dir_pw_trace = get_path_info("pw_trace", "abspath") |
Robert Oliver | 21dcf27 | 2020-05-12 15:41:52 -0400 | [diff] [blame] | 80 | dir_pw_trace_tokenized = get_path_info("pw_trace_tokenized", "abspath") |
Armando Montanez | fb3d3fb | 2020-06-09 18:12:12 -0700 | [diff] [blame] | 81 | dir_pw_unit_test = get_path_info("pw_unit_test", "abspath") |
| 82 | dir_pw_varint = get_path_info("pw_varint", "abspath") |
| 83 | dir_pw_watch = get_path_info("pw_watch", "abspath") |
| 84 | dir_pw_web_ui = get_path_info("pw_web_ui", "abspath") |
| 85 | } |