blob: 56c03feaf30caea4789e62c01329dfbd46e94f5d [file] [log] [blame]
# Copyright 2018 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.
import("//build/config/features.gni")
import("//testing/test.gni")
source_set("drive") {
sources = [
"drive_api_parser.cc",
"drive_api_parser.h",
"drive_api_requests.cc",
"drive_api_requests.h",
"drive_api_url_generator.cc",
"drive_api_url_generator.h",
"drive_base_requests.cc",
"drive_base_requests.h",
"drive_common_callbacks.h",
"files_list_request_runner.cc",
"files_list_request_runner.h",
"request_util.cc",
"request_util.h",
]
deps = [
"//base",
"//google_apis:google_apis",
"//google_apis/common:common",
"//net",
"//services/network/public/cpp",
]
}
source_set("drive_unittests") {
testonly = true
sources = [
"drive_api_parser_unittest.cc",
"drive_api_requests_unittest.cc",
"drive_api_url_generator_unittest.cc",
"drive_base_requests_server_unittest.cc",
"drive_base_requests_unittest.cc",
"files_list_request_runner_unittest.cc",
"request_util_unittest.cc",
]
deps = [
":drive",
"//base",
"//base/test:test_support",
"//google_apis/common:common",
"//google_apis/common:test_support",
"//services/network:test_support",
"//testing/gmock",
"//testing/gtest",
]
}