Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Side by Side Diff: components/drive.gypi

Issue 1246753003: Move a subset of chrome/browser/chromeos/drive into components/drive (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed incorrect reference to a GYP dependency. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | components/drive/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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',
(...skipping 20 matching lines...) Expand all
31 ], 31 ],
32 'sources': [ 32 'sources': [
33 'drive/drive_api_util.cc', 33 'drive/drive_api_util.cc',
34 'drive/drive_api_util.h', 34 'drive/drive_api_util.h',
35 'drive/drive_app_registry.cc', 35 'drive/drive_app_registry.cc',
36 'drive/drive_app_registry.h', 36 'drive/drive_app_registry.h',
37 'drive/drive_app_registry_observer.h', 37 'drive/drive_app_registry_observer.h',
38 'drive/drive_notification_manager.cc', 38 'drive/drive_notification_manager.cc',
39 'drive/drive_notification_manager.h', 39 'drive/drive_notification_manager.h',
40 'drive/drive_notification_observer.h', 40 'drive/drive_notification_observer.h',
41 'drive/drive_pref_names.cc',
42 'drive/drive_pref_names.h',
41 'drive/drive_uploader.cc', 43 'drive/drive_uploader.cc',
42 'drive/drive_uploader.h', 44 'drive/drive_uploader.h',
43 'drive/event_logger.cc', 45 'drive/event_logger.cc',
44 'drive/event_logger.h', 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/local_file_reader.cc',
52 'drive/local_file_reader.h',
45 'drive/service/drive_api_service.cc', 53 'drive/service/drive_api_service.cc',
46 'drive/service/drive_api_service.h', 54 'drive/service/drive_api_service.h',
47 'drive/service/drive_service_interface.cc', 55 'drive/service/drive_service_interface.cc',
48 'drive/service/drive_service_interface.h', 56 'drive/service/drive_service_interface.h',
49 ], 57 ],
50 }, 58 },
51 59
52 { 60 {
53 # GN version: //components/drive:proto 61 # GN version: //components/drive:proto
54 # Protobuf compiler / generator for the Drive protocol buffer. 62 # Protobuf compiler / generator for the Drive protocol buffer.
55 'target_name': 'drive_proto', 63 'target_name': 'drive_proto',
56 'type': 'static_library', 64 'type': 'static_library',
57 'sources': [ 'drive/drive.proto' ], 65 'sources': [ 'drive/drive.proto' ],
58 'variables': { 66 'variables': {
59 'proto_in_dir': 'drive', 67 'proto_in_dir': 'drive',
60 'proto_out_dir': 'components/drive', 68 'proto_out_dir': 'components/drive',
61 }, 69 },
62 'includes': [ '../build/protoc.gypi' ] 70 'includes': [ '../build/protoc.gypi' ]
63 }, 71 },
64 72
65 { 73 {
66 # GN version: //components/drive:test_support 74 # GN version: //components/drive:test_support
67 'target_name': 'drive_test_support', 75 'target_name': 'drive_test_support',
68 'type': 'static_library', 76 'type': 'static_library',
69 'include_dirs': [ 77 'include_dirs': [
70 '..', 78 '..',
71 ], 79 ],
72 'dependencies': [ 80 'dependencies': [
73 'drive', 81 'drive',
82 'drive_proto',
74 '../base/base.gyp:base', 83 '../base/base.gyp:base',
84 '../content/content_shell_and_tests.gyp:test_support_content',
75 '../google_apis/google_apis.gyp:google_apis', 85 '../google_apis/google_apis.gyp:google_apis',
76 '../net/net.gyp:net', 86 '../net/net.gyp:net',
77 ], 87 ],
78 'sources': [ 88 'sources': [
79 "drive/service/dummy_drive_service.cc", 89 "drive/service/dummy_drive_service.cc",
80 "drive/service/dummy_drive_service.h", 90 "drive/service/dummy_drive_service.h",
81 "drive/service/fake_drive_service.cc", 91 "drive/service/fake_drive_service.cc",
82 "drive/service/fake_drive_service.h", 92 "drive/service/fake_drive_service.h",
83 "drive/service/test_util.cc", 93 "drive/service/test_util.cc",
84 "drive/service/test_util.h", 94 "drive/service/test_util.h",
95 "drive/drive_test_util.cc",
96 "drive/drive_test_util.h",
85 ], 97 ],
86 }, 98 },
87 99
88 # TODO(lukasza): drive_unittests target. 100 # TODO(lukasza): drive_unittests target.
89 # Currently tests are built as part of chrome/chrome_tests_unit.gypi. 101 # Currently tests are built as part of chrome/chrome_tests_unit.gypi.
90 # Drive files that probably should be moved out of chrome_tests_unit.gypi:
91 # components/drive/service/drive_api_util_unittest.cc
92 # components/drive/service/drive_app_registry_unittest.cc
93 # components/drive/service/drive_uploader_unittest.cc
94 # components/drive/service/event_logger_unittest.cc
95 # components/drive/service/fake_drive_service_unittest.cc
96 ], 102 ],
97 } 103 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | components/drive/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698