blob: 3543b67f73d2971824b32571233c1fe46fd55993 [file] [log] [blame]
Alexei Frolov1a82c142019-10-31 17:37:12 -07001# 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
Wyatt Hepleredf6f292019-11-25 18:52:21 -080015import("$dir_pw_unit_test/test.gni")
16
Alexei Frolov1a82c142019-10-31 17:37:12 -070017# All Pigweed modules that can be built using gn.
18group("pw_modules") {
19 deps = [
Alexei Frolov0efdb112019-11-14 17:22:08 -080020 "$dir_pigweed/docs",
Alexei Frolove2016762019-11-14 13:49:52 -080021 "$dir_pw_bloat",
Armando Montanez68de0712019-11-14 18:29:39 -080022 "$dir_pw_dumb_io",
Alexei Frolovc10c8122019-11-01 16:31:19 -070023 "$dir_pw_preprocessor",
Wyatt Hepler77105652019-11-06 17:50:03 -080024 "$dir_pw_span",
Alexei Frolov1a82c142019-10-31 17:37:12 -070025 "$dir_pw_status",
Wyatt Hepler48db4d62019-11-11 10:32:45 -080026 "$dir_pw_string",
Alexei Frolovc10c8122019-11-01 16:31:19 -070027 "$dir_pw_unit_test",
Alexei Frolov82d3cb32019-11-27 14:38:39 -080028 "$dir_pw_varint",
Alexei Frolov1a82c142019-10-31 17:37:12 -070029 ]
30}
Alexei Frolov925fb8f2019-11-05 16:32:30 -080031
32# Targets for all module unit test groups.
Wyatt Hepleredf6f292019-11-25 18:52:21 -080033pw_test_group("pw_module_tests") {
34 group_deps = [
Alexei Frolova454c682019-11-19 10:55:07 -080035 "$dir_pw_preprocessor:tests",
36 "$dir_pw_span:tests",
37 "$dir_pw_status:tests",
38 "$dir_pw_string:tests",
Alexei Frolov82d3cb32019-11-27 14:38:39 -080039 "$dir_pw_varint:tests",
Alexei Frolov925fb8f2019-11-05 16:32:30 -080040 ]
41}