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_version: "core_current", 23} 24 25// Compatibility library for old name of host target 26java_library_host { 27 name: "objenesis-host", 28 static_libs: ["objenesis"], 29} 30 31//-------------------------------- 32// Builds the Objenesis TCK as a device-targeted library 33 34java_library_static { 35 name: "objenesis-tck", 36 no_framework_libs: true, 37 sdk_version: "current", 38 39 static_libs: ["objenesis"], 40 srcs: ["tck/src/main/java/**/*.java"], 41 java_resource_dirs: ["tck/src/main/resources"], 42} 43