1// Copyright 2012 The Android Open Source Project 2 3package { 4 default_applicable_licenses: ["frameworks_native_cmds_atrace_license"], 5} 6 7// Added automatically by a large-scale-change 8// See: http://go/android-license-faq 9license { 10 name: "frameworks_native_cmds_atrace_license", 11 visibility: [":__subpackages__"], 12 license_kinds: [ 13 "SPDX-license-identifier-Apache-2.0", 14 ], 15 license_text: [ 16 "NOTICE", 17 ], 18} 19 20cc_binary { 21 name: "atrace", 22 srcs: ["atrace.cpp"], 23 cflags: [ 24 "-Wall", 25 "-Werror", 26 ], 27 28 shared_libs: [ 29 "libbinder", 30 "libhidlbase", 31 "liblog", 32 "libutils", 33 "libcutils", 34 "libz", 35 "libbase", 36 "libpdx_default_transport", 37 "android.hardware.atrace@1.0", 38 ], 39 40 init_rc: ["atrace.rc"], 41 required: ["ftrace_synthetic_events.conf"], 42 43 product_variables: { 44 debuggable: { 45 init_rc: ["atrace_userdebug.rc"], 46 }, 47 }, 48} 49 50prebuilt_etc { 51 name: "ftrace_synthetic_events.conf", 52 src: "ftrace_synthetic_events.conf", 53} 54