blob: 38d06518b8b12185e7b228c008ec1f3d501a65c3 [file] [log] [blame]
Colin Cross6b22aa52016-09-12 14:35:39 -07001//
2// Copyright (C) 2016 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17art_cc_defaults {
Colin Cross6e95dd52016-09-12 15:37:10 -070018 name: "art_test_defaults",
19 host_supported: true,
Colin Crossafd3c9e2016-09-16 13:47:21 -070020 target: {
21 android_arm: {
22 relative_install_path: "art/arm",
23 },
24 android_arm64: {
25 relative_install_path: "art/arm64",
26 },
27 android_mips: {
28 relative_install_path: "art/mips",
29 },
30 android_mips64: {
31 relative_install_path: "art/mips64",
32 },
33 android_x86: {
34 relative_install_path: "art/x86",
35 },
36 android_x86_64: {
37 relative_install_path: "art/x86_64",
38 },
Colin Crossfd5428b2016-09-19 10:40:05 -070039 darwin: {
40 enabled: false,
41 },
Colin Crossafd3c9e2016-09-16 13:47:21 -070042 },
Dan Albertb5d36de2016-09-21 14:56:51 -070043 cflags: [
44 "-Wno-frame-larger-than=",
45 ],
Colin Crossafd3c9e2016-09-16 13:47:21 -070046}
47
48art_cc_defaults {
49 name: "art_gtest_defaults",
Colin Cross6e95dd52016-09-12 15:37:10 -070050 test_per_src: true,
51 // These really are gtests, but the gtest library comes from libart-gtest.so
52 gtest: false,
53 defaults: [
Colin Crossafd3c9e2016-09-16 13:47:21 -070054 "art_test_defaults",
Andreas Gampe5115efb2017-05-24 16:55:54 -070055 "art_debug_defaults",
56 "art_defaults",
Colin Cross6e95dd52016-09-12 15:37:10 -070057 ],
58
59 shared_libs: [
60 "libartd",
61 "libartd-disassembler",
62 "libvixld-arm",
63 "libvixld-arm64",
64 "libart-gtest",
65
Andreas Gampe3fec9ac2016-09-13 10:47:28 -070066 "libbase",
Colin Cross6e95dd52016-09-12 15:37:10 -070067 "libicuuc",
68 "libicui18n",
69 "libnativehelper",
70 ],
71 whole_static_libs: [
72 "libsigchain",
73 ],
Colin Cross6e95dd52016-09-12 15:37:10 -070074
75 target: {
76 linux: {
77 ldflags: [
78 // Allow jni_compiler_test to find Java_MyClassNatives_bar
79 // within itself using dlopen(NULL, ...).
80 // Mac OS linker doesn't understand --export-dynamic.
81 "-Wl,--export-dynamic",
82 "-Wl,-u,Java_MyClassNatives_bar",
83 "-Wl,-u,Java_MyClassNatives_sbar",
84 ],
85 shared_libs: [
86 "libziparchive",
87 "libz-host",
88 ],
89 host_ldlibs: [
90 "-ldl",
91 "-lpthread",
92 ],
93 cflags: [
94 // gtest issue
95 "-Wno-used-but-marked-unused",
96 "-Wno-deprecated",
97 "-Wno-missing-noreturn",
98 ],
99 },
100 android: {
101 ldflags: [
102 // Allow jni_compiler_test to find Java_MyClassNatives_bar
103 // within itself using dlopen(NULL, ...).
104 "-Wl,--export-dynamic",
105 "-Wl,-u,Java_MyClassNatives_bar",
106 "-Wl,-u,Java_MyClassNatives_sbar",
107 ],
108 shared_libs: [
Dimitry Ivanov9642b1b2016-09-28 02:44:00 -0700109 "liblog",
Colin Cross6e95dd52016-09-12 15:37:10 -0700110 "libdl",
111 "libz",
112 ],
113 cflags: [
114 // gtest issue
115 "-Wno-used-but-marked-unused",
116 "-Wno-deprecated",
117 "-Wno-missing-noreturn",
118 ],
119 },
Colin Cross6e95dd52016-09-12 15:37:10 -0700120 },
121}
122
123art_cc_defaults {
Colin Cross6b22aa52016-09-12 14:35:39 -0700124 name: "libart-gtest-defaults",
125 host_supported: true,
126 defaults: [
Colin Cross6b22aa52016-09-12 14:35:39 -0700127 "art_debug_defaults",
Andreas Gampe5115efb2017-05-24 16:55:54 -0700128 "art_defaults",
Colin Cross6b22aa52016-09-12 14:35:39 -0700129 ],
130 shared_libs: [
131 "libartd",
132 "libartd-compiler",
133 ],
134 static_libs: [
135 "libgtest",
136 ],
137 target: {
138 android32: {
Colin Crossc5c71872016-09-15 21:07:29 -0700139 cflags: ["-DART_TARGET_NATIVETEST_DIR=/data/nativetest/art"],
Colin Cross6b22aa52016-09-12 14:35:39 -0700140 },
141 android64: {
142 cflags: ["-DART_TARGET_NATIVETEST_DIR=/data/nativetest64/art"],
143 },
144 android: {
145 cflags: [
146 // gtest issue
147 "-Wno-used-but-marked-unused",
148 "-Wno-deprecated",
149 "-Wno-missing-noreturn",
150 ],
151 },
152 linux: {
153 cflags: [
154 // gtest issue
155 "-Wno-used-but-marked-unused",
156 "-Wno-deprecated",
157 "-Wno-missing-noreturn",
158 ],
159 },
Colin Cross942036f2016-09-15 16:24:51 -0700160 darwin: {
161 enabled: false,
162 },
Colin Cross6b22aa52016-09-12 14:35:39 -0700163 },
164}
165
166art_cc_library {
167 name: "libart-gtest",
168 host_supported: true,
169 whole_static_libs: [
170 "libart-compiler-gtest",
171 "libart-runtime-gtest",
Calin Juravle36eb3132017-01-13 16:32:38 -0800172 "libgtest"
Colin Cross6b22aa52016-09-12 14:35:39 -0700173 ],
174 shared_libs: [
175 "libartd",
176 "libartd-compiler",
Colin Crossf0af9062016-10-21 10:50:31 -0700177 "libbase",
Calin Juravle36eb3132017-01-13 16:32:38 -0800178 "libbacktrace"
Colin Cross6b22aa52016-09-12 14:35:39 -0700179 ],
180 target: {
181 android: {
182 shared_libs: [
183 "libdl",
184 ],
185 },
186 host: {
187 host_ldlibs: [
188 "-ldl",
189 "-lpthread",
190 ],
191 },
Colin Cross942036f2016-09-15 16:24:51 -0700192 darwin: {
193 enabled: false,
194 },
Colin Cross6b22aa52016-09-12 14:35:39 -0700195 },
196}
Colin Crossafd3c9e2016-09-16 13:47:21 -0700197
198cc_defaults {
199 name: "libartagent-defaults",
200 defaults: [
Colin Crossafd3c9e2016-09-16 13:47:21 -0700201 "art_test_defaults",
Andreas Gampe5115efb2017-05-24 16:55:54 -0700202 "art_defaults",
Colin Crossafd3c9e2016-09-16 13:47:21 -0700203 ],
204 shared_libs: [
205 "libbacktrace",
Andreas Gampe3fec9ac2016-09-13 10:47:28 -0700206 "libbase",
Colin Crossafd3c9e2016-09-16 13:47:21 -0700207 "libnativehelper",
208 ],
209 target: {
210 android: {
211 shared_libs: ["libdl"],
212 },
213 host: {
214 host_ldlibs: [
215 "-ldl",
216 "-lpthread",
217 ],
218 },
219 },
220}
221
222art_cc_test_library {
223 name: "libartagent",
224 srcs: ["900-hello-plugin/load_unload.cc"],
225 defaults: ["libartagent-defaults"],
226 shared_libs: ["libart"],
227}
228
229art_cc_test_library {
230 name: "libartagentd",
231 srcs: ["900-hello-plugin/load_unload.cc"],
232 defaults: [
Colin Crossafd3c9e2016-09-16 13:47:21 -0700233 "art_debug_defaults",
Andreas Gampe5115efb2017-05-24 16:55:54 -0700234 "libartagent-defaults",
Colin Crossafd3c9e2016-09-16 13:47:21 -0700235 ],
236 shared_libs: ["libartd"],
237}
238
Andreas Gampee54d9922016-10-11 19:55:37 -0700239art_cc_defaults {
Andreas Gampe027444b2017-03-31 12:49:07 -0700240 name: "libtiagent-base-defaults",
Colin Crossafd3c9e2016-09-16 13:47:21 -0700241 defaults: ["libartagent-defaults"],
242 srcs: [
Andreas Gampe027444b2017-03-31 12:49:07 -0700243 // These are the ART-independent parts.
Andreas Gampe46651672017-04-07 09:00:04 -0700244 "ti-agent/agent_common.cc",
Andreas Gampe027444b2017-03-31 12:49:07 -0700245 "ti-agent/agent_startup.cc",
Andreas Gampe3f46c962017-03-30 10:26:59 -0700246 "ti-agent/jni_binder.cc",
247 "ti-agent/jvmti_helper.cc",
248 "ti-agent/test_env.cc",
Alex Lightd0d65962017-06-30 11:13:33 -0700249 "ti-agent/breakpoint_helper.cc",
Alex Light78d63412017-04-14 16:20:53 -0700250 "ti-agent/common_helper.cc",
Alex Lighte814f9d2017-07-31 16:14:39 -0700251 "ti-agent/frame_pop_helper.cc",
Alex Light47d49b82017-07-25 14:06:34 -0700252 "ti-agent/locals_helper.cc",
Alex Lightce568642017-09-05 16:54:25 -0700253 "ti-agent/monitors_helper.cc",
Alex Lightd0d65962017-06-30 11:13:33 -0700254 "ti-agent/redefinition_helper.cc",
Alex Light88fd7202017-06-30 08:31:59 -0700255 "ti-agent/suspension_helper.cc",
Alex Light47d49b82017-07-25 14:06:34 -0700256 "ti-agent/stack_trace_helper.cc",
Alex Lightd0d65962017-06-30 11:13:33 -0700257 "ti-agent/trace_helper.cc",
Alex Light9fb1ab12017-09-05 09:32:49 -0700258 "ti-agent/exceptions_helper.cc",
Andreas Gampe027444b2017-03-31 12:49:07 -0700259 // This is the list of non-special OnLoad things and excludes BCI and anything that depends
260 // on ART internals.
Andreas Gampe6dee92e2016-09-12 19:58:13 -0700261 "903-hello-tagging/tagging.cc",
Andreas Gampe27fa96c2016-10-07 15:05:24 -0700262 "904-object-allocation/tracking.cc",
Andreas Gampecc13b222016-10-10 19:09:09 -0700263 "905-object-free/tracking_free.cc",
Andreas Gampee54d9922016-10-11 19:55:37 -0700264 "906-iterate-heap/iterate_heap.cc",
Andreas Gampeaa8b60c2016-10-12 12:51:25 -0700265 "907-get-loaded-classes/get_loaded_classes.cc",
Andreas Gampe9b8c5882016-10-21 15:27:46 -0700266 "908-gc-start-finish/gc_callbacks.cc",
Andreas Gampe3c252f02016-10-27 18:25:17 -0700267 "910-methods/methods.cc",
Andreas Gampeb5eb94a2016-10-27 19:23:09 -0700268 "911-get-stack-trace/stack_trace.cc",
Andreas Gamped5f2ccc2017-04-19 13:37:48 -0700269 "912-classes/classes.cc",
Andreas Gampee0f8ed92017-04-13 16:52:23 -0700270 "913-heaps/heaps.cc",
Andreas Gampeab2f0d02017-01-05 17:23:45 -0800271 "918-fields/fields.cc",
Andreas Gampe50a4e492017-01-06 18:00:20 -0800272 "920-objects/objects.cc",
Andreas Gampe1bdaf732017-01-09 19:21:06 -0800273 "922-properties/properties.cc",
Andreas Gampe319dbe82017-01-09 16:42:21 -0800274 "923-monitors/monitors.cc",
Andreas Gampeaf13ab92017-01-11 20:57:40 -0800275 "924-threads/threads.cc",
Andreas Gamped18d9e22017-01-16 16:08:45 +0000276 "925-threadgroups/threadgroups.cc",
Andreas Gampe35bcf812017-01-13 16:24:17 -0800277 "927-timers/timers.cc",
Andreas Gampe6f8e4f02017-01-16 18:18:14 -0800278 "928-jni-table/jni_table.cc",
Andreas Gampece7732b2017-01-17 15:50:26 -0800279 "929-search/search.cc",
Andreas Gampe732b0ac2017-01-18 15:23:39 -0800280 "931-agent-thread/agent_thread.cc",
Andreas Gampeeb0cea12017-01-23 08:50:04 -0800281 "933-misc-events/misc_events.cc",
Alex Light78d63412017-04-14 16:20:53 -0700282 "945-obsolete-native/obsolete_native.cc",
283 "984-obsolete-invoke/obsolete_invoke.cc",
Alex Lightd78ddec2017-04-18 15:20:38 -0700284 "986-native-method-bind/native_bind.cc",
Alex Light65af20b2017-04-20 09:15:08 -0700285 "987-agent-bind/agent_bind.cc",
Alex Lightb7edcda2017-04-27 13:20:31 -0700286 "989-method-trace-throw/method_trace.cc",
Alex Light7c958492017-06-16 08:59:19 -0700287 "991-field-trace-2/field_trace.cc",
Alex Light6fa7b812017-06-16 09:04:29 -0700288 "992-source-data/source_file.cc",
Alex Lightc38c3692017-06-27 15:45:14 -0700289 "993-breakpoints/breakpoints.cc",
290 "996-breakpoint-obsolete/obsolete_breakpoints.cc",
Alex Light8ddfd9f2017-07-05 16:33:46 -0700291 "1900-track-alloc/alloc.cc",
Alex Light4c174282017-07-05 10:18:18 -0700292 "1901-get-bytecodes/bytecodes.cc",
Alex Light88fd7202017-06-30 08:31:59 -0700293 "1905-suspend-native/native_suspend.cc",
294 "1908-suspend-native-resume-self/native_suspend_resume.cc",
Alex Light092a4042017-07-12 08:46:44 -0700295 "1909-per-agent-tls/agent_tls.cc",
Alex Light47d49b82017-07-25 14:06:34 -0700296 "1914-get-local-instance/local_instance.cc",
Alex Light1d8a9742017-08-17 11:12:06 -0700297 "1919-vminit-thread-start-timing/vminit.cc",
Alex Light23aa7482017-08-16 10:01:13 -0700298 "1920-suspend-native-monitor/native_suspend_monitor.cc",
299 "1921-suspend-native-recursive-monitor/native_suspend_recursive_monitor.cc",
Alex Light88e1ddd2017-08-21 13:09:55 -0700300 "1922-owned-monitors-info/owned_monitors.cc",
Alex Lighte814f9d2017-07-31 16:14:39 -0700301 "1924-frame-pop-toggle/frame_pop_toggle.cc",
302 "1926-missed-frame-pop/frame_pop_missed.cc",
Alex Lightce568642017-09-05 16:54:25 -0700303 "1927-exception-event/exception_event.cc",
304 "1930-monitor-info/monitor.cc",
Alex Light77fee872017-09-05 14:51:49 -0700305 "1932-monitor-events-misc/monitor_misc.cc"
Colin Crossafd3c9e2016-09-16 13:47:21 -0700306 ],
307 shared_libs: [
Andreas Gampe3fec9ac2016-09-13 10:47:28 -0700308 "libbase",
Andreas Gampee54d9922016-10-11 19:55:37 -0700309 ],
Andreas Gampe5e03a302017-03-13 13:10:00 -0700310 header_libs: ["libopenjdkjvmti_headers"],
Andreas Gampe3f46c962017-03-30 10:26:59 -0700311 include_dirs: ["art/test/ti-agent"],
Andreas Gampee54d9922016-10-11 19:55:37 -0700312}
313
Andreas Gampe027444b2017-03-31 12:49:07 -0700314art_cc_defaults {
315 name: "libtiagent-defaults",
316 defaults: ["libtiagent-base-defaults"],
317 srcs: [
318 // This is to get the IsInterpreted native method.
319 "common/stack_inspect.cc",
320 "common/runtime_state.cc",
Alex Light78d63412017-04-14 16:20:53 -0700321 "ti-agent/common_load.cc",
Andreas Gampe027444b2017-03-31 12:49:07 -0700322 // This includes the remaining test functions. We should try to refactor things to
323 // make this list smaller.
Andreas Gampe027444b2017-03-31 12:49:07 -0700324 "901-hello-ti-agent/basics.cc",
325 "909-attach-agent/attach.cc",
Andreas Gamped5f2ccc2017-04-19 13:37:48 -0700326 "912-classes/classes_art.cc",
Andreas Gampe027444b2017-03-31 12:49:07 -0700327 "936-search-onload/search_onload.cc",
Andreas Gampe027444b2017-03-31 12:49:07 -0700328 "983-source-transform-verify/source_transform.cc",
329 ],
330}
331
Andreas Gampee54d9922016-10-11 19:55:37 -0700332art_cc_test_library {
333 name: "libtiagent",
334 defaults: ["libtiagent-defaults"],
Andreas Gampe6e3dd3e2016-11-17 17:13:53 -0800335 shared_libs: ["libart"],
Colin Crossafd3c9e2016-09-16 13:47:21 -0700336}
337
338art_cc_test_library {
339 name: "libtiagentd",
340 defaults: [
Colin Crossafd3c9e2016-09-16 13:47:21 -0700341 "art_debug_defaults",
Andreas Gampe5115efb2017-05-24 16:55:54 -0700342 "libtiagent-defaults",
Colin Crossafd3c9e2016-09-16 13:47:21 -0700343 ],
Andreas Gampe6e3dd3e2016-11-17 17:13:53 -0800344 shared_libs: ["libartd"],
Colin Crossafd3c9e2016-09-16 13:47:21 -0700345}
346
Alex Light8f2c6d42017-04-10 16:27:35 -0700347art_cc_defaults {
348 name: "libtistress-defaults",
349 defaults: ["libartagent-defaults"],
350 srcs: [
351 "ti-stress/stress.cc",
352 ],
353 shared_libs: [
354 "libbase",
Alex Lightceae9542017-09-07 13:28:00 -0700355 "slicer",
Alex Light8f2c6d42017-04-10 16:27:35 -0700356 ],
357 header_libs: ["libopenjdkjvmti_headers"],
358}
359
360art_cc_test_library {
361 name: "libtistress",
362 defaults: [ "libtistress-defaults"],
363 shared_libs: ["libart"],
364}
365
366art_cc_test_library {
367 name: "libtistressd",
368 defaults: [
Alex Light8f2c6d42017-04-10 16:27:35 -0700369 "art_debug_defaults",
Andreas Gampe5115efb2017-05-24 16:55:54 -0700370 "libtistress-defaults",
Alex Light8f2c6d42017-04-10 16:27:35 -0700371 ],
372 shared_libs: ["libartd"],
373}
374
Andreas Gampe027444b2017-03-31 12:49:07 -0700375art_cc_test_library {
376 name: "libctstiagent",
377 defaults: ["libtiagent-base-defaults"],
378 export_include_dirs: ["ti-agent"],
379}
380
Colin Crossafd3c9e2016-09-16 13:47:21 -0700381cc_defaults {
382 name: "libarttest-defaults",
383 defaults: [
Colin Crossafd3c9e2016-09-16 13:47:21 -0700384 "art_test_defaults",
Andreas Gampe5115efb2017-05-24 16:55:54 -0700385 "art_defaults",
Colin Crossafd3c9e2016-09-16 13:47:21 -0700386 ],
387 srcs: [
388 "common/runtime_state.cc",
389 "common/stack_inspect.cc",
390 "004-JniTest/jni_test.cc",
391 "004-SignalTest/signaltest.cc",
392 "004-ReferenceMap/stack_walk_refmap_jni.cc",
393 "004-StackWalk/stack_walk_jni.cc",
394 "004-ThreadStress/thread_stress.cc",
395 "004-UnsafeTest/unsafe_test.cc",
396 "044-proxy/native_proxy.cc",
397 "051-thread/thread_test.cc",
398 "117-nopatchoat/nopatchoat.cc",
399 "1337-gc-coverage/gc_coverage.cc",
400 "136-daemon-jni-shutdown/daemon_jni_shutdown.cc",
401 "137-cfi/cfi.cc",
402 "139-register-natives/regnative.cc",
403 "141-class-unload/jni_unload.cc",
404 "148-multithread-gc-annotations/gc_coverage.cc",
405 "149-suspend-all-stress/suspend_all.cc",
Mathieu Chartier72a32892017-01-24 09:40:56 -0800406 "154-gc-loop/heap_interface.cc",
Colin Crossafd3c9e2016-09-16 13:47:21 -0700407 "454-get-vreg/get_vreg_jni.cc",
408 "457-regs/regs_jni.cc",
409 "461-get-reference-vreg/get_reference_vreg_jni.cc",
410 "466-get-live-vreg/get_live_vreg_jni.cc",
411 "497-inlining-and-class-loader/clear_dex_cache.cc",
412 "543-env-long-ref/env_long_ref.cc",
413 "566-polymorphic-inlining/polymorphic_inline.cc",
414 "570-checker-osr/osr.cc",
415 "595-profile-saving/profile-saving.cc",
416 "596-app-images/app_images.cc",
Hans Boehm6fe97e02016-05-04 18:35:57 -0700417 "596-monitor-inflation/monitor_inflation.cc",
Colin Crossafd3c9e2016-09-16 13:47:21 -0700418 "597-deopt-new-string/deopt.cc",
Vladimir Markoc5798bf2016-12-09 10:20:54 +0000419 "626-const-class-linking/clear_dex_cache_types.cc",
Nicolas Geoffray13a797b2017-03-15 16:41:31 +0000420 "642-fp-callees/fp_callees.cc",
Vladimir Marko5fdd7782017-04-20 11:26:03 +0100421 "647-jni-get-field-id/get_field_id.cc",
Roland Levillain0d2323e2017-06-26 18:14:39 +0100422 "656-annotation-lookup-generic-jni/test.cc",
Igor Murashkin545412b2017-08-17 15:26:54 -0700423 "661-oat-writer-layout/oat_writer_layout.cc",
424 "664-aget-verifier/aget-verifier.cc",
Orion Hodsoneced6922017-06-01 10:54:28 +0100425 "708-jit-cache-churn/jit.cc"
Colin Crossafd3c9e2016-09-16 13:47:21 -0700426 ],
427 shared_libs: [
428 "libbacktrace",
Andreas Gampe3fec9ac2016-09-13 10:47:28 -0700429 "libbase",
Colin Crossafd3c9e2016-09-16 13:47:21 -0700430 "libnativehelper",
431 ],
432 target: {
433 android: {
434 shared_libs: ["libdl"],
435 },
436 host: {
437 host_ldlibs: [
438 "-ldl",
439 "-lpthread",
440 ],
441 },
442 },
443}
444
445art_cc_test_library {
446 name: "libarttest",
447 defaults: ["libarttest-defaults"],
448 shared_libs: ["libart"],
449}
450
451art_cc_test_library {
452 name: "libarttestd",
453 defaults: [
Colin Crossafd3c9e2016-09-16 13:47:21 -0700454 "art_debug_defaults",
Andreas Gampe5115efb2017-05-24 16:55:54 -0700455 "libarttest-defaults",
Colin Crossafd3c9e2016-09-16 13:47:21 -0700456 ],
457 shared_libs: ["libartd"],
458}
459
460art_cc_test_library {
461 name: "libnativebridgetest",
462 shared_libs: ["libart"],
463 defaults: [
Colin Crossafd3c9e2016-09-16 13:47:21 -0700464 "art_test_defaults",
Andreas Gampe5115efb2017-05-24 16:55:54 -0700465 "art_debug_defaults",
466 "art_defaults",
Colin Crossafd3c9e2016-09-16 13:47:21 -0700467 ],
Steven Morelandc7affbd2017-07-06 11:26:51 -0700468 header_libs: ["libnativebridge-dummy-headers"],
Colin Crossafd3c9e2016-09-16 13:47:21 -0700469 srcs: ["115-native-bridge/nativebridge.cc"],
470 target: {
471 android: {
472 shared_libs: ["libdl"],
473 },
474 host: {
475 host_ldlibs: [
476 "-ldl",
477 "-lpthread",
478 ],
479 },
480 linux: {
481 host_ldlibs: ["-lrt"],
482 },
483 },
484}