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

Unified Diff: components/drive/BUILD.gn

Issue 2176433002: Fix //components/drive:drive_chromeos to only be defined on CrOS in GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/drive/BUILD.gn
diff --git a/components/drive/BUILD.gn b/components/drive/BUILD.gn
index 9190e9f9f7723de7d98d16c440b22848074ddc0c..f709a4fd5c8bf9596982e1e672b4eaeea31b8f00 100644
--- a/components/drive/BUILD.gn
+++ b/components/drive/BUILD.gn
@@ -68,76 +68,6 @@ static_library("drive") {
]
}
-static_library("drive_chromeos") {
- sources = [
- "chromeos/change_list_loader.cc",
- "chromeos/change_list_loader.h",
- "chromeos/change_list_loader_observer.h",
- "chromeos/change_list_processor.cc",
- "chromeos/change_list_processor.h",
- "chromeos/directory_loader.cc",
- "chromeos/directory_loader.h",
- "chromeos/file_cache.cc",
- "chromeos/file_cache.h",
- "chromeos/file_system.cc",
- "chromeos/file_system.h",
- "chromeos/file_system/copy_operation.cc",
- "chromeos/file_system/copy_operation.h",
- "chromeos/file_system/create_directory_operation.cc",
- "chromeos/file_system/create_directory_operation.h",
- "chromeos/file_system/create_file_operation.cc",
- "chromeos/file_system/create_file_operation.h",
- "chromeos/file_system/download_operation.cc",
- "chromeos/file_system/download_operation.h",
- "chromeos/file_system/get_file_for_saving_operation.cc",
- "chromeos/file_system/get_file_for_saving_operation.h",
- "chromeos/file_system/move_operation.cc",
- "chromeos/file_system/move_operation.h",
- "chromeos/file_system/open_file_operation.cc",
- "chromeos/file_system/open_file_operation.h",
- "chromeos/file_system/operation_delegate.cc",
- "chromeos/file_system/operation_delegate.h",
- "chromeos/file_system/remove_operation.cc",
- "chromeos/file_system/remove_operation.h",
- "chromeos/file_system/search_operation.cc",
- "chromeos/file_system/search_operation.h",
- "chromeos/file_system/set_property_operation.cc",
- "chromeos/file_system/set_property_operation.h",
- "chromeos/file_system/touch_operation.cc",
- "chromeos/file_system/touch_operation.h",
- "chromeos/file_system/truncate_operation.cc",
- "chromeos/file_system/truncate_operation.h",
- "chromeos/file_system_interface.cc",
- "chromeos/file_system_interface.h",
- "chromeos/file_system_observer.h",
- "chromeos/remove_stale_cache_files.cc",
- "chromeos/remove_stale_cache_files.h",
- "chromeos/resource_metadata.cc",
- "chromeos/resource_metadata.h",
- "chromeos/search_metadata.cc",
- "chromeos/search_metadata.h",
- "chromeos/sync/entry_revert_performer.cc",
- "chromeos/sync/entry_revert_performer.h",
- "chromeos/sync/entry_update_performer.cc",
- "chromeos/sync/entry_update_performer.h",
- "chromeos/sync/remove_performer.cc",
- "chromeos/sync/remove_performer.h",
- "chromeos/sync_client.cc",
- "chromeos/sync_client.h",
- ]
- deps = [
- ":drive",
- "//base",
- "//base:i18n",
- "//components/prefs",
- "//google_apis:google_apis",
- "//net:net",
- ]
- public_deps = [
- ":proto",
- ]
-}
-
proto_library("proto") {
sources = [
"drive.proto",
@@ -166,6 +96,75 @@ static_library("test_support") {
}
if (is_chromeos) {
+ source_set("drive_chromeos") {
+ sources = [
+ "chromeos/change_list_loader.cc",
+ "chromeos/change_list_loader.h",
+ "chromeos/change_list_loader_observer.h",
+ "chromeos/change_list_processor.cc",
+ "chromeos/change_list_processor.h",
+ "chromeos/directory_loader.cc",
+ "chromeos/directory_loader.h",
+ "chromeos/file_cache.cc",
+ "chromeos/file_cache.h",
+ "chromeos/file_system.cc",
+ "chromeos/file_system.h",
+ "chromeos/file_system/copy_operation.cc",
+ "chromeos/file_system/copy_operation.h",
+ "chromeos/file_system/create_directory_operation.cc",
+ "chromeos/file_system/create_directory_operation.h",
+ "chromeos/file_system/create_file_operation.cc",
+ "chromeos/file_system/create_file_operation.h",
+ "chromeos/file_system/download_operation.cc",
+ "chromeos/file_system/download_operation.h",
+ "chromeos/file_system/get_file_for_saving_operation.cc",
+ "chromeos/file_system/get_file_for_saving_operation.h",
+ "chromeos/file_system/move_operation.cc",
+ "chromeos/file_system/move_operation.h",
+ "chromeos/file_system/open_file_operation.cc",
+ "chromeos/file_system/open_file_operation.h",
+ "chromeos/file_system/operation_delegate.cc",
+ "chromeos/file_system/operation_delegate.h",
+ "chromeos/file_system/remove_operation.cc",
+ "chromeos/file_system/remove_operation.h",
+ "chromeos/file_system/search_operation.cc",
+ "chromeos/file_system/search_operation.h",
+ "chromeos/file_system/set_property_operation.cc",
+ "chromeos/file_system/set_property_operation.h",
+ "chromeos/file_system/touch_operation.cc",
+ "chromeos/file_system/touch_operation.h",
+ "chromeos/file_system/truncate_operation.cc",
+ "chromeos/file_system/truncate_operation.h",
+ "chromeos/file_system_interface.cc",
+ "chromeos/file_system_interface.h",
+ "chromeos/file_system_observer.h",
+ "chromeos/remove_stale_cache_files.cc",
+ "chromeos/remove_stale_cache_files.h",
+ "chromeos/resource_metadata.cc",
+ "chromeos/resource_metadata.h",
+ "chromeos/search_metadata.cc",
+ "chromeos/search_metadata.h",
+ "chromeos/sync/entry_revert_performer.cc",
+ "chromeos/sync/entry_revert_performer.h",
+ "chromeos/sync/entry_update_performer.cc",
+ "chromeos/sync/entry_update_performer.h",
+ "chromeos/sync/remove_performer.cc",
+ "chromeos/sync/remove_performer.h",
+ "chromeos/sync_client.cc",
+ "chromeos/sync_client.h",
+ ]
+ deps = [
+ ":drive",
+ "//base",
+ "//base:i18n",
+ "//components/prefs",
+ "//google_apis:google_apis",
+ "//net:net",
+ ]
+ public_deps = [
+ ":proto",
+ ]
+ }
static_library("test_support_chromeos") {
testonly = true
sources = [
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698