Alexei Frolov | 1a82c14 | 2019-10-31 17:37:12 -0700 | [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 | |
| 15 | # This file defines a directory variable for each of Pigweed's modules. This |
| 16 | # allows modules to be moved or swapped out without breaking existing builds. |
| 17 | # All module variables are prefixed with dir_. |
| 18 | |
| 19 | declare_args() { |
| 20 | # Location of the Pigweed modules directory (defaults to the directory of |
| 21 | # this file). |
| 22 | dir_pigweed = get_path_info(get_path_info("BUILD.gn", "abspath"), "dir") |
| 23 | } |
| 24 | |
Alexei Frolov | e201676 | 2019-11-14 13:49:52 -0800 | [diff] [blame] | 25 | dir_pw_bloat = "$dir_pigweed/pw_bloat" |
Alexei Frolov | 1a82c14 | 2019-10-31 17:37:12 -0700 | [diff] [blame] | 26 | dir_pw_build = "$dir_pigweed/pw_build" |
Armando Montanez | 5104cd6 | 2019-12-10 14:36:43 -0800 | [diff] [blame] | 27 | dir_pw_cpu_exception = "$dir_pigweed/pw_cpu_exception" |
| 28 | dir_pw_cpu_exception_armv7m = "$dir_pigweed/pw_cpu_exception_armv7m" |
Alexei Frolov | baaa2d6 | 2019-11-12 16:20:51 -0800 | [diff] [blame] | 29 | dir_pw_docgen = "$dir_pigweed/pw_docgen" |
Rob Mohr | f82e7a8 | 2020-01-03 13:50:11 -0800 | [diff] [blame^] | 30 | dir_pw_doctor = "$dir_pigweed/pw_doctor" |
Armando Montanez | 68de071 | 2019-11-14 18:29:39 -0800 | [diff] [blame] | 31 | dir_pw_dumb_io = "$dir_pigweed/pw_dumb_io" |
Armando Montanez | a69244e | 2019-11-15 11:25:10 -0800 | [diff] [blame] | 32 | dir_pw_dumb_io_baremetal_stm32f429 = |
| 33 | "$dir_pigweed/pw_dumb_io_baremetal_stm32f429" |
Armando Montanez | 68de071 | 2019-11-14 18:29:39 -0800 | [diff] [blame] | 34 | dir_pw_dumb_io_stdio = "$dir_pigweed/pw_dumb_io_stdio" |
Keir Mierle | c34f71f | 2019-12-06 12:44:47 -0800 | [diff] [blame] | 35 | dir_pw_module = "$dir_pigweed/pw_module" |
Alexei Frolov | c10c812 | 2019-11-01 16:31:19 -0700 | [diff] [blame] | 36 | dir_pw_preprocessor = "$dir_pigweed/pw_preprocessor" |
Wyatt Hepler | ee3e02f | 2019-12-05 10:52:31 -0800 | [diff] [blame] | 37 | dir_pw_presubmit = "$dir_pigweed/pw_presubmit" |
Alexei Frolov | bbf164c | 2019-12-16 12:51:59 -0800 | [diff] [blame] | 38 | dir_pw_protobuf = "$dir_pigweed/pw_protobuf" |
Alexei Frolov | 942adf0 | 2019-12-11 17:07:28 -0800 | [diff] [blame] | 39 | dir_pw_protobuf_compiler = "$dir_pigweed/pw_protobuf_compiler" |
Wyatt Hepler | 7710565 | 2019-11-06 17:50:03 -0800 | [diff] [blame] | 40 | dir_pw_span = "$dir_pigweed/pw_span" |
Alexei Frolov | 1a82c14 | 2019-10-31 17:37:12 -0700 | [diff] [blame] | 41 | dir_pw_status = "$dir_pigweed/pw_status" |
Wyatt Hepler | 48db4d6 | 2019-11-11 10:32:45 -0800 | [diff] [blame] | 42 | dir_pw_string = "$dir_pigweed/pw_string" |
Alexei Frolov | 300dcea | 2019-12-23 13:33:59 -0800 | [diff] [blame] | 43 | dir_pw_target_runner = "$dir_pigweed/pw_target_runner" |
Alexei Frolov | 1a82c14 | 2019-10-31 17:37:12 -0700 | [diff] [blame] | 44 | dir_pw_toolchain = "$dir_pigweed/pw_toolchain" |
Alexei Frolov | c10c812 | 2019-11-01 16:31:19 -0700 | [diff] [blame] | 45 | dir_pw_unit_test = "$dir_pigweed/pw_unit_test" |
Alexei Frolov | 82d3cb3 | 2019-11-27 14:38:39 -0800 | [diff] [blame] | 46 | dir_pw_varint = "$dir_pigweed/pw_varint" |