blob: b2fe97d96cb8d2f99ecadc0a9fd01d16b4a17257 [file] [log] [blame]
# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
group("all") {
deps = [
":modp_b64",
]
if (use.fuzzer) {
deps += [
":modp_b64_decode_fuzzer",
":modp_b64_encode_fuzzer",
]
}
}
static_library("modp_b64") {
sources = [
"modp_b64.cc",
"modp_b64.h",
"modp_b64_data.h",
]
include_dirs = [
"modp_b64",
]
}
# Fuzzers.
if (use.fuzzer) {
executable("modp_b64_decode_fuzzer") {
configs += [
"//common-mk/common_fuzzer",
]
deps = [
":modp_b64",
]
sources = [
"fuzzers/modp_b64_decode_fuzzer.cc",
]
include_dirs = [
"modp_b64",
]
}
executable("modp_b64_encode_fuzzer") {
configs += [
"//common-mk/common_fuzzer",
]
deps = [
":modp_b64",
]
sources = [
"fuzzers/modp_b64_encode_fuzzer.cc",
]
include_dirs = [
"modp_b64",
]
}
}