• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2020 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15cc_library_headers {
16    name: "fxdiv_headers",
17    export_include_dirs: ["include"],
18    vendor_available: true,
19    sdk_version: "current",
20}
21
22cc_defaults {
23    name: "fxdiv_tests_default",
24    sdk_version: "current",
25    cflags: [
26        "-Wno-missing-field-initializers",
27    ],
28    header_libs: [
29        "fxdiv_headers",
30    ],
31    stl: "libc++_static",
32    static_libs: [
33        "libgmock_ndk",
34    ]
35}
36
37cc_test {
38    name: "FxdivMultiplyHighTests",
39    defaults: ["fxdiv_tests_default"],
40    srcs: [
41        "test/multiply-high.cc",
42    ],
43    test_suites: [
44        "general-tests",
45    ],
46}
47
48cc_test {
49    name: "FxdivQuotientTests",
50    defaults: ["fxdiv_tests_default"],
51    srcs: [
52        "test/quotient.cc",
53    ],
54    test_suites: [
55        "general-tests",
56    ],
57}
58