blob: cc2a6f7e31498a12c2ae68b8f83d8371d2cc4176 [file] [log] [blame]
Dan Willemsen59e086f2016-07-25 17:13:45 -07001// Copyright 2012 The Android Open Source Project
2
3cc_binary {
4 name: "atrace",
5 srcs: ["atrace.cpp"],
Chih-Hung Hsieh734e3782017-10-05 13:44:13 -07006 cflags: [
7 "-Wall",
8 "-Werror",
9 ],
Dan Willemsen59e086f2016-07-25 17:13:45 -070010
11 shared_libs: [
12 "libbinder",
Martijn Coenenee9b97e2016-11-16 16:00:26 +010013 "libhwbinder",
Martijn Coenenee9b97e2016-11-16 16:00:26 +010014 "libhidlbase",
15 "libhidltransport",
Dimitry Ivanov421e6582016-09-23 17:22:33 -070016 "liblog",
Dan Willemsen59e086f2016-07-25 17:13:45 -070017 "libutils",
Corey Tabakac9f1c322017-10-11 10:49:57 -070018 "libcutils",
Dan Willemsen59e086f2016-07-25 17:13:45 -070019 "libz",
20 "libbase",
Corey Tabakaa6c0a722017-05-31 16:37:40 -070021 "libpdx_default_transport",
Wei Wang16a63a42018-09-21 15:47:45 -070022 "android.hardware.atrace@1.0",
Corey Tabakaa6c0a722017-05-31 16:37:40 -070023 ],
Dan Willemsen59e086f2016-07-25 17:13:45 -070024
25 init_rc: ["atrace.rc"],
Carmen Jackson4acf7ca2017-04-14 11:58:58 -070026
27 product_variables: {
28 debuggable: {
29 init_rc: ["atrace_userdebug.rc"],
30 },
31 },
Dan Willemsen59e086f2016-07-25 17:13:45 -070032}