blob: 76a8b6b49d89d0822e15ed55942df0256ee6166d [file] [log] [blame]
# Copyright 2018 The Fuchsia 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("//build/package.gni")
source_set("lib") {
sources = [
"oauth_request_builder.cc",
"oauth_request_builder.h",
"oauth_response.cc",
"oauth_response.h",
]
public_deps = [
"//sdk/fidl/fuchsia.auth",
"//sdk/fidl/fuchsia.net.oldhttp",
]
deps = [
"//garnet/public/lib/fsl",
"//garnet/public/lib/network_wrapper",
"//peridot/lib/rapidjson",
"//src/lib/fxl",
]
}
executable("oauth_unittests") {
testonly = true
deps = [
":unittests",
"//third_party/googletest:gtest_main",
]
}
source_set("unittests") {
testonly = true
sources = [
"oauth_request_builder_unittest.cc",
"oauth_response_unittest.cc",
]
deps = [
":lib",
"//garnet/public/lib/fsl",
"//peridot/lib/rapidjson",
"//src/lib/fxl",
"//src/lib/fxl:printers",
"//third_party/googletest:gtest",
]
}