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    // See: http://go/android-license-faq
19    // A large-scale-change added 'default_applicable_licenses' to import
20    // all of the 'license_kinds' from "art_license"
21    // to get the below license kinds:
22    //   SPDX-license-identifier-Apache-2.0
23    default_applicable_licenses: ["art_license"],
24}
25
26cc_library {
27    name: "libfoo.oem1",
28    srcs: ["test.cpp"],
29    cflags: ["-DLIBNAME=\"libfoo.oem1.so\""],
30    shared_libs: [
31        "libbase",
32    ],
33}
34
35cc_library {
36    name: "libbar.oem1",
37    srcs: ["test.cpp"],
38    cflags: ["-DLIBNAME=\"libbar.oem1.so\""],
39    shared_libs: [
40        "libbase",
41    ],
42}
43
44cc_library {
45    name: "libfoo.oem2",
46    srcs: ["test.cpp"],
47    cflags: ["-DLIBNAME=\"libfoo.oem2.so\""],
48    shared_libs: [
49        "libbase",
50    ],
51}
52
53cc_library {
54    name: "libbar.oem2",
55    srcs: ["test.cpp"],
56    cflags: ["-DLIBNAME=\"libbar.oem2.so\""],
57    shared_libs: [
58        "libbase",
59    ],
60}
61
62cc_library {
63    name: "libfoo.product1",
64    srcs: ["test.cpp"],
65    cflags: ["-DLIBNAME=\"libfoo.product1.so\""],
66    product_specific: true,
67    shared_libs: [
68        "libbase",
69    ],
70}
71
72cc_library {
73    name: "libbar.product1",
74    srcs: ["test.cpp"],
75    cflags: ["-DLIBNAME=\"libbar.product1.so\""],
76    product_specific: true,
77    shared_libs: [
78        "libbase",
79    ],
80}
81