# Copyright 2024 The Chromium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import("//testing/libfuzzer/fuzzer_test.gni") import("//third_party/libprotobuf-mutator/fuzzable_proto_library.gni") fuzzer_test("sql_recovery_lpm_fuzzer") { sources = [ "recovery_lpm_fuzzer.cc" ] deps = [ ":sql_disk_corruption_proto", "//base", "//base/test:test_support", "//sql", "//sql:test_support", "//third_party/libprotobuf-mutator", "//third_party/sqlite:sql_query_proto_to_string", "//third_party/sqlite:sqlite3_lpm_fuzzer_input", ] dict = "//third_party/sqlite/fuzz/sql.dict" } fuzzable_proto_library("sql_disk_corruption_proto") { import_dirs = [ "//third_party/sqlite/fuzz/" ] sources = [ "sql_disk_corruption.proto" ] proto_library_deps = [ "//third_party/sqlite:sqlite3_lpm_fuzzer_input" ] }