OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 # GN version: //components/drive:drive | 8 # GN version: //components/drive:drive |
9 'target_name': 'drive', | 9 'target_name': 'drive', |
10 'type': 'static_library', | 10 'type': 'static_library', |
11 'include_dirs': [ | 11 'include_dirs': [ |
12 '..', | 12 '..', |
13 ], | 13 ], |
14 'dependencies': [ | 14 'dependencies': [ |
| 15 'drive_proto', |
15 '../base/base.gyp:base', | 16 '../base/base.gyp:base', |
16 '../components/components.gyp:invalidation_public', | 17 '../components/components.gyp:invalidation_public', |
17 | 18 |
18 # TODO(lukasza): Remove this dependency (see DEPS file for more info). | 19 # TODO(lukasza): Remove this dependency (see DEPS file for more info). |
19 '../content/content.gyp:content_browser', | 20 '../content/content.gyp:content_browser', |
20 | 21 |
21 '../google_apis/google_apis.gyp:google_apis', | 22 '../google_apis/google_apis.gyp:google_apis', |
22 '../net/net.gyp:net', | 23 '../net/net.gyp:net', |
23 | 24 |
24 # TODO(lukasza): Remove this dependency (see DEPS file for more info). | 25 # TODO(lukasza): Remove this dependency (see DEPS file for more info). |
(...skipping 17 matching lines...) Expand all Loading... |
42 'drive/event_logger.cc', | 43 'drive/event_logger.cc', |
43 'drive/event_logger.h', | 44 'drive/event_logger.h', |
44 'drive/service/drive_api_service.cc', | 45 'drive/service/drive_api_service.cc', |
45 'drive/service/drive_api_service.h', | 46 'drive/service/drive_api_service.h', |
46 'drive/service/drive_service_interface.cc', | 47 'drive/service/drive_service_interface.cc', |
47 'drive/service/drive_service_interface.h', | 48 'drive/service/drive_service_interface.h', |
48 ], | 49 ], |
49 }, | 50 }, |
50 | 51 |
51 { | 52 { |
| 53 # GN version: //components/drive:proto |
| 54 # Protobuf compiler / generator for the Drive protocol buffer. |
| 55 'target_name': 'drive_proto', |
| 56 'type': 'static_library', |
| 57 'sources': [ 'drive/drive.proto' ], |
| 58 'variables': { |
| 59 'proto_in_dir': 'drive', |
| 60 'proto_out_dir': 'components/drive', |
| 61 }, |
| 62 'includes': [ '../build/protoc.gypi' ] |
| 63 }, |
| 64 |
| 65 { |
52 # GN version: //components/drive:test_support | 66 # GN version: //components/drive:test_support |
53 'target_name': 'drive_test_support', | 67 'target_name': 'drive_test_support', |
54 'type': 'static_library', | 68 'type': 'static_library', |
55 'include_dirs': [ | 69 'include_dirs': [ |
56 '..', | 70 '..', |
57 ], | 71 ], |
58 'dependencies': [ | 72 'dependencies': [ |
59 'drive', | 73 'drive', |
60 '../base/base.gyp:base', | 74 '../base/base.gyp:base', |
61 '../google_apis/google_apis.gyp:google_apis', | 75 '../google_apis/google_apis.gyp:google_apis', |
(...skipping 12 matching lines...) Expand all Loading... |
74 # TODO(lukasza): drive_unittests target. | 88 # TODO(lukasza): drive_unittests target. |
75 # Currently tests are built as part of chrome/chrome_tests_unit.gypi. | 89 # Currently tests are built as part of chrome/chrome_tests_unit.gypi. |
76 # Drive files that probably should be moved out of chrome_tests_unit.gypi: | 90 # Drive files that probably should be moved out of chrome_tests_unit.gypi: |
77 # components/drive/service/drive_api_util_unittest.cc | 91 # components/drive/service/drive_api_util_unittest.cc |
78 # components/drive/service/drive_app_registry_unittest.cc | 92 # components/drive/service/drive_app_registry_unittest.cc |
79 # components/drive/service/drive_uploader_unittest.cc | 93 # components/drive/service/drive_uploader_unittest.cc |
80 # components/drive/service/event_logger_unittest.cc | 94 # components/drive/service/event_logger_unittest.cc |
81 # components/drive/service/fake_drive_service_unittest.cc | 95 # components/drive/service/fake_drive_service_unittest.cc |
82 ], | 96 ], |
83 } | 97 } |
OLD | NEW |