OSDN Git Service

simpleperf: add an explicit "simpleperf" target.
authorElliott Hughes <enh@google.com>
Tue, 2 Apr 2019 20:00:55 +0000 (13:00 -0700)
committerElliott Hughes <enh@google.com>
Tue, 2 Apr 2019 20:00:55 +0000 (13:00 -0700)
This lets us set up the aosp-simpleperf-release branch to just build
simpleperf.

Bug: http://b/128690014
Test: manual
Change-Id: Ida8c4df5f6563b050a1399028fac31e7d1737f52

simpleperf/Android.bp

index f7fbc2d..be13420 100644 (file)
@@ -350,7 +350,7 @@ cc_binary {
         "simpleperf_static_libs",
     ],
     dist: {
-        targets: ["sdk", "win_sdk"],
+        targets: ["sdk", "win_sdk", "simpleperf"],
     },
     srcs: [
         "main.cpp",
@@ -454,7 +454,7 @@ cc_library_shared {
         "simpleperf_static_libs",
     ],
     dist: {
-        targets: ["sdk", "win_sdk"],
+        targets: ["sdk", "win_sdk", "simpleperf"],
     },
     srcs: [
         "report_lib_interface.cpp",