• 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: ["-Wno-unused-parameter"],
45    export_include_dirs: ["."],
46}
47
48cc_library_static {
49    name: "libF77blas",
50    vendor_available: true,
51    defaults: ["eigen-defaults"],
52    host_supported: true,
53}
54
55// Build Eigen using API 9 toolchain for RS Support lib.
56cc_library_static {
57    name: "libF77blasV8",
58    defaults: ["eigen-defaults"],
59    sdk_version: "9",
60    stl: "c++_static",
61}
62