OLD | NEW |
1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
| 5 import("//third_party/protobuf/proto_library.gni") |
| 6 |
5 source_set("drive") { | 7 source_set("drive") { |
6 sources = [ | 8 sources = [ |
7 "drive_api_util.cc", | 9 "drive_api_util.cc", |
8 "drive_api_util.h", | 10 "drive_api_util.h", |
9 "drive_app_registry.cc", | 11 "drive_app_registry.cc", |
10 "drive_app_registry.h", | 12 "drive_app_registry.h", |
11 "drive_app_registry_observer.h", | 13 "drive_app_registry_observer.h", |
12 "drive_notification_manager.cc", | 14 "drive_notification_manager.cc", |
13 "drive_notification_manager.h", | 15 "drive_notification_manager.h", |
14 "drive_notification_observer.h", | 16 "drive_notification_observer.h", |
(...skipping 14 matching lines...) Expand all Loading... |
29 "//content/public/browser:browser", | 31 "//content/public/browser:browser", |
30 | 32 |
31 "//google_apis:google_apis", | 33 "//google_apis:google_apis", |
32 "//net:net", | 34 "//net:net", |
33 | 35 |
34 # TODO(lukasza): Remove this dependency (see DEPS file for more info). | 36 # TODO(lukasza): Remove this dependency (see DEPS file for more info). |
35 "//storage/browser:browser", | 37 "//storage/browser:browser", |
36 | 38 |
37 "//third_party/re2:re2", | 39 "//third_party/re2:re2", |
38 ] | 40 ] |
| 41 public_deps = [ |
| 42 ":proto", |
| 43 ] |
| 44 } |
| 45 |
| 46 proto_library("proto") { |
| 47 visibility = [ ":drive" ] |
| 48 sources = [ |
| 49 "drive.proto", |
| 50 ] |
39 } | 51 } |
40 | 52 |
41 source_set("test_support") { | 53 source_set("test_support") { |
42 testonly = true | 54 testonly = true |
43 sources = [ | 55 sources = [ |
44 "service/dummy_drive_service.cc", | 56 "service/dummy_drive_service.cc", |
45 "service/dummy_drive_service.h", | 57 "service/dummy_drive_service.h", |
46 "service/fake_drive_service.cc", | 58 "service/fake_drive_service.cc", |
47 "service/fake_drive_service.h", | 59 "service/fake_drive_service.h", |
48 "service/test_util.cc", | 60 "service/test_util.cc", |
49 "service/test_util.h", | 61 "service/test_util.h", |
50 ] | 62 ] |
51 deps = [ | 63 deps = [ |
52 ":drive", | 64 ":drive", |
53 "//base:base", | 65 "//base:base", |
54 "//google_apis:google_apis", | 66 "//google_apis:google_apis", |
55 "//net:net", | 67 "//net:net", |
56 ] | 68 ] |
57 } | 69 } |
OLD | NEW |