1# 2# Copyright (C) 2017 The Android Open Source Project 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# 16 17LOCAL_PATH := $(call my-dir) 18 19ifneq (,$(findstring lowpan/java,$(FRAMEWORKS_BASE_SUBDIRS))) 20 21include $(CLEAR_VARS) 22LOCAL_MODULE := lowpan-command 23LOCAL_SRC_FILES += java/com/android/commands/lowpan/LowpanCtl.java 24include $(BUILD_JAVA_LIBRARY) 25 26include $(CLEAR_VARS) 27LOCAL_MODULE := lowpanctl 28LOCAL_MODULE_TAGS := optional 29LOCAL_REQUIRED_MODULES := lowpan-command 30LOCAL_SRC_FILES := lowpanctl 31LOCAL_MODULE_CLASS := EXECUTABLES 32include $(BUILD_PREBUILT) 33 34endif 35 36include $(call all-makefiles-under,$(LOCAL_PATH)) 37