blob: d15f2abd9e2ce8561527146ba099bdb7ba619d10 [file] [log] [blame]
Hui.Li-TCL719b7962021-09-01 21:16:38 +08001{
2 "build_settings": {
3 "build_dir": "out/",
4 "default_toolchain": "//TEST_TOOLCHAIN",
5 "gen_input_files": ["//TEST.gn"],
6 "root_path": "//TEST_ROOT_PATH"
7 },
8 "targets": {
9 "//:base_targetname": {
10 "type": "unknown"
11 },
12 "//root:targetname": {
13 "type": "unknown"
14 },
15 "//root:toolchain_targetname(//test_toolchain/python_toolchain:python)": {
16 "type": "unknown"
17 },
18 "//:group_test": {
19 "type": "group",
20 "deps": ["//root:dep_action", "//root:dep_static_lib"],
21 "sources": [
22 "src_1.cxx",
23 "src_2.c",
24 "src_3.asm",
25 "src_4.h",
26 "src_5.hpp",
27 "src_6.others"
28 ],
29 "inputs": ["input_1.c"]
30 },
31 "//:executable_test": {
32 "asmflags": ["-march=armv8-a"],
33 "cflags": ["-march=armv8-a", "-O0"],
34 "cflags_c": ["-std=gnu11"],
35 "cflags_cc": ["-std=gnu++14", "-fno-rtti"],
36 "cflags_objc": ["-std=gnu11"],
37 "cflags_objcc": ["-std=gnu++14"],
38 "check_includes": true,
39 "configs": [
40 "//build/config/compiler:abi_default",
41 "//build/config/compiler:debug_default"
42 ],
43 "defines": ["CHIP_HAVE_CONFIG_H=1"],
44 "deps": ["//root:dep_action", "//root:dep_static_lib"],
45 "externs": {},
46 "include_dirs": ["//src/include/", "//src/"],
47 "ldflags": ["-march=armv8-a", "-O0"],
48 "libs": ["log"],
49 "metadata": {},
50 "output_dir": "//out/android_arm64/tests/",
51 "outputs": [
52 "//out/android_arm64/tests/TestStreamerStdio",
53 "//out/android_arm64/tests/TestStreamerStdio.map"
54 ],
55 "public": "*",
56 "public_configs": ["//src:includes", "//src/lib:includes"],
57 "source_outputs": {
58 "//src/lib/shell/tests/TestStreamerStdioDriver.cpp": [
59 "obj/src/lib/shell/tests/TestStreamerStdio.TestStreamerStdioDriver.cpp.o"
60 ]
61 },
62 "sources": ["//src/lib/shell/tests/TestStreamerStdioDriver.cpp"],
63 "testonly": false,
64 "toolchain": "//build/toolchain/android:android_arm64",
65 "type": "executable",
66 "visibility": ["*"]
67 },
68 "//root:shared_library_test": {
69 "asmflags": ["-march=armv8-a"],
70 "cflags": ["-march=armv8-a", "-O0"],
71 "cflags_c": ["-std=gnu11"],
72 "cflags_cc": ["-std=gnu++14", "-fno-rtti"],
73 "cflags_objc": ["-std=gnu11"],
74 "cflags_objcc": ["-std=gnu++14"],
75 "check_includes": true,
76 "configs": [
77 "//build/config/compiler:abi_default",
78 "//build/config/compiler:debug_default"
79 ],
80 "defines": ["CHIP_HAVE_CONFIG_H=1"],
81 "deps": ["//root:dep_action", "//root:dep_static_lib"],
82 "externs": {},
83 "include_dirs": [
84 "//src/include/",
85 "//src/",
86 "//out/android_arm64/gen/include/",
87 "//src/lib/",
88 "//config/standalone/",
89 "//third_party/nlassert/repo/include/",
90 "//third_party/nlio/repo/include/",
Andrei Litvinf0a1c522023-08-24 18:11:39 -040091 "//third_party/nlfaultinjection/include/",
Hui.Li-TCL719b7962021-09-01 21:16:38 +080092 "//third_party/nlunit-test/repo/src/"
93 ],
94 "ldflags": ["-march=armv8-a", "-O0"],
95 "libs": ["log"],
96 "output_dir": "//out/android_arm64/tests/",
97 "outputs": [
98 "//out/android_arm64/tests/TestASN1.so",
99 "//out/android_arm64/tests/TestASN1.map"
100 ],
101 "public": "*",
102 "public_configs": ["//src:includes", "//src/lib:includes"],
103 "source_outputs": {
104 "//out/android_arm64/gen/TestASN1.driver.cpp": [
105 "obj/out/android_arm64/gen/TestASN1.TestASN1.driver.cpp.o"
106 ]
107 },
108 "sources": ["//out/android_arm64/gen/TestASN1.driver.cpp"],
109 "testonly": false,
110 "toolchain": "//build/toolchain/android:android_arm64",
111 "type": "shared_library",
112 "visibility": ["*"]
113 },
114 "//root:static_library_test": {
115 "asmflags": ["-march=armv8-a"],
116 "cflags": ["-Wconversion", "-march=armv8-a"],
117 "cflags_c": ["-std=gnu11"],
118 "cflags_cc": ["-std=gnu++14", "-fno-rtti"],
119 "cflags_objc": ["-std=gnu11"],
120 "cflags_objcc": ["-std=gnu++14"],
121 "check_includes": true,
122 "configs": [
123 "//build/config/compiler:abi_default",
124 "//build/config/compiler:debug_default"
125 ],
126 "defines": ["CHIP_HAVE_CONFIG_H=1"],
127 "deps": ["//root:dep_action", "//root:dep_static_lib"],
128 "externs": {},
129 "include_dirs": ["//src/include/", "//src/"],
130 "ldflags": ["-march=armv8-a", "-O0"],
131 "libs": ["log"],
132 "metadata": {},
133 "output_dir": "//out/android_arm64/lib/",
134 "output_name": "libTestShell",
135 "outputs": ["//out/android_arm64/lib/libTestShell.a"],
136 "public": "*",
137 "public_configs": ["//src:includes", "//src/lib:includes"],
138 "source_outputs": {
139 "//src/lib/shell/tests/TestStreamerStdio.cpp": [
140 "obj/src/lib/shell/tests/libTestShell.TestStreamerStdio.cpp.o"
141 ]
142 },
143 "sources": [
144 "//src/lib/shell/tests/TestStreamerStdio.cpp",
145 "//src/lib/shell/tests/TestStreamerStdio.h"
146 ],
147 "testonly": false,
148 "toolchain": "//build/toolchain/android:android_arm64",
149 "type": "static_library",
150 "visibility": ["*"]
151 },
152 "//root:source_set_test": {
153 "asmflags": ["-march=armv8-a"],
154 "cflags": ["-march=armv8-a", "-O0"],
155 "cflags_c": ["-std=gnu11"],
156 "cflags_cc": ["-std=gnu++14", "-fno-rtti"],
157 "cflags_objc": ["-std=gnu11"],
158 "cflags_objcc": ["-std=gnu++14"],
159 "check_includes": true,
160 "configs": [
161 "//build/config/compiler:abi_default",
162 "//build/config/compiler:debug_default"
163 ],
164 "defines": ["CHIP_HAVE_CONFIG_H=1"],
165 "deps": ["//root:dep_action", "//root:dep_static_lib"],
166 "externs": {},
167 "include_dirs": ["//src/include/", "//src/"],
168 "ldflags": ["-march=armv8-a", "-O0"],
169 "libs": ["log"],
170 "metadata": {},
171 "public": "*",
172 "public_configs": ["//src:includes", "//src/lib:includes"],
173 "source_outputs": {
174 "//src/lib/shell/Engine.cpp": [
175 "obj/src/lib/shell/shell_core.Engine.cpp.o"
176 ],
177 "//src/lib/shell/streamer.cpp": [
178 "obj/src/lib/shell/shell_core.streamer.cpp.o"
179 ]
180 },
181 "sources": [
182 "//src/lib/shell/Commands.h",
183 "//src/lib/shell/Engine.cpp"
184 ],
185 "testonly": false,
186 "toolchain": "//build/toolchain/android:android_arm64",
187 "type": "source_set",
188 "visibility": ["*"]
189 },
190 "//root:copy_test": {
191 "deps": [],
192 "metadata": {},
193 "outputs": [
194 "//out/android_arm64/lib/jni/arm64-v8a/libc++_shared.so"
195 ],
196 "public": "*",
197 "sources": [
198 "~/Library/Android/sdk/ndk/21.0.6113669/sources/cxx-stl/llvm-libc++/libs/arm64-v8a/libc++_shared.so"
199 ],
200 "testonly": false,
201 "toolchain": "//build/toolchain/android:android_arm64",
202 "type": "copy",
203 "visibility": ["*"]
204 },
205 "//root:action_test": {
206 "args": ["--gn-root", "../../"],
207 "deps": [],
208 "inputs": [
209 "//integrations/mobly/setup.py",
210 "//third_party/pigweed/repo/pw_build/py/pw_build/nop.py"
211 ],
212 "metadata": {},
213 "outputs": [
214 "//out/android_arm64/python/gen/integrations/mobly/chip_mobly.pw_pystamp"
215 ],
216 "public": "*",
217 "script": "//third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py",
218 "testonly": false,
219 "toolchain": "//third_party/pigweed/repo/pw_build/python_toolchain:python",
220 "type": "action",
221 "visibility": ["*"]
222 },
223 "//root:action_foreach_test": {
224 "args": ["--gn-root", "../../"],
225 "deps": ["//root:dep_action", "//root:dep_static_lib"],
226 "metadata": {},
227 "output_patterns": [
228 "//out/android_arm64/python/gen/integrations/mobly/{{source_target_relative}}.pylint.passed"
229 ],
230 "outputs": [
231 "//out/android_arm64/python/gen/integrations/mobly/setup.py.pylint.passed"
232 ],
233 "public": "*",
234 "script": "//third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py",
235 "source_outputs": {
236 "//integrations/mobly/setup.py": [
237 "python/gen/integrations/mobly/setup.py.pylint.passed"
238 ]
239 },
240 "sources": ["//integrations/mobly/setup.py"],
241 "testonly": false,
242 "toolchain": "//third_party/pigweed/repo/pw_build/python_toolchain:python",
243 "type": "action_foreach",
244 "visibility": ["*"]
245 },
246 "//root:generated_file_test": {
247 "data_keys": ["protoc_includes"],
248 "deps": [],
249 "metadata": {
250 "protoc_includes": [
251 "protocol_buffer/gen/third_party/pigweed/repo/pw_protobuf_compiler/test_protos.proto_library/sources"
252 ]
253 },
254 "output_conversion": "",
255 "outputs": [
256 "//out/android_arm64/protocol_buffer/gen/third_party/pigweed/repo/pw_protobuf_compiler/test_protos.proto_library/includes.txt"
257 ],
258 "public": "*",
259 "rebase": null,
260 "testonly": false,
261 "toolchain": "//third_party/pigweed/repo/pw_protobuf_compiler/toolchain:protocol_buffer",
262 "type": "generated_file",
263 "visibility": ["*"],
264 "walk_keys": [""]
265 },
266 "//root:dep_action": {
267 "args": ["--gn-root", "../../"],
268 "deps": [],
269 "inputs": [
270 "//integrations/mobly/setup.py",
271 "//third_party/pigweed/repo/pw_build/py/pw_build/nop.py"
272 ],
273 "metadata": {},
274 "outputs": [
275 "//out/android_arm64/python/gen/integrations/mobly/chip_mobly.pw_pystamp"
276 ],
277 "public": "*",
278 "script": "//third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py",
279 "testonly": false,
280 "toolchain": "//third_party/pigweed/repo/pw_build/python_toolchain:python",
281 "type": "action",
282 "visibility": ["*"]
283 },
284 "//root:dep_static_lib": {
285 "defines": ["DEP_DEFINES=1"],
286 "include_dirs": ["//dep/include/", "//dep/"],
287 "ldflags": ["-deps"],
288 "libs": ["deplog"],
289 "metadata": {},
290 "output_dir": "//out/android_arm64/lib/",
291 "output_name": "libTestShell",
292 "outputs": ["//out/android_arm64/lib/libTestShell.a"],
293 "public": "*",
294 "public_configs": ["//src:includes", "//src/lib:includes"],
295 "source_outputs": {
296 "//src/lib/shell/tests/TestStreamerStdio.cpp": [
297 "obj/src/lib/shell/tests/libTestShell.TestStreamerStdio.cpp.o"
298 ]
299 },
300 "sources": [
301 "//src/lib/shell/tests/TestStreamerStdio.cpp",
302 "//src/lib/shell/tests/TestStreamerStdio.h"
303 ],
304 "type": "static_library"
305 }
306 }
307}