10ac3b5d8e573dfa0398af8c717bfff118cb9d9c0Geremy Condra#
20ac3b5d8e573dfa0398af8c717bfff118cb9d9c0Geremy Condra# Copyright (C) 2014 The Android Open Source Project
30ac3b5d8e573dfa0398af8c717bfff118cb9d9c0Geremy Condra#
40ac3b5d8e573dfa0398af8c717bfff118cb9d9c0Geremy Condra# Licensed under the Apache License, Version 2.0 (the "License");
50ac3b5d8e573dfa0398af8c717bfff118cb9d9c0Geremy Condra# you may not use this file except in compliance with the License.
60ac3b5d8e573dfa0398af8c717bfff118cb9d9c0Geremy Condra# You may obtain a copy of the License at
70ac3b5d8e573dfa0398af8c717bfff118cb9d9c0Geremy Condra#
80ac3b5d8e573dfa0398af8c717bfff118cb9d9c0Geremy Condra#      http://www.apache.org/licenses/LICENSE-2.0
90ac3b5d8e573dfa0398af8c717bfff118cb9d9c0Geremy Condra#
100ac3b5d8e573dfa0398af8c717bfff118cb9d9c0Geremy Condra# Unless required by applicable law or agreed to in writing, software
110ac3b5d8e573dfa0398af8c717bfff118cb9d9c0Geremy Condra# distributed under the License is distributed on an "AS IS" BASIS,
120ac3b5d8e573dfa0398af8c717bfff118cb9d9c0Geremy Condra# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
130ac3b5d8e573dfa0398af8c717bfff118cb9d9c0Geremy Condra# See the License for the specific language governing permissions and
140ac3b5d8e573dfa0398af8c717bfff118cb9d9c0Geremy Condra# limitations under the License.
150ac3b5d8e573dfa0398af8c717bfff118cb9d9c0Geremy Condra#
160ac3b5d8e573dfa0398af8c717bfff118cb9d9c0Geremy Condra
176ceeb1a8bf68dadabd806dd1dbda95401d293c65Bowgo Tsai# Provides dependencies necessary for verified boot.
180ac3b5d8e573dfa0398af8c717bfff118cb9d9c0Geremy Condra
196ceeb1a8bf68dadabd806dd1dbda95401d293c65Bowgo TsaiPRODUCT_SUPPORTS_BOOT_SIGNER := true
206ceeb1a8bf68dadabd806dd1dbda95401d293c65Bowgo TsaiPRODUCT_SUPPORTS_VERITY := true
216ceeb1a8bf68dadabd806dd1dbda95401d293c65Bowgo TsaiPRODUCT_SUPPORTS_VERITY_FEC := true
2272d90eb1895932343586717daa1865019473b2f5Sami Tolvanen
236ceeb1a8bf68dadabd806dd1dbda95401d293c65Bowgo Tsai# The dev key is used to sign boot and recovery images, and the verity
246ceeb1a8bf68dadabd806dd1dbda95401d293c65Bowgo Tsai# metadata table. Actual product deliverables will be re-signed by hand.
256ceeb1a8bf68dadabd806dd1dbda95401d293c65Bowgo Tsai# We expect this file to exist with the suffixes ".x509.pem" and ".pk8".
266ceeb1a8bf68dadabd806dd1dbda95401d293c65Bowgo TsaiPRODUCT_VERITY_SIGNING_KEY := build/target/product/security/verity
270ac3b5d8e573dfa0398af8c717bfff118cb9d9c0Geremy Condra
286ceeb1a8bf68dadabd806dd1dbda95401d293c65Bowgo TsaiPRODUCT_PACKAGES += \
296ceeb1a8bf68dadabd806dd1dbda95401d293c65Bowgo Tsai        verity_key
30