• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2013 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//
15//
16
17java_library_static {
18    name: "objenesis",
19    host_supported: true,
20    hostdex: true,
21    srcs: ["main/src/main/java/**/*.java"],
22    //  SDK 10 needed for ObjectStreamClass lookupAny
23    sdk_version: "10",
24}
25
26// Compatibility library for old name of host target
27java_library_host {
28    name: "objenesis-host",
29    static_libs: ["objenesis"],
30}
31
32//--------------------------------
33// Builds the Objenesis TCK as a device-targeted library
34
35java_library_static {
36    name: "objenesis-tck",
37    no_framework_libs: true,
38    sdk_version: "current",
39
40    static_libs: ["objenesis"],
41    srcs: ["tck/src/main/java/**/*.java"],
42    java_resource_dirs: ["tck/src/main/resources"],
43}
44