ART: Change SCOPED_TRACE implementation

Move to a LOG-like usage pattern. This improves usability in the
presence of lock annotations.

Demonstrate in the JIT compiler, where a lambda would require
a REQUIRES_SHARED annotation.

Test: m
Test: manual
Change-Id: I9da2bfb29ed11660dbeb6f114a3d6c7ffef3a26d
diff --git a/compiler/Android.bp b/compiler/Android.bp
index 37a18cb..fc19b54 100644
--- a/compiler/Android.bp
+++ b/compiler/Android.bp
@@ -181,15 +181,10 @@
             ],
         },
     },
-    target: {
-        android: {
-            // For atrace.
-            shared_libs: ["libcutils"],
-        },
-    },
     generated_sources: ["art_compiler_operator_srcs"],
     shared_libs: [
         "libbase",
+        "libcutils",  // for atrace.
         "liblzma",
     ],
     include_dirs: ["art/disassembler"],