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 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 3752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3763 "icon_loader_auralinux.cc", | 3763 "icon_loader_auralinux.cc", |
3764 "password_manager/native_backend_kwallet_x.cc", | 3764 "password_manager/native_backend_kwallet_x.cc", |
3765 "password_manager/native_backend_kwallet_x.h", | 3765 "password_manager/native_backend_kwallet_x.h", |
3766 "platform_util_linux.cc", | 3766 "platform_util_linux.cc", |
3767 "shell_integration_linux.cc", | 3767 "shell_integration_linux.cc", |
3768 "shell_integration_linux.h", | 3768 "shell_integration_linux.h", |
3769 "speech/tts_linux.cc", | 3769 "speech/tts_linux.cc", |
3770 "web_applications/web_app_linux.cc", | 3770 "web_applications/web_app_linux.cc", |
3771 ] | 3771 ] |
3772 | 3772 |
| 3773 if (enable_native_notifications) { |
| 3774 sources += [ |
| 3775 "notifications/notification_platform_bridge_linux.cc", |
| 3776 "notifications/notification_platform_bridge_linux.h", |
| 3777 ] |
| 3778 } |
| 3779 |
3773 if (use_x11) { | 3780 if (use_x11) { |
3774 sources += [ | 3781 sources += [ |
3775 "fullscreen_aurax11.cc", | 3782 "fullscreen_aurax11.cc", |
3776 "media/webrtc/window_icon_util_x11.cc", | 3783 "media/webrtc/window_icon_util_x11.cc", |
3777 | 3784 |
3778 # ThemeServiceAuraX11 does not depend on X11, although its | 3785 # ThemeServiceAuraX11 does not depend on X11, although its |
3779 # instantiation/inclusion in theme_service_factory.cc is conditioned | 3786 # instantiation/inclusion in theme_service_factory.cc is conditioned |
3780 # by USE_X11. | 3787 # by USE_X11. |
3781 # TODO(tonikitoo): Check if non-x11 could benefit from it. If so, | 3788 # TODO(tonikitoo): Check if non-x11 could benefit from it. If so, |
3782 # rename and use it. | 3789 # rename and use it. |
3783 "themes/theme_service_aurax11.cc", | 3790 "themes/theme_service_aurax11.cc", |
3784 "themes/theme_service_aurax11.h", | 3791 "themes/theme_service_aurax11.h", |
3785 ] | 3792 ] |
3786 } | 3793 } |
3787 | 3794 |
3788 # libsecret hard depends on GLib. | 3795 # libsecret hard depends on GLib. |
3789 if (use_glib) { | 3796 if (use_glib) { |
3790 sources += [ | 3797 sources += [ |
3791 "password_manager/native_backend_libsecret.cc", | 3798 "password_manager/native_backend_libsecret.cc", |
3792 "password_manager/native_backend_libsecret.h", | 3799 "password_manager/native_backend_libsecret.h", |
3793 ] | 3800 ] |
3794 defines += [ "USE_LIBSECRET" ] | 3801 defines += [ "USE_LIBSECRET" ] |
3795 deps += [ "//third_party/libsecret" ] | 3802 deps += [ "//third_party/libsecret" ] |
3796 } | 3803 } |
3797 | 3804 |
3798 if (enable_native_notifications) { | |
3799 sources += [ | |
3800 "notifications/notification_platform_bridge_linux.cc", | |
3801 "notifications/notification_platform_bridge_linux.h", | |
3802 ] | |
3803 deps += [ "//build/linux/libgio" ] | |
3804 } | |
3805 | |
3806 if (use_ozone) { | 3805 if (use_ozone) { |
3807 sources += [ | 3806 sources += [ |
3808 "fullscreen_ozone.cc", | 3807 "fullscreen_ozone.cc", |
3809 "media/webrtc/window_icon_util_ozone.cc", | 3808 "media/webrtc/window_icon_util_ozone.cc", |
3810 ] | 3809 ] |
3811 } | 3810 } |
3812 } | 3811 } |
3813 | 3812 |
3814 if (enable_app_list) { | 3813 if (enable_app_list) { |
3815 deps += [ "//ui/app_list" ] | 3814 deps += [ "//ui/app_list" ] |
(...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4692 "media/pepper_cdm_test_constants.cc", | 4691 "media/pepper_cdm_test_constants.cc", |
4693 "media/pepper_cdm_test_constants.h", | 4692 "media/pepper_cdm_test_constants.h", |
4694 ] | 4693 ] |
4695 } | 4694 } |
4696 } | 4695 } |
4697 | 4696 |
4698 service_manifest("preferences_forwarder_manifest") { | 4697 service_manifest("preferences_forwarder_manifest") { |
4699 name = "preferences_forwarder" | 4698 name = "preferences_forwarder" |
4700 source = "prefs/forwarder_manifest.json" | 4699 source = "prefs/forwarder_manifest.json" |
4701 } | 4700 } |
OLD | NEW |