blob: 7da2072997e3484ba60cadac937b4dca7cbb699f [file] [log] [blame]
Wyatt Heplerc542a5d2020-01-15 15:43:10 -08001# Copyright 2020 The Pigweed Authors
Alexei Frolov1a82c142019-10-31 17:37:12 -07002#
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 Montanezfb3d3fb2020-06-09 18:12:12 -070015declare_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 Mohre916d322020-07-17 09:07:32 -070019 dir_docker = get_path_info("docker", "abspath")
Armando Montanezfb3d3fb2020-06-09 18:12:12 -070020 dir_pw_allocator = get_path_info("pw_allocator", "abspath")
Anthony DiGirolamoeea0d772020-08-06 12:00:36 -070021 dir_pw_arduino_build = get_path_info("pw_arduino_build", "abspath")
Armando Montanezfb3d3fb2020-06-09 18:12:12 -070022 dir_pw_assert = get_path_info("pw_assert", "abspath")
23 dir_pw_assert_basic = get_path_info("pw_assert_basic", "abspath")
Keir Mierleb776cb22020-08-14 16:46:50 -070024 dir_pw_assert_log = get_path_info("pw_assert_log", "abspath")
Armando Montanezfb3d3fb2020-06-09 18:12:12 -070025 dir_pw_base64 = get_path_info("pw_base64", "abspath")
26 dir_pw_bloat = get_path_info("pw_bloat", "abspath")
David Rogers2d195022020-07-16 14:07:47 -070027 dir_pw_blob_store = get_path_info("pw_blob_store", "abspath")
Armando Montanezfb3d3fb2020-06-09 18:12:12 -070028 dir_pw_boot_armv7m = get_path_info("pw_boot_armv7m", "abspath")
29 dir_pw_build = get_path_info("pw_build", "abspath")
shaneajg9c19db42020-06-11 15:49:51 -040030 dir_pw_bytes = get_path_info("pw_bytes", "abspath")
Armando Montanezfb3d3fb2020-06-09 18:12:12 -070031 dir_pw_checksum = get_path_info("pw_checksum", "abspath")
Ewout van Bekkum3c61ae92020-10-30 15:52:25 -070032 dir_pw_chrono = get_path_info("pw_chrono", "abspath")
Ewout van Bekkum41daf162021-03-03 13:57:28 -080033 dir_pw_chrono_embos = get_path_info("pw_chrono_embos", "abspath")
Ewout van Bekkum660ebba2020-11-11 13:40:10 -080034 dir_pw_chrono_freertos = get_path_info("pw_chrono_freertos", "abspath")
Ewout van Bekkum3c61ae92020-10-30 15:52:25 -070035 dir_pw_chrono_stl = get_path_info("pw_chrono_stl", "abspath")
Ewout van Bekkumf7e38b32020-11-16 11:56:41 -080036 dir_pw_chrono_threadx = get_path_info("pw_chrono_threadx", "abspath")
Armando Montanezfb3d3fb2020-06-09 18:12:12 -070037 dir_pw_cli = get_path_info("pw_cli", "abspath")
38 dir_pw_containers = get_path_info("pw_containers", "abspath")
39 dir_pw_cpu_exception = get_path_info("pw_cpu_exception", "abspath")
Armando Montanez40740792020-10-20 17:32:20 -070040 dir_pw_cpu_exception_cortex_m =
41 get_path_info("pw_cpu_exception_cortex_m", "abspath")
Armando Montanezfb3d3fb2020-06-09 18:12:12 -070042 dir_pw_docgen = get_path_info("pw_docgen", "abspath")
43 dir_pw_doctor = get_path_info("pw_doctor", "abspath")
Armando Montanez593d0d52020-07-08 19:55:01 -070044 dir_pw_hex_dump = get_path_info("pw_hex_dump", "abspath")
Armando Montanezfb3d3fb2020-06-09 18:12:12 -070045 dir_pw_env_setup = get_path_info("pw_env_setup", "abspath")
Alexei Frolovd3e5cb72021-01-08 13:08:45 -080046 dir_pw_hdlc = get_path_info("pw_hdlc", "abspath")
Ewout van Bekkumd1669a82020-12-04 16:00:47 -080047 dir_pw_i2c = get_path_info("pw_i2c", "abspath")
Ewout van Bekkumbd4906c2020-11-11 13:42:13 -080048 dir_pw_interrupt = get_path_info("pw_interrupt", "abspath")
49 dir_pw_interrupt_cortex_m = get_path_info("pw_interrupt_cortex_m", "abspath")
Armando Montanezfb3d3fb2020-06-09 18:12:12 -070050 dir_pw_kvs = get_path_info("pw_kvs", "abspath")
51 dir_pw_log = get_path_info("pw_log", "abspath")
52 dir_pw_log_basic = get_path_info("pw_log_basic", "abspath")
Prashanth Swaminathan5ef2aa22020-11-10 09:57:46 -080053 dir_pw_log_multisink = get_path_info("pw_log_multisink", "abspath")
Wyatt Hepler24a6e272020-09-01 10:25:28 -070054 dir_pw_log_null = get_path_info("pw_log_null", "abspath")
Prashanth Swaminathane9cf3762020-09-23 10:01:29 -070055 dir_pw_log_rpc = get_path_info("pw_log_rpc", "abspath")
Prashanth Swaminathan49a4a822021-01-12 18:41:52 -080056 dir_pw_log_sink = get_path_info("pw_log_sink", "abspath")
Armando Montanezfb3d3fb2020-06-09 18:12:12 -070057 dir_pw_log_tokenized = get_path_info("pw_log_tokenized", "abspath")
Chenghan Zhoud4f44d22020-06-18 15:42:06 -040058 dir_pw_malloc = get_path_info("pw_malloc", "abspath")
59 dir_pw_malloc_freelist = get_path_info("pw_malloc_freelist", "abspath")
Keir Mierle45fa7852020-08-10 21:09:54 -070060 dir_pw_metric = get_path_info("pw_metric", "abspath")
Armando Montanezfb3d3fb2020-06-09 18:12:12 -070061 dir_pw_minimal_cpp_stdlib = get_path_info("pw_minimal_cpp_stdlib", "abspath")
62 dir_pw_module = get_path_info("pw_module", "abspath")
Prashanth Swaminathanf36832a2021-01-27 16:20:32 -080063 dir_pw_multisink = get_path_info("pw_multisink", "abspath")
Armando Montanezfb3d3fb2020-06-09 18:12:12 -070064 dir_pw_fuzzer = get_path_info("pw_fuzzer", "abspath")
Rob Mohr0b6a5022020-10-22 11:10:24 -070065 dir_pw_package = get_path_info("pw_package", "abspath")
Ewout van Bekkum32dc5c52021-03-16 11:35:37 -070066 dir_pw_persistent_ram = get_path_info("pw_persistent_ram", "abspath")
Armando Montanezfb3d3fb2020-06-09 18:12:12 -070067 dir_pw_polyfill = get_path_info("pw_polyfill", "abspath")
68 dir_pw_preprocessor = get_path_info("pw_preprocessor", "abspath")
69 dir_pw_presubmit = get_path_info("pw_presubmit", "abspath")
70 dir_pw_protobuf = get_path_info("pw_protobuf", "abspath")
71 dir_pw_protobuf_compiler = get_path_info("pw_protobuf_compiler", "abspath")
Armando Montanez47008e82020-08-04 11:04:45 -070072 dir_pw_random = get_path_info("pw_random", "abspath")
Armando Montanezfb3d3fb2020-06-09 18:12:12 -070073 dir_pw_result = get_path_info("pw_result", "abspath")
74 dir_pw_ring_buffer = get_path_info("pw_ring_buffer", "abspath")
Alexei Frolov5af57d12021-01-12 11:38:06 -080075 dir_pw_router = get_path_info("pw_router", "abspath")
Armando Montanezfb3d3fb2020-06-09 18:12:12 -070076 dir_pw_rpc = get_path_info("pw_rpc", "abspath")
77 dir_pw_span = get_path_info("pw_span", "abspath")
78 dir_pw_status = get_path_info("pw_status", "abspath")
79 dir_pw_stream = get_path_info("pw_stream", "abspath")
80 dir_pw_string = get_path_info("pw_string", "abspath")
Ewout van Bekkum58901932020-11-09 12:46:52 -080081 dir_pw_sync = get_path_info("pw_sync", "abspath")
Ewout van Bekkum41daf162021-03-03 13:57:28 -080082 dir_pw_sync_embos = get_path_info("pw_sync_embos", "abspath")
Ewout van Bekkum660ebba2020-11-11 13:40:10 -080083 dir_pw_sync_freertos = get_path_info("pw_sync_freertos", "abspath")
Prashanth Swaminathanacbd0702021-01-22 11:58:15 -080084 dir_pw_sync_baremetal = get_path_info("pw_sync_baremetal", "abspath")
Ewout van Bekkum58901932020-11-09 12:46:52 -080085 dir_pw_sync_stl = get_path_info("pw_sync_stl", "abspath")
Ewout van Bekkum5bcd8c42020-11-23 10:46:16 -080086 dir_pw_sync_threadx = get_path_info("pw_sync_threadx", "abspath")
Armando Montanezfb3d3fb2020-06-09 18:12:12 -070087 dir_pw_sys_io = get_path_info("pw_sys_io", "abspath")
88 dir_pw_sys_io_baremetal_lm3s6965evb =
89 get_path_info("pw_sys_io_baremetal_lm3s6965evb", "abspath")
90 dir_pw_sys_io_baremetal_stm32f429 =
91 get_path_info("pw_sys_io_baremetal_stm32f429", "abspath")
Anthony DiGirolamoeea0d772020-08-06 12:00:36 -070092 dir_pw_sys_io_arduino = get_path_info("pw_sys_io_arduino", "abspath")
Armando Montanezfb3d3fb2020-06-09 18:12:12 -070093 dir_pw_sys_io_stdio = get_path_info("pw_sys_io_stdio", "abspath")
94 dir_pw_target_runner = get_path_info("pw_target_runner", "abspath")
Ewout van Bekkume3b56032020-12-22 12:00:18 -080095 dir_pw_thread = get_path_info("pw_thread", "abspath")
96 dir_pw_thread_stl = get_path_info("pw_thread_stl", "abspath")
Ewout van Bekkum8b72a572021-03-09 08:53:39 -080097 dir_pw_thread_embos = get_path_info("pw_thread_embos", "abspath")
Ewout van Bekkum749342b2021-01-19 14:53:19 -080098 dir_pw_thread_freertos = get_path_info("pw_thread_freertos", "abspath")
Ewout van Bekkumfe5b4a72021-02-01 17:03:58 -080099 dir_pw_thread_threadx = get_path_info("pw_thread_threadx", "abspath")
Alexei Frolovdd6fa5c2020-08-11 10:04:01 -0700100 dir_pw_third_party = get_path_info("third_party", "abspath")
Armando Montanezfb3d3fb2020-06-09 18:12:12 -0700101 dir_pw_tokenizer = get_path_info("pw_tokenizer", "abspath")
Jason Graffius4d13de92021-01-16 20:26:21 -0800102 dir_pw_tool = get_path_info("pw_tool", "abspath")
Armando Montanezfb3d3fb2020-06-09 18:12:12 -0700103 dir_pw_toolchain = get_path_info("pw_toolchain", "abspath")
104 dir_pw_trace = get_path_info("pw_trace", "abspath")
Robert Oliver21dcf272020-05-12 15:41:52 -0400105 dir_pw_trace_tokenized = get_path_info("pw_trace_tokenized", "abspath")
Armando Montanezfb3d3fb2020-06-09 18:12:12 -0700106 dir_pw_unit_test = get_path_info("pw_unit_test", "abspath")
107 dir_pw_varint = get_path_info("pw_varint", "abspath")
108 dir_pw_watch = get_path_info("pw_watch", "abspath")
109 dir_pw_web_ui = get_path_info("pw_web_ui", "abspath")
110}