Files
ce_cdm/oemcrypto/test/fuzz_tests/oemcrypto_opk_fuzztests.gyp
John "Juce" Bruce 2baa7c6e2b Source release 17.1.2
2023-06-23 15:37:42 -07:00

215 lines
5.6 KiB
Python

# Copyright 2020 Google LLC. All Rights Reserved. This file and proprietary
# source code may only be used and distributed under the Widevine
# License Agreement.
{
'target_defaults': {
'type': 'executable',
'includes': [
'oemcrypto_fuzztests.gypi',
],
},
'variables': {
# Flag to select appropriate underlying oemcrypto implementation when
# buiding fuzz binaries.
'oemcrypto_implementation_version%': 'opk',
'oemcrypto_dir': '../..',
},
'targets': [
{
'target_name': 'oemcrypto_opk_copy_buffer_fuzz',
'sources': [
'oemcrypto_copy_buffer_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_create_and_remove_entitled_key_session_fuzz',
'sources': [
'oemcrypto_create_and_remove_entitled_key_session_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_deactivate_usage_entry_fuzz',
'sources': [
'oemcrypto_deactivate_usage_entry_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_decrypt_cenc_fuzz',
'sources': [
'oemcrypto_decrypt_cenc_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_decrypt_hash_fuzz',
'sources': [
'oemcrypto_decrypt_hash_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_dispatcher_fuzz',
'include_dirs': [
'<(oemcrypto_dir)/opk/serialization/common',
'<(oemcrypto_dir)/opk/serialization/common/include',
'<(oemcrypto_dir)/opk/serialization/os_interfaces',
'<(oemcrypto_dir)/opk/serialization/tee',
'<(oemcrypto_dir)/opk/serialization/tee/include',
'<(oemcrypto_dir)/opk/ports/trusty/include/',
],
'dependencies': [
'<(oemcrypto_dir)/opk/serialization/tee/tee.gyp:opk_tee',
],
'sources': [
'oemcrypto_opk_dispatcher_fuzz.cc',
'<(oemcrypto_dir)/opk/serialization/test/tos_secure_buffers.c',
'<(oemcrypto_dir)/opk/serialization/test/tos_transport_interface.c',
'<(oemcrypto_dir)/opk/serialization/test/tos_logging.c',
'<(oemcrypto_dir)/opk/ports/trusty/serialization_adapter/shared_memory.c',
],
},
{
'target_name': 'oemcrypto_opk_generate_certificate_key_pair_fuzz',
'sources': [
'oemcrypto_generate_certificate_key_pair_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_generate_rsa_signature_fuzz',
'sources': [
'oemcrypto_generate_rsa_signature_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_generic_decrypt_fuzz',
'sources': [
'oemcrypto_generic_decrypt_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_generic_encrypt_fuzz',
'sources': [
'oemcrypto_generic_encrypt_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_generic_sign_fuzz',
'sources': [
'oemcrypto_generic_sign_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_generic_verify_fuzz',
'sources': [
'oemcrypto_generic_verify_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_get_boot_certificate_chain_fuzz',
'sources': [
'oemcrypto_get_boot_certificate_chain_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_get_random_fuzz',
'sources': [
'oemcrypto_get_random_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_install_oem_private_key_fuzz',
'sources': [
'oemcrypto_install_oem_private_key_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_license_request_fuzz',
'sources': [
'oemcrypto_license_request_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_load_entitled_content_keys_fuzz',
'sources': [
'oemcrypto_load_entitled_content_keys_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_load_license_fuzz',
'sources': [
'oemcrypto_load_license_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_load_provisioning_fuzz',
'sources': [
'oemcrypto_load_provisioning_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_load_renewal_fuzz',
'sources': [
'oemcrypto_load_renewal_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_load_usage_entry_fuzz',
'sources': [
'oemcrypto_load_usage_entry_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_load_usage_table_header_fuzz',
'sources': [
'oemcrypto_load_usage_table_header_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_move_usage_entry_fuzz',
'sources': [
'oemcrypto_move_usage_entry_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_provisioning_request_fuzz',
'sources': [
'oemcrypto_provisioning_request_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_query_key_control_fuzz',
'sources': [
'oemcrypto_query_key_control_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_renewal_request_fuzz',
'sources': [
'oemcrypto_renewal_request_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_report_usage_fuzz',
'sources': [
'oemcrypto_report_usage_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_reuse_usage_entry_fuzz',
'sources': [
'oemcrypto_reuse_usage_entry_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_select_key_fuzz',
'sources': [
'oemcrypto_select_key_fuzz.cc',
],
},
{
'target_name': 'oemcrypto_opk_shrink_usage_table_header_fuzz',
'sources': [
'oemcrypto_shrink_usage_table_header_fuzz.cc',
],
},
],
}