msm8974-common: ril: Makefile maintenance

* Add top-level Android.mk
* Invert libril/Android.mk build guard (build if BOARD_PROVIDES_LIBRIL
  is true)

Change-Id: I4eb6c2316d268c2f8045dbb909322b731df47d8c
This commit is contained in:
Kevin F. Haggerty 2018-01-26 16:00:04 -07:00
parent 54fdadc48b
commit 47a0f43fd5
2 changed files with 19 additions and 1 deletions

17
ril/Android.mk Normal file
View File

@ -0,0 +1,17 @@
#
# Copyright (C) 2018 The LineageOS Project
#
# Licensed 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.
#
include $(call first-makefiles-under,$(call my-dir))

View File

@ -1,6 +1,7 @@
# Copyright 2006 The Android Open Source Project
# Copyright 2018 The LineageOS Project
ifneq ($(BOARD_PROVIDES_LIBRIL),true)
ifeq ($(BOARD_PROVIDES_LIBRIL),true)
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)