Skip to content

Commit 78b1b1b

Browse files
Treehugger RobotGerrit Code Review
Treehugger Robot
authored and
Gerrit Code Review
committed
Merge "Move simpleperf_report_lib to the scripts folder"
2 parents 05933fa + 8f8ce57 commit 78b1b1b

File tree

2 files changed

+28
-13
lines changed

2 files changed

+28
-13
lines changed

simpleperf/Android.bp

-13
Original file line numberDiff line numberDiff line change
@@ -709,19 +709,6 @@ cc_test {
709709
},
710710
}
711711

712-
python_library_host {
713-
name: "simpleperf_report_lib",
714-
srcs: [
715-
"scripts/simpleperf_report_lib.py",
716-
"scripts/simpleperf_utils.py",
717-
],
718-
data: [
719-
"scripts/bin/darwin/x86_64/libsimpleperf_report.dylib",
720-
"scripts/bin/linux/x86_64/libsimpleperf_report.so",
721-
"scripts/bin/windows/**/*.dll",
722-
],
723-
}
724-
725712
filegroup {
726713
name: "system-extras-simpleperf-testdata",
727714
srcs: ["CtsSimpleperfTestCases_testdata/**/*"],

simpleperf/scripts/Android.bp

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
//
2+
// Copyright (C) 2022 The Android Open Source Project
3+
//
4+
// Licensed under the Apache License, Version 2.0 (the "License");
5+
// you may not use this file except in compliance with the License.
6+
// You may obtain a copy of the License at
7+
//
8+
// http://www.apache.org/licenses/LICENSE-2.0
9+
//
10+
// Unless required by applicable law or agreed to in writing, software
11+
// distributed under the License is distributed on an "AS IS" BASIS,
12+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
// See the License for the specific language governing permissions and
14+
// limitations under the License.
15+
//
16+
17+
python_library_host {
18+
name: "simpleperf_report_lib",
19+
srcs: [
20+
"simpleperf_report_lib.py",
21+
"simpleperf_utils.py",
22+
],
23+
data: [
24+
"bin/darwin/x86_64/libsimpleperf_report.dylib",
25+
"bin/linux/x86_64/libsimpleperf_report.so",
26+
"bin/windows/**/*.dll",
27+
],
28+
}

0 commit comments

Comments
 (0)