blob: 8b0cc40b9b806ec8a41827478f54936b4cd9f568 [file] [log] [blame]
Colin Cross4c609952017-10-18 13:00:01 -07001// Copyright (C) 2011 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: "dexmaker",
17
18 // Include all the java files.
19 srcs: ["dexmaker/src/main/java/**/*.java"],
20
21 static_libs: [
22 "dexmaker-dx-target",
23 "dexmaker-dex-target",
24 ],
25
26 sdk_version: "10",
27}
28
29// Build Dexmaker's MockMaker, a plugin to Mockito
30java_library_static {
31 name: "dexmaker-mockmaker",
32 sdk_version: "10",
33 srcs: ["dexmaker-mockito/src/main/java/**/*.java"],
34 java_resource_dirs: ["dexmaker-mockito/src/main/resources"],
35 libs: [
36 "dexmaker",
37 "mockito-api",
38 ],
39}
40
41java_import {
42 name: "dexmaker-dx-target",
43 jars: ["lib/dalvik-dx-1.jar"],
44}
45
46java_import {
47 name: "dexmaker-dex-target",
48 jars: ["lib/libcore-dex-2.jar"],
49}