• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2022-2022 Huawei Device Co., Ltd. All rights reserved.
2#
3# Redistribution and use in source and binary forms, with or without modification,
4# are permitted provided that the following conditions are met:
5#
6# 1. Redistributions of source code must retain the above copyright notice, this list of
7#    conditions and the following disclaimer.
8#
9# 2. Redistributions in binary form must reproduce the above copyright notice, this list
10#    of conditions and the following disclaimer in the documentation and/or other materials
11#    provided with the distribution.
12#
13# 3. Neither the name of the copyright holder nor the names of its contributors may be used
14#    to endorse or promote products derived from this software without specific prior written
15#    permission.
16#
17# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
19# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
20# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
21# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
22# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
23# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
24# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
25# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
26# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
27# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
29import("//kernel/liteos_m/liteos.gni")
30
31static_library("test_posix") {
32  sources = [
33    "mqueue/It_posix_queue.c",
34    "mqueue/It_posix_queue_001.c",
35    "mqueue/It_posix_queue_002.c",
36    "mqueue/It_posix_queue_003.c",
37    "mqueue/It_posix_queue_004.c",
38    "mqueue/It_posix_queue_005.c",
39    "mqueue/It_posix_queue_006.c",
40    "mqueue/It_posix_queue_007.c",
41    "mqueue/It_posix_queue_008.c",
42    "mqueue/It_posix_queue_009.c",
43    "mqueue/It_posix_queue_010.c",
44    "mqueue/It_posix_queue_011.c",
45    "mqueue/It_posix_queue_012.c",
46    "mqueue/It_posix_queue_013.c",
47    "mqueue/It_posix_queue_014.c",
48    "mqueue/It_posix_queue_015.c",
49    "mqueue/It_posix_queue_016.c",
50    "mqueue/It_posix_queue_017.c",
51    "mqueue/It_posix_queue_018.c",
52    "mqueue/It_posix_queue_019.c",
53    "mqueue/It_posix_queue_020.c",
54    "mqueue/It_posix_queue_021.c",
55    "mqueue/It_posix_queue_022.c",
56    "mqueue/It_posix_queue_023.c",
57    "mqueue/It_posix_queue_024.c",
58    "mqueue/It_posix_queue_025.c",
59    "mqueue/It_posix_queue_026.c",
60    "mqueue/It_posix_queue_027.c",
61    "mqueue/It_posix_queue_028.c",
62    "mqueue/It_posix_queue_029.c",
63    "mqueue/It_posix_queue_030.c",
64    "mqueue/It_posix_queue_031.c",
65    "mqueue/It_posix_queue_032.c",
66    "mqueue/It_posix_queue_033.c",
67    "mqueue/It_posix_queue_034.c",
68    "mqueue/It_posix_queue_035.c",
69    "mqueue/It_posix_queue_036.c",
70    "mqueue/It_posix_queue_037.c",
71    "mqueue/It_posix_queue_038.c",
72    "mqueue/It_posix_queue_039.c",
73    "mqueue/It_posix_queue_040.c",
74    "mqueue/It_posix_queue_041.c",
75    "mqueue/It_posix_queue_042.c",
76    "mqueue/It_posix_queue_043.c",
77    "mqueue/It_posix_queue_044.c",
78    "mqueue/It_posix_queue_045.c",
79    "mqueue/It_posix_queue_046.c",
80    "mqueue/It_posix_queue_047.c",
81    "mqueue/It_posix_queue_048.c",
82    "mqueue/It_posix_queue_049.c",
83    "mqueue/It_posix_queue_050.c",
84    "mqueue/It_posix_queue_051.c",
85    "mqueue/It_posix_queue_052.c",
86    "mutex/It_posix_mutex.c",
87    "mutex/It_posix_mutex_001.c",
88    "mutex/It_posix_mutex_002.c",
89    "mutex/It_posix_mutex_003.c",
90    "mutex/It_posix_mutex_004.c",
91    "mutex/It_posix_mutex_005.c",
92    "mutex/It_posix_mutex_006.c",
93    "mutex/It_posix_mutex_007.c",
94    "mutex/It_posix_mutex_008.c",
95    "mutex/It_posix_mutex_009.c",
96    "mutex/It_posix_mutex_010.c",
97    "mutex/It_posix_mutex_011.c",
98    "mutex/It_posix_mutex_012.c",
99    "mutex/It_posix_mutex_013.c",
100    "mutex/It_posix_mutex_014.c",
101    "mutex/It_posix_mutex_015.c",
102    "mutex/It_posix_mutex_016.c",
103    "mutex/It_posix_mutex_017.c",
104    "mutex/It_posix_mutex_018.c",
105    "mutex/It_posix_mutex_019.c",
106    "mutex/It_posix_mutex_020.c",
107    "mutex/It_posix_mutex_021.c",
108    "mutex/It_posix_mutex_022.c",
109    "mutex/It_posix_mutex_023.c",
110    "mutex/It_posix_mutex_024.c",
111    "mutex/It_posix_mutex_025.c",
112    "mutex/It_posix_mutex_026.c",
113    "mutex/It_posix_mutex_027.c",
114    "mutex/It_posix_mutex_028.c",
115    "mutex/It_posix_mutex_029.c",
116    "mutex/It_posix_mutex_030.c",
117    "mutex/It_posix_mutex_031.c",
118    "mutex/It_posix_mutex_032.c",
119    "mutex/It_posix_mutex_033.c",
120    "mutex/It_posix_mutex_034.c",
121    "mutex/It_posix_mutex_035.c",
122    "mutex/It_posix_mutex_036.c",
123    "mutex/It_posix_mutex_037.c",
124    "mutex/It_posix_mutex_038.c",
125    "mutex/It_posix_mutex_039.c",
126    "mutex/It_posix_mutex_040.c",
127    "mutex/It_posix_mutex_041.c",
128    "mutex/It_posix_mutex_042.c",
129    "mutex/It_posix_mutex_043.c",
130    "mutex/It_posix_mutex_044.c",
131    "mutex/It_posix_mutex_045.c",
132    "mutex/It_posix_mutex_046.c",
133    "mutex/It_posix_mutex_047.c",
134    "mutex/It_posix_mutex_048.c",
135    "mutex/It_posix_mutex_049.c",
136    "pthread/It_posix_pthread.c",
137    "pthread/It_posix_pthread_001.c",
138    "pthread/It_posix_pthread_002.c",
139    "pthread/It_posix_pthread_003.c",
140    "pthread/It_posix_pthread_004.c",
141    "pthread/It_posix_pthread_005.c",
142    "pthread/It_posix_pthread_006.c",
143    "pthread/It_posix_pthread_007.c",
144    "pthread/It_posix_pthread_008.c",
145    "pthread/It_posix_pthread_009.c",
146    "pthread/It_posix_pthread_010.c",
147    "pthread/It_posix_pthread_011.c",
148    "pthread/It_posix_pthread_012.c",
149    "pthread/It_posix_pthread_013.c",
150    "pthread/It_posix_pthread_014.c",
151    "pthread/It_posix_pthread_015.c",
152    "pthread/It_posix_pthread_016.c",
153    "pthread/It_posix_pthread_017.c",
154    "pthread/It_posix_pthread_018.c",
155    "pthread/It_posix_pthread_019.c",
156    "pthread/It_posix_pthread_020.c",
157    "pthread/It_posix_pthread_021.c",
158    "pthread/It_posix_pthread_022.c",
159    "pthread/It_posix_pthread_023.c",
160    "pthread/It_posix_pthread_024.c",
161    "pthread/It_posix_pthread_025.c",
162    "pthread_func_test.c",
163  ]
164
165  configs += [ "$LITEOSTOPDIR/testsuites:include" ]
166}
167