• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2015 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_defaults {
16    name: "eigen-defaults",
17    srcs: [
18        "single.cpp",
19        "double.cpp",
20        "complex_single.cpp",
21        "complex_double.cpp",
22        "xerbla.cpp",
23        "f2c/complexdots.c",
24        "f2c/srotm.c",
25        "f2c/srotmg.c",
26        "f2c/drotm.c",
27        "f2c/drotmg.c",
28        "f2c/lsame.c",
29        "f2c/dspmv.c",
30        "f2c/ssbmv.c",
31        "f2c/chbmv.c",
32        "f2c/sspmv.c",
33        "f2c/zhbmv.c",
34        "f2c/chpmv.c",
35        "f2c/dsbmv.c",
36        "f2c/zhpmv.c",
37        "f2c/dtbmv.c",
38        "f2c/stbmv.c",
39        "f2c/ctbmv.c",
40        "f2c/ztbmv.c",
41        "f2c/d_cnjg.c",
42        "f2c/r_cnjg.c",
43    ],
44    cflags: [
45        "-Werror",
46        "-Wno-unused-parameter"
47    ],
48    tidy_checks: [
49        "-google-global-names-in-headers",
50        "-misc-macro-parentheses",
51        "-misc-misplaced-widening-cast",
52    ],
53    export_include_dirs: ["."],
54}
55
56cc_library_static {
57    name: "libF77blas",
58    vendor_available: true,
59    defaults: ["eigen-defaults"],
60    host_supported: true,
61}
62
63// Build Eigen using API 9 toolchain for RS Support lib.
64cc_library_static {
65    name: "libF77blasV8",
66    defaults: ["eigen-defaults"],
67    sdk_version: "9",
68    stl: "c++_static",
69}
70