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

Side by Side Diff: chrome/browser/BUILD.gn

Issue 2358493002: Remove MTP support on Linux. (Closed)
Patch Set: fix build Created 4 years, 3 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
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 import("//build/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/crypto.gni") 6 import("//build/config/crypto.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//build/split_static_library.gni") 9 import("//build/split_static_library.gni")
10 import("//chrome/common/features.gni") 10 import("//chrome/common/features.gni")
(...skipping 2059 matching lines...) Expand 10 before | Expand all | Expand 10 after
2070 "safe_browsing/services_delegate_stub.h", 2070 "safe_browsing/services_delegate_stub.h",
2071 ] 2071 ]
2072 deps += [ "//components/safe_browsing_db:safe_browsing_db_mobile" ] 2072 deps += [ "//components/safe_browsing_db:safe_browsing_db_mobile" ]
2073 } 2073 }
2074 } 2074 }
2075 2075
2076 if (enable_hotwording) { 2076 if (enable_hotwording) {
2077 defines += [ "ENABLE_HOTWORDING" ] 2077 defines += [ "ENABLE_HOTWORDING" ]
2078 } 2078 }
2079 2079
2080 if (is_linux && use_dbus) { 2080 if (is_chromeos && use_dbus) {
2081 deps += [ "//device/media_transfer_protocol" ] 2081 deps += [ "//device/media_transfer_protocol" ]
2082 sources += [
tommycli 2016/09/20 17:37:46 should we also rename this directory "chromeos"? .
Lei Zhang 2016/09/28 07:23:25 Done.
2083 "media_galleries/linux/mtp_device_delegate_impl_linux.cc",
2084 "media_galleries/linux/mtp_device_delegate_impl_linux.h",
2085 "media_galleries/linux/mtp_device_object_enumerator.cc",
2086 "media_galleries/linux/mtp_device_object_enumerator.h",
2087 "media_galleries/linux/mtp_device_task_helper.cc",
2088 "media_galleries/linux/mtp_device_task_helper.h",
2089 "media_galleries/linux/mtp_device_task_helper_map_service.cc",
2090 "media_galleries/linux/mtp_device_task_helper_map_service.h",
2091 "media_galleries/linux/mtp_read_file_worker.cc",
2092 "media_galleries/linux/mtp_read_file_worker.h",
2093 ]
2094 }
2095 if (is_win || is_mac || (is_chromeos && use_dbus)) {
2096 sources += [
2097 "media_galleries/fileapi/device_media_async_file_util.cc",
2098 "media_galleries/fileapi/device_media_async_file_util.h",
2099 "media_galleries/fileapi/mtp_device_async_delegate.cc",
2100 "media_galleries/fileapi/mtp_device_async_delegate.h",
2101 "media_galleries/fileapi/mtp_device_map_service.cc",
2102 "media_galleries/fileapi/mtp_device_map_service.h",
2103 "media_galleries/fileapi/mtp_file_stream_reader.cc",
2104 "media_galleries/fileapi/mtp_file_stream_reader.h",
2105 ]
2082 } 2106 }
2083 2107
2084 if (use_udev) { 2108 if (use_udev) {
2085 deps += [ "//device/udev_linux" ] 2109 deps += [ "//device/udev_linux" ]
2086 } 2110 }
2087 2111
2088 if (is_linux && !is_chromeos) { 2112 if (is_linux && !is_chromeos) {
2089 deps += [ "//third_party/speech-dispatcher" ] 2113 deps += [ "//third_party/speech-dispatcher" ]
2090 } 2114 }
2091 2115
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after
2645 "lifetime/keep_alive_registry.h", 2669 "lifetime/keep_alive_registry.h",
2646 "lifetime/keep_alive_state_observer.h", 2670 "lifetime/keep_alive_state_observer.h",
2647 "lifetime/keep_alive_types.cc", 2671 "lifetime/keep_alive_types.cc",
2648 "lifetime/keep_alive_types.h", 2672 "lifetime/keep_alive_types.h",
2649 "lifetime/scoped_keep_alive.cc", 2673 "lifetime/scoped_keep_alive.cc",
2650 "lifetime/scoped_keep_alive.h", 2674 "lifetime/scoped_keep_alive.h",
2651 "media/webrtc/tab_desktop_media_list.cc", 2675 "media/webrtc/tab_desktop_media_list.cc",
2652 "media/webrtc/tab_desktop_media_list.h", 2676 "media/webrtc/tab_desktop_media_list.h",
2653 "media_galleries/fileapi/av_scanning_file_validator.cc", 2677 "media_galleries/fileapi/av_scanning_file_validator.cc",
2654 "media_galleries/fileapi/av_scanning_file_validator.h", 2678 "media_galleries/fileapi/av_scanning_file_validator.h",
2655 "media_galleries/fileapi/device_media_async_file_util.cc",
2656 "media_galleries/fileapi/device_media_async_file_util.h",
2657 "media_galleries/fileapi/iapps_finder.h", 2679 "media_galleries/fileapi/iapps_finder.h",
2658 "media_galleries/fileapi/iapps_finder_impl.cc", 2680 "media_galleries/fileapi/iapps_finder_impl.cc",
2659 "media_galleries/fileapi/iapps_finder_impl.h", 2681 "media_galleries/fileapi/iapps_finder_impl.h",
2660 "media_galleries/fileapi/iapps_finder_impl_mac.mm", 2682 "media_galleries/fileapi/iapps_finder_impl_mac.mm",
2661 "media_galleries/fileapi/iapps_finder_impl_win.cc", 2683 "media_galleries/fileapi/iapps_finder_impl_win.cc",
2662 "media_galleries/fileapi/media_file_system_backend.cc", 2684 "media_galleries/fileapi/media_file_system_backend.cc",
2663 "media_galleries/fileapi/media_file_system_backend.h", 2685 "media_galleries/fileapi/media_file_system_backend.h",
2664 "media_galleries/fileapi/media_file_validator_factory.cc", 2686 "media_galleries/fileapi/media_file_validator_factory.cc",
2665 "media_galleries/fileapi/media_file_validator_factory.h", 2687 "media_galleries/fileapi/media_file_validator_factory.h",
2666 "media_galleries/fileapi/media_path_filter.cc", 2688 "media_galleries/fileapi/media_path_filter.cc",
2667 "media_galleries/fileapi/media_path_filter.h", 2689 "media_galleries/fileapi/media_path_filter.h",
2668 "media_galleries/fileapi/mtp_device_async_delegate.cc",
2669 "media_galleries/fileapi/mtp_device_async_delegate.h",
2670 "media_galleries/fileapi/mtp_device_map_service.cc",
2671 "media_galleries/fileapi/mtp_device_map_service.h",
2672 "media_galleries/fileapi/mtp_file_stream_reader.cc",
2673 "media_galleries/fileapi/mtp_file_stream_reader.h",
2674 "media_galleries/fileapi/native_media_file_util.cc", 2690 "media_galleries/fileapi/native_media_file_util.cc",
2675 "media_galleries/fileapi/native_media_file_util.h", 2691 "media_galleries/fileapi/native_media_file_util.h",
2676 "media_galleries/fileapi/picasa_finder.cc", 2692 "media_galleries/fileapi/picasa_finder.cc",
2677 "media_galleries/fileapi/picasa_finder.h", 2693 "media_galleries/fileapi/picasa_finder.h",
2678 "media_galleries/fileapi/picasa_finder_mac.mm", 2694 "media_galleries/fileapi/picasa_finder_mac.mm",
2679 "media_galleries/fileapi/readahead_file_stream_reader.cc", 2695 "media_galleries/fileapi/readahead_file_stream_reader.cc",
2680 "media_galleries/fileapi/readahead_file_stream_reader.h", 2696 "media_galleries/fileapi/readahead_file_stream_reader.h",
2681 "media_galleries/fileapi/safe_audio_video_checker.cc", 2697 "media_galleries/fileapi/safe_audio_video_checker.cc",
2682 "media_galleries/fileapi/safe_audio_video_checker.h", 2698 "media_galleries/fileapi/safe_audio_video_checker.h",
2683 "media_galleries/fileapi/safe_media_metadata_parser.cc", 2699 "media_galleries/fileapi/safe_media_metadata_parser.cc",
2684 "media_galleries/fileapi/safe_media_metadata_parser.h", 2700 "media_galleries/fileapi/safe_media_metadata_parser.h",
2685 "media_galleries/fileapi/supported_audio_video_checker.cc", 2701 "media_galleries/fileapi/supported_audio_video_checker.cc",
2686 "media_galleries/fileapi/supported_audio_video_checker.h", 2702 "media_galleries/fileapi/supported_audio_video_checker.h",
2687 "media_galleries/fileapi/supported_image_type_validator.cc", 2703 "media_galleries/fileapi/supported_image_type_validator.cc",
2688 "media_galleries/fileapi/supported_image_type_validator.h", 2704 "media_galleries/fileapi/supported_image_type_validator.h",
2689 "media_galleries/gallery_watch_manager.cc", 2705 "media_galleries/gallery_watch_manager.cc",
2690 "media_galleries/gallery_watch_manager.h", 2706 "media_galleries/gallery_watch_manager.h",
2691 "media_galleries/gallery_watch_manager_observer.h", 2707 "media_galleries/gallery_watch_manager_observer.h",
2692 "media_galleries/imported_media_gallery_registry.cc", 2708 "media_galleries/imported_media_gallery_registry.cc",
2693 "media_galleries/imported_media_gallery_registry.h", 2709 "media_galleries/imported_media_gallery_registry.h",
2694 "media_galleries/linux/mtp_device_delegate_impl_linux.cc",
2695 "media_galleries/linux/mtp_device_delegate_impl_linux.h",
2696 "media_galleries/linux/mtp_device_object_enumerator.cc",
2697 "media_galleries/linux/mtp_device_object_enumerator.h",
2698 "media_galleries/linux/mtp_device_task_helper.cc",
2699 "media_galleries/linux/mtp_device_task_helper.h",
2700 "media_galleries/linux/mtp_device_task_helper_map_service.cc",
2701 "media_galleries/linux/mtp_device_task_helper_map_service.h",
2702 "media_galleries/linux/mtp_read_file_worker.cc",
2703 "media_galleries/linux/mtp_read_file_worker.h",
2704 "media_galleries/linux/snapshot_file_details.cc", 2710 "media_galleries/linux/snapshot_file_details.cc",
2705 "media_galleries/linux/snapshot_file_details.h", 2711 "media_galleries/linux/snapshot_file_details.h",
2706 "media_galleries/mac/mtp_device_delegate_impl_mac.h", 2712 "media_galleries/mac/mtp_device_delegate_impl_mac.h",
2707 "media_galleries/mac/mtp_device_delegate_impl_mac.mm", 2713 "media_galleries/mac/mtp_device_delegate_impl_mac.mm",
2708 "media_galleries/media_file_system_registry.cc", 2714 "media_galleries/media_file_system_registry.cc",
2709 "media_galleries/media_file_system_registry.h", 2715 "media_galleries/media_file_system_registry.h",
2710 "media_galleries/media_galleries_dialog_controller.cc", 2716 "media_galleries/media_galleries_dialog_controller.cc",
2711 "media_galleries/media_galleries_dialog_controller.h", 2717 "media_galleries/media_galleries_dialog_controller.h",
2712 "media_galleries/media_galleries_histograms.cc", 2718 "media_galleries/media_galleries_histograms.cc",
2713 "media_galleries/media_galleries_histograms.h", 2719 "media_galleries/media_galleries_histograms.h",
(...skipping 1537 matching lines...) Expand 10 before | Expand all | Expand 10 after
4251 # linking all of the test support. 4257 # linking all of the test support.
4252 static_library("pepper_cdm_test_constants") { 4258 static_library("pepper_cdm_test_constants") {
4253 testonly = true 4259 testonly = true
4254 visibility = [ "//chrome/*" ] 4260 visibility = [ "//chrome/*" ]
4255 sources = [ 4261 sources = [
4256 "media/pepper_cdm_test_constants.cc", 4262 "media/pepper_cdm_test_constants.cc",
4257 "media/pepper_cdm_test_constants.h", 4263 "media/pepper_cdm_test_constants.h",
4258 ] 4264 ]
4259 } 4265 }
4260 } 4266 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/media_galleries/fileapi/media_file_system_backend.h » ('j') | chrome/test/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698