blob: e06f937ccef148b2b336f050f9ed930544106078 [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",
18 "libz",
19 "libbase",
20 ],
21
22 init_rc: ["atrace.rc"],
Carmen Jackson4acf7ca2017-04-14 11:58:58 -070023
24 product_variables: {
25 debuggable: {
26 init_rc: ["atrace_userdebug.rc"],
27 },
28 },
Dan Willemsen59e086f2016-07-25 17:13:45 -070029}