blob: 23d562e562115b93bbbcd8f8fd7989eb599c9bb6 [file] [log] [blame]
# Copyright 2021 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//common-mk/pkg_config.gni")
pkg_config("target_defaults") {
pkg_deps = [
"dbus-1",
"libchrome",
# system_api depends on protobuf (or protobuf-lite). It must appear
# before protobuf here or the linker flags won't be in the right
# order.
"system_api",
]
if (use.fuzzer) {
pkg_deps += [ "protobuf" ]
} else {
pkg_deps += [ "protobuf-lite" ]
}
}
static_library("upload_client") {
sources = [ "upload_client.cc" ]
configs += [ ":target_defaults" ]
deps = [
"//missive/proto:interface_proto",
"//missive/proto:record_proto",
"//missive/util:status",
]
}