45 lines
1.0 KiB
Python
45 lines
1.0 KiB
Python
# Copyright 2019 Google LLC. All rights reserved. This file and proprietary
|
|
# source code may only be used and distributed under the Widevine License
|
|
# Agreement.
|
|
|
|
#TODO(b/151858867): Fix File paths
|
|
{
|
|
'targets': [
|
|
{
|
|
'target_name': 'odk_fuzz',
|
|
'type': 'executable',
|
|
'includes': [
|
|
'../src/odk.gypi',
|
|
'../kdo/oec_util.gypi',
|
|
],
|
|
'include_dirs': [
|
|
'../../include',
|
|
'../include',
|
|
'../src',
|
|
'../kdo/include',
|
|
],
|
|
'cflags': [
|
|
# TODO(b/172518513): Remove this
|
|
'-Wno-error=cast-qual',
|
|
],
|
|
'cflags_cc': [
|
|
'-std=c++11',
|
|
'-g3',
|
|
'-O0',
|
|
'-fsanitize=fuzzer,address,undefined',
|
|
'-fno-omit-frame-pointer',
|
|
],
|
|
'ldflags': [
|
|
'-fPIC',
|
|
'-fsanitize=fuzzer,address,undefined',
|
|
],
|
|
'sources': [
|
|
'odk_fuzz.cpp',
|
|
],
|
|
'dependencies': [
|
|
'../../../cdm/cdm.gyp:license_protocol'
|
|
],
|
|
}
|
|
]
|
|
}
|