• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright (C) 2017 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
17package {
18    default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
21cc_binary {
22    name: "memcpy",
23    srcs: ["memcpy.cpp"],
24    cppflags: [
25        "-g",
26        "-O0",
27        "-Wall",
28        "-Werror",
29        "-Wno-missing-field-initializers",
30        "-Wno-sign-compare",
31    ],
32}
33
34cc_binary {
35    name: "memcpy-16kb",
36    srcs: ["memcpy-16kb.cpp"],
37    cppflags: [
38        "-g",
39        "-O0",
40        "-Wall",
41        "-Werror",
42        "-Wno-missing-field-initializers",
43        "-Wno-sign-compare",
44    ],
45}
46
47cc_binary {
48    name: "memcpy-2048kb",
49    srcs: ["memcpy-2048kb.cpp"],
50    cppflags: [
51        "-g",
52        "-O0",
53        "-Wall",
54        "-Werror",
55        "-Wno-missing-field-initializers",
56        "-Wno-sign-compare",
57    ],
58}
59
60cc_binary {
61    name: "memcpy-byte",
62    srcs: ["memcpy-byte.cpp"],
63    cppflags: [
64        "-g",
65        "-O0",
66        "-Wall",
67        "-Werror",
68        "-Wno-missing-field-initializers",
69        "-Wno-sign-compare",
70    ],
71}
72
73cc_binary {
74    name: "while-true",
75    srcs: ["while-true.cpp"],
76    cppflags: [
77        "-g",
78        "-O0",
79        "-Wall",
80        "-Werror",
81        "-Wno-missing-field-initializers",
82        "-Wno-sign-compare",
83    ],
84}
85
86cc_binary {
87    name: "simd",
88    srcs: ["simd.cpp"],
89    header_libs: [
90        "libeigen",
91    ],
92    cppflags: [
93        "-O2",
94        "-Wall",
95        "-Werror",
96        "-Wno-missing-field-initializers",
97        "-Wno-sign-compare",
98    ],
99}
100
101cc_binary {
102    name: "pss",
103    srcs: ["pss.cpp"],
104    shared_libs: [
105        "libmeminfo",
106        "libbase",
107    ],
108    cppflags: [
109        "-g",
110        "-O0",
111        "-Wall",
112        "-Werror",
113        "-Wno-missing-field-initializers",
114        "-Wno-sign-compare",
115    ],
116}
117