OLD | NEW |
1 include_rules = [ | 1 include_rules = [ |
2 "+components/invalidation", | 2 "+components/invalidation", |
3 "+components/keyed_service", | 3 "+components/keyed_service", |
4 "+google_apis", | 4 "+google_apis", |
5 "+google/cacheinvalidation/types.pb.h", | 5 "+google/cacheinvalidation/types.pb.h", |
6 "+net", | 6 "+net", |
| 7 "+net", |
| 8 "+third_party/leveldatabase", |
7 "+third_party/re2", | 9 "+third_party/re2", |
8 ] | 10 ] |
9 | 11 |
10 specific_include_rules = { | 12 specific_include_rules = { |
11 # The following dependency should be removed to fully make this | 13 # The following product dependency should be removed to fully make this |
12 # directory chrome/ and content/ and storage/ independent. | 14 # directory chrome/ and content/ and storage/ independent. crbug.com/257943 |
13 # crbug.com/257943 | |
14 "drive_api_util\.cc": [ | 15 "drive_api_util\.cc": [ |
15 "+storage/browser/fileapi/file_stream_reader.h" | 16 "+storage/browser/fileapi/file_stream_reader.h" |
16 ], | 17 ], |
17 | 18 |
18 # The following dependency should be removed to fully make this | 19 # The following product dependency should be removed to fully make this |
19 # directory chrome/ and content/ and storage/ independent. | 20 # directory chrome/ and content/ and storage/ independent. crbug.com/257943 |
20 # crbug.com/257943 | |
21 "drive_uploader\.cc": [ | 21 "drive_uploader\.cc": [ |
22 "+content/public/browser/power_save_blocker.h", | 22 "+content/public/browser/power_save_blocker.h", |
23 ], | 23 ], |
| 24 |
| 25 # The following test dependencies should be removed to fully componentize this |
| 26 # directory. crbug.com/498951 |
| 27 r"(create_directory_operation_unittest\.cc" |
| 28 r"|create_file_operation_unittest\.cc" |
| 29 r"|copy_operation_unittest\.cc" |
| 30 r"|download_operation_unittest\.cc" |
| 31 r"|entry_revert_performer_unittest\.cc" |
| 32 r"|entry_update_performer_unittest\.cc" |
| 33 r"|get_file_for_saving_operation_unittest\.cc" |
| 34 r"|move_operation_unittest\.cc" |
| 35 r"|open_file_operation_unittest\.cc" |
| 36 r"|operation_test_base\.cc" |
| 37 r"|search_operation_unittest\.cc" |
| 38 r"|set_property_operation_unittest\.cc" |
| 39 r"|remove_operation_unittest\.cc" |
| 40 r"|remove_performer_unittest\.cc" |
| 41 r"|test_util\.h" |
| 42 r"|truncate_operation_unittest\.cc" |
| 43 r")": [ |
| 44 "!content/public/test/test_utils.h", |
| 45 ], |
| 46 |
| 47 # The following test dependencies should be removed to fully componentize this |
| 48 # directory. crbug.com/498951 |
| 49 r"(change_list_loader_unittest.cc" |
| 50 r"|change_list_processor_unittest.cc" |
| 51 r"|directory_loader_unittest.cc" |
| 52 r"|fake_file_system_unittest.cc" |
| 53 r"|file_cache_unittest.cc" |
| 54 r"|file_system_unittest.cc" |
| 55 r"|file_write_watcher_unittest.cc" |
| 56 r"|job_scheduler_unittest.cc" |
| 57 r"|operation_test_base\.h" |
| 58 r"|remove_stale_cache_files_unittest.cc" |
| 59 r"|resource_metadata_storage_unittest.cc" |
| 60 r"|resource_metadata_unittest.cc" |
| 61 r"|search_metadata_unittest.cc" |
| 62 r"|sync_client_unittest\.cc" |
| 63 r")": [ |
| 64 "!content/public/test/test_browser_thread_bundle.h", |
| 65 ], |
| 66 |
| 67 # The following test dependencies should be removed to fully componentize this |
| 68 # directory. crbug.com/498951 |
| 69 r"(fake_file_system\.cc" |
| 70 r"|file_system_unittest\.cc" |
| 71 r"|file_write_watcher_unittest\.cc" |
| 72 r"|get_file_for_saving_operation\.cc" |
| 73 r"|get_file_for_saving_operation_unittest\.cc" |
| 74 r"|operation_test_base\.cc" |
| 75 r")": [ |
| 76 "!content/public/browser/browser_thread.h", |
| 77 ], |
| 78 |
| 79 # The following test dependencies should be removed to fully componentize this |
| 80 # directory. crbug.com/498951 |
| 81 "file_system_core_util_unittest\.cc": [ |
| 82 "+chrome/browser/chromeos/drive/file_system_util.h", |
| 83 "+chrome/test/base/testing_profile.h", |
| 84 "+content/public/test/test_browser_thread_bundle.h", |
| 85 "+content/public/test/test_file_system_options.h", |
| 86 "+storage/browser/fileapi/external_mount_points.h", |
| 87 "+storage/browser/fileapi/file_system_backend.h", |
| 88 "+storage/browser/fileapi/file_system_context.h", |
| 89 "+storage/browser/fileapi/file_system_url.h", |
| 90 "+storage/browser/fileapi/isolated_context.h", |
| 91 ], |
| 92 |
| 93 # The dependency below is ok and can stay here for the long-term, because it |
| 94 # is guarded by #if defined(OS_CHROMEOS) in the source code. |
| 95 r"(file_cache\.cc" |
| 96 r"|download_operation_unittest\.cc" |
| 97 r"|test_util\.h" |
| 98 r")": [ |
| 99 "!third_party/cros_system_api/constants/cryptohome.h", |
| 100 ], |
| 101 |
24 } | 102 } |
OLD | NEW |