blob: 91f6aace2192e540cb8d3942b7efa53b0daaa1d7 [file] [log] [blame]
Igor Murashkinca4fee12018-09-25 17:55:54 -07001// Copyright (C) 2018 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
15java_library_static {
16 name: "libiorap-java",
17
18 aidl: {
19 include_dirs: [
20 "system/iorap/binder",
21 ],
22 },
23
24 srcs: [
25 ":iorap-aidl",
26 "**/*.java",
27 ],
28}
29
30android_test {
31 name: "libiorap-java-tests",
32 srcs: ["tests/src/**/*.kt"],
33
34 static_libs: [
35 // non-test dependencies
36 "libiorap-java",
37 // test android dependencies
38 "platform-test-annotations",
39 "android-support-test",
40 // test framework dependencies
41 "mockito-target-inline-minus-junit4",
42 "truth-prebuilt",
43 ],
44
45 //sdk_version: "current",
46 //certificate: "platform",
47
48 libs: ["android.test.base"],
49
50 test_suites: ["device-tests"],
51}