Leif Lindholm a64d587294 EmbeddedPkg: get rid of BdsLib dependency from Android*Boot
The sum use these applications made of BdsLib was one invocation of the
IS_DEVICE_PATH_NODE macro, and (incorrectly) being able to leave out a
dependency on gEfiLoadedImageProtocolGuid.

So expand the macro in place and add the missing dependency.
Then clean up the .dsc, .inf and #includes accordingly.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
2017-11-25 19:01:09 +00:00

50 lines
1.3 KiB
INI

#/** @file
#
# Copyright (c) 2013-2015, ARM Ltd. All rights reserved.<BR>
# Copyright (c) 2017, Linaro. All rights reserved.
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
#
#**/
[Defines]
INF_VERSION = 0x00010019
BASE_NAME = AndroidBootImgLib
FILE_GUID = ed3b8739-6fa7-4cb1-8aeb-2496f8fcaefa
MODULE_TYPE = BASE
VERSION_STRING = 1.0
LIBRARY_CLASS = AndroidBootImgLib
#
# The following information is for reference only and not required by the build tools.
#
# VALID_ARCHITECTURES = ARM AARCH64
#
[Sources]
AndroidBootImgLib.c
[LibraryClasses]
DebugLib
FdtLib
PrintLib
UefiBootServicesTableLib
UefiLib
[Packages]
EmbeddedPkg/EmbeddedPkg.dec
MdePkg/MdePkg.dec
[Protocols]
gAndroidBootImgProtocolGuid
gEfiLoadedImageProtocolGuid
[Guids]
gFdtTableGuid