Stack sampling profiler: add fire-and-forget interface
[chromium-blink-merge.git] / components / drive / BUILD.gn
blobf3f91c46b30e81f7c5aef7100a67dea762286f9e
1 # Copyright (c) 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//third_party/protobuf/proto_library.gni")
7 source_set("drive") {
8   sources = [
9     "drive_api_util.cc",
10     "drive_api_util.h",
11     "drive_app_registry.cc",
12     "drive_app_registry.h",
13     "drive_app_registry_observer.h",
14     "drive_notification_manager.cc",
15     "drive_notification_manager.h",
16     "drive_notification_observer.h",
17     "drive_uploader.cc",
18     "drive_uploader.h",
19     "event_logger.cc",
20     "event_logger.h",
21     "service/drive_api_service.cc",
22     "service/drive_api_service.h",
23     "service/drive_service_interface.cc",
24     "service/drive_service_interface.h",
25   ]
26   deps = [
27     "//base:base",
28     "//components/invalidation/public",
30     # TODO(lukasza): Remove this dependency (see DEPS file for more info).
31     "//content/public/browser:browser",
33     "//google_apis:google_apis",
34     "//net:net",
36     # TODO(lukasza): Remove this dependency (see DEPS file for more info).
37     "//storage/browser:browser",
39     "//third_party/re2:re2",
40   ]
41   public_deps = [
42     ":proto",
43   ]
46 proto_library("proto") {
47   visibility = [ ":drive" ]
48   sources = [
49     "drive.proto",
50   ]
53 source_set("test_support") {
54   testonly = true
55   sources = [
56     "service/dummy_drive_service.cc",
57     "service/dummy_drive_service.h",
58     "service/fake_drive_service.cc",
59     "service/fake_drive_service.h",
60     "service/test_util.cc",
61     "service/test_util.h",
62   ]
63   deps = [
64     ":drive",
65     "//base:base",
66     "//google_apis:google_apis",
67     "//net:net",
68   ]