| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| http://www.apache.org/licenses/LICENSE-2.0 |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <project name="edgent.android.hardware" default="all" |
| xmlns:jacoco="antlib:org.jacoco.ant" |
| > |
| <description> |
| Build Android hardware interface |
| </description> |
| |
| <property name="full.compile.classpath.id" value="android.classpath"/> |
| |
| <property environment="env"/> |
| <property name="component.path" value="android/hardware"/> |
| <import file="../../common-build.xml"/> |
| |
| <property name="android.sdk.platform.jar" value=""/> |
| <!-- |
| <condition property="android.sdk.platform.jar" value="env.ANDROID_SDK_PLATFORM_JAR"> |
| <isset property="env.ANDROID_SDK_PLATFORM_JAR" /> |
| </condition> |
| --> |
| |
| <path id="compile.classpath"> |
| <pathelement location="${edgent.lib}/edgent.api.topology.jar" /> |
| </path> |
| |
| |
| <path id="android.classpath"> |
| <path refid="compile.classpath"/> |
| <pathelement location="${android.sdk.platform.jar}"/> |
| </path> |
| |
| <path id="test.compile.classpath"> |
| <pathelement location="${jar}" /> |
| <path refid="compile.classpath"/> |
| </path> |
| |
| <path id="test.classpath"> |
| <pathelement location="${test.classes}" /> |
| <path refid="test.compile.classpath"/> |
| <path refid="test.common.classpath" /> |
| </path> |
| |
| <target name="all" if="android.sdk.platform.jar"> |
| <antcall target="edgent.common.all"/> |
| </target> |
| |
| <!-- no tests --> |
| <target name="test.compile"/> |
| <target name="test.run"/> |
| |
| </project> |