Add estade as OWNER for vector icon files.
[chromium-blink-merge.git] / components / drive.gypi
blob781f54617a0208b197a04af53871f70468ac12cb
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/change_list_loader.cc',
31         'drive/change_list_loader.h',
32         'drive/change_list_loader_observer.h',
33         'drive/change_list_processor.cc',
34         'drive/change_list_processor.h',
35         'drive/directory_loader.cc',
36         'drive/directory_loader.h',
37         'drive/drive_api_util.cc',
38         'drive/drive_api_util.h',
39         'drive/drive_app_registry.cc',
40         'drive/drive_app_registry.h',
41         'drive/drive_app_registry_observer.h',
42         'drive/drive_notification_manager.cc',
43         'drive/drive_notification_manager.h',
44         'drive/drive_notification_observer.h',
45         'drive/drive_pref_names.cc',
46         'drive/drive_pref_names.h',
47         'drive/drive_uploader.cc',
48         'drive/drive_uploader.h',
49         'drive/event_logger.cc',
50         'drive/event_logger.h',
51         'drive/file_cache.cc',
52         'drive/file_cache.h',
53         'drive/file_change.cc',
54         'drive/file_change.h',
55         'drive/file_errors.cc',
56         'drive/file_errors.h',
57         'drive/file_system.cc',
58         'drive/file_system.h',
59         'drive/file_system/copy_operation.cc',
60         'drive/file_system/copy_operation.h',
61         'drive/file_system/create_directory_operation.cc',
62         'drive/file_system/create_directory_operation.h',
63         'drive/file_system/create_file_operation.cc',
64         'drive/file_system/create_file_operation.h',
65         'drive/file_system/download_operation.cc',
66         'drive/file_system/download_operation.h',
67         'drive/file_system/get_file_for_saving_operation.cc',
68         'drive/file_system/get_file_for_saving_operation.h',
69         'drive/file_system/move_operation.cc',
70         'drive/file_system/move_operation.h',
71         'drive/file_system/open_file_operation.cc',
72         'drive/file_system/open_file_operation.h',
73         'drive/file_system/operation_delegate.cc',
74         'drive/file_system/operation_delegate.h',
75         'drive/file_system/remove_operation.cc',
76         'drive/file_system/remove_operation.h',
77         'drive/file_system/search_operation.cc',
78         'drive/file_system/search_operation.h',
79         'drive/file_system/set_property_operation.cc',
80         'drive/file_system/set_property_operation.h',
81         'drive/file_system/touch_operation.cc',
82         'drive/file_system/touch_operation.h',
83         'drive/file_system/truncate_operation.cc',
84         'drive/file_system/truncate_operation.h',
85         'drive/file_system_core_util.cc',
86         'drive/file_system_core_util.h',
87         'drive/file_system_interface.cc',
88         'drive/file_system_interface.h',
89         'drive/file_system_metadata.cc',
90         'drive/file_system_metadata.h',
91         'drive/file_system_observer.h',
92         'drive/file_write_watcher.cc',
93         'drive/file_write_watcher.h',
94         'drive/job_list.cc',
95         'drive/job_list.h',
96         'drive/job_queue.cc',
97         'drive/job_queue.h',
98         'drive/job_scheduler.cc',
99         'drive/job_scheduler.h',
100         'drive/local_file_reader.cc',
101         'drive/local_file_reader.h',
102         'drive/remove_stale_cache_files.cc',
103         'drive/remove_stale_cache_files.h',
104         'drive/resource_entry_conversion.cc',
105         'drive/resource_entry_conversion.h',
106         'drive/resource_metadata.cc',
107         'drive/resource_metadata.h',
108         'drive/resource_metadata_storage.cc',
109         'drive/resource_metadata_storage.h',
110         'drive/search_metadata.cc',
111         'drive/search_metadata.h',
112         'drive/service/drive_api_service.cc',
113         'drive/service/drive_api_service.h',
114         'drive/service/drive_service_interface.cc',
115         'drive/service/drive_service_interface.h',
116         'drive/sync/entry_revert_performer.cc',
117         'drive/sync/entry_revert_performer.h',
118         'drive/sync/entry_update_performer.cc',
119         'drive/sync/entry_update_performer.h',
120         'drive/sync/remove_performer.cc',
121         'drive/sync/remove_performer.h',
122         'drive/sync_client.cc',
123         'drive/sync_client.h',
124       ],
125     },
127     {
128       # GN version: //components/drive:proto
129       # Protobuf compiler / generator for the Drive protocol buffer.
130       'target_name': 'drive_proto',
131       'type': 'static_library',
132       'sources': [ 'drive/drive.proto' ],
133       'variables': {
134         'proto_in_dir': 'drive',
135         'proto_out_dir': 'components/drive',
136       },
137       'includes': [ '../build/protoc.gypi' ]
138     },
140     {
141       # GN version: //components/drive:test_support
142       'target_name': 'drive_test_support',
143       'type': 'static_library',
144       'include_dirs': [
145         '..',
146       ],
147       'dependencies': [
148         'drive',
149         'drive_proto',
150         '../base/base.gyp:base',
151         '../content/content_shell_and_tests.gyp:test_support_content',
152         '../google_apis/google_apis.gyp:google_apis',
153         '../net/net.gyp:net',
154       ],
155       'sources': [
156         "drive/drive_test_util.cc",
157         "drive/drive_test_util.h",
158         "drive/dummy_file_system.cc",
159         "drive/dummy_file_system.h",
160         "drive/fake_file_system.cc",
161         "drive/fake_file_system.h",
162         "drive/fake_free_disk_space_getter.cc",
163         "drive/fake_free_disk_space_getter.h",
164         "drive/service/dummy_drive_service.cc",
165         "drive/service/dummy_drive_service.h",
166         "drive/service/fake_drive_service.cc",
167         "drive/service/fake_drive_service.h",
168         "drive/service/test_util.cc",
169         "drive/service/test_util.h",
170       ],
171     },
173     # TODO(lukasza): drive_unittests target.
174     # Currently tests are built as part of chrome/chrome_tests_unit.gypi.
175   ],