Revert "Reland c91b178b07b0d - Delete dead signin code (SigninGlobalError)"
[chromium-blink-merge.git] / components / drive.gypi
blob3f83bb4fcc57b780e4a56272ffa5a8015b3d2bbb
1 # Copyright 2014 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.
6   'targets': [
7     {
8       # GN version: //components/drive:drive
9       'target_name': 'drive',
10       'type': 'static_library',
11       'include_dirs': [
12         '..',
13       ],
14       'dependencies': [
15         'drive_proto',
16         '../base/base.gyp:base',
17         '../components/components.gyp:invalidation_public',
19         # TODO(lukasza): Remove this dependency (see DEPS file for more info).
20         '../content/content.gyp:content_browser',
22         '../google_apis/google_apis.gyp:google_apis',
23         '../net/net.gyp:net',
24         '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation',
25         '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_proto_cpp',
26         '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
27         '../third_party/re2/re2.gyp:re2',
28       ],
29       'sources': [
30         'drive/drive_api_util.cc',
31         'drive/drive_api_util.h',
32         'drive/drive_app_registry.cc',
33         'drive/drive_app_registry.h',
34         'drive/drive_app_registry_observer.h',
35         'drive/drive_notification_manager.cc',
36         'drive/drive_notification_manager.h',
37         'drive/drive_notification_observer.h',
38         'drive/drive_pref_names.cc',
39         'drive/drive_pref_names.h',
40         'drive/drive_uploader.cc',
41         'drive/drive_uploader.h',
42         'drive/event_logger.cc',
43         'drive/event_logger.h',
44         'drive/file_cache.cc',
45         'drive/file_cache.h',
46         'drive/file_change.cc',
47         'drive/file_change.h',
48         'drive/file_errors.cc',
49         'drive/file_errors.h',
50         'drive/file_system_core_util.cc',
51         'drive/file_system_core_util.h',
52         'drive/job_list.cc',
53         'drive/job_list.h',
54         'drive/job_queue.cc',
55         'drive/job_queue.h',
56         'drive/job_scheduler.cc',
57         'drive/job_scheduler.h',
58         'drive/local_file_reader.cc',
59         'drive/local_file_reader.h',
60         'drive/resource_entry_conversion.cc',
61         'drive/resource_entry_conversion.h',
62         'drive/resource_metadata.cc',
63         'drive/resource_metadata.h',
64         'drive/resource_metadata_storage.cc',
65         'drive/resource_metadata_storage.h',
66         'drive/service/drive_api_service.cc',
67         'drive/service/drive_api_service.h',
68         'drive/service/drive_service_interface.cc',
69         'drive/service/drive_service_interface.h',
70       ],
71     },
73     {
74       # GN version: //components/drive:proto
75       # Protobuf compiler / generator for the Drive protocol buffer.
76       'target_name': 'drive_proto',
77       'type': 'static_library',
78       'sources': [ 'drive/drive.proto' ],
79       'variables': {
80         'proto_in_dir': 'drive',
81         'proto_out_dir': 'components/drive',
82       },
83       'includes': [ '../build/protoc.gypi' ]
84     },
86     {
87       # GN version: //components/drive:test_support
88       'target_name': 'drive_test_support',
89       'type': 'static_library',
90       'include_dirs': [
91         '..',
92       ],
93       'dependencies': [
94         'drive',
95         'drive_proto',
96         '../base/base.gyp:base',
97         '../content/content_shell_and_tests.gyp:test_support_content',
98         '../google_apis/google_apis.gyp:google_apis',
99         '../net/net.gyp:net',
100       ],
101       'sources': [
102         "drive/drive_test_util.cc",
103         "drive/drive_test_util.h",
104         "drive/fake_free_disk_space_getter.cc",
105         "drive/fake_free_disk_space_getter.h",
106         "drive/service/dummy_drive_service.cc",
107         "drive/service/dummy_drive_service.h",
108         "drive/service/fake_drive_service.cc",
109         "drive/service/fake_drive_service.h",
110         "drive/service/test_util.cc",
111         "drive/service/test_util.h",
112       ],
113     },
115     # TODO(lukasza): drive_unittests target.
116     # Currently tests are built as part of chrome/chrome_tests_unit.gypi.
117   ],