Change variation param for LoFi
[chromium-blink-merge.git] / components / drive.gypi
blobeb075fe1582ec5d0ec84d2a1dfead8bf46f1a7be
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',
25         # TODO(lukasza): Remove this dependency (see DEPS file for more info).
26         '../storage/storage_browser.gyp:storage',
28         '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation',
29         '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_proto_cpp',
30         '../third_party/re2/re2.gyp:re2',
31       ],
32       'sources': [
33         'drive/drive_api_util.cc',
34         'drive/drive_api_util.h',
35         'drive/drive_app_registry.cc',
36         'drive/drive_app_registry.h',
37         'drive/drive_app_registry_observer.h',
38         'drive/drive_notification_manager.cc',
39         'drive/drive_notification_manager.h',
40         'drive/drive_notification_observer.h',
41         'drive/drive_pref_names.cc',
42         'drive/drive_pref_names.h',
43         'drive/drive_uploader.cc',
44         'drive/drive_uploader.h',
45         'drive/event_logger.cc',
46         'drive/event_logger.h',
47         'drive/file_change.cc',
48         'drive/file_change.h',
49         'drive/file_errors.cc',
50         'drive/file_errors.h',
51         'drive/job_list.cc',
52         'drive/job_list.h',
53         'drive/job_queue.cc',
54         'drive/job_queue.h',
55         'drive/job_scheduler.cc',
56         'drive/job_scheduler.h',
57         'drive/local_file_reader.cc',
58         'drive/local_file_reader.h',
59         'drive/service/drive_api_service.cc',
60         'drive/service/drive_api_service.h',
61         'drive/service/drive_service_interface.cc',
62         'drive/service/drive_service_interface.h',
63       ],
64     },
66     {
67       # GN version: //components/drive:proto
68       # Protobuf compiler / generator for the Drive protocol buffer.
69       'target_name': 'drive_proto',
70       'type': 'static_library',
71       'sources': [ 'drive/drive.proto' ],
72       'variables': {
73         'proto_in_dir': 'drive',
74         'proto_out_dir': 'components/drive',
75       },
76       'includes': [ '../build/protoc.gypi' ]
77     },
79     {
80       # GN version: //components/drive:test_support
81       'target_name': 'drive_test_support',
82       'type': 'static_library',
83       'include_dirs': [
84         '..',
85       ],
86       'dependencies': [
87         'drive',
88         'drive_proto',
89         '../base/base.gyp:base',
90         '../content/content_shell_and_tests.gyp:test_support_content',
91         '../google_apis/google_apis.gyp:google_apis',
92         '../net/net.gyp:net',
93       ],
94       'sources': [
95         "drive/service/dummy_drive_service.cc",
96         "drive/service/dummy_drive_service.h",
97         "drive/service/fake_drive_service.cc",
98         "drive/service/fake_drive_service.h",
99         "drive/service/test_util.cc",
100         "drive/service/test_util.h",
101         "drive/drive_test_util.cc",
102         "drive/drive_test_util.h",
103       ],
104     },
106     # TODO(lukasza): drive_unittests target.
107     # Currently tests are built as part of chrome/chrome_tests_unit.gypi.
108   ],