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 3713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3724 "icon_loader_auralinux.cc", | 3724 "icon_loader_auralinux.cc", |
3725 "password_manager/native_backend_kwallet_x.cc", | 3725 "password_manager/native_backend_kwallet_x.cc", |
3726 "password_manager/native_backend_kwallet_x.h", | 3726 "password_manager/native_backend_kwallet_x.h", |
3727 "platform_util_linux.cc", | 3727 "platform_util_linux.cc", |
3728 "shell_integration_linux.cc", | 3728 "shell_integration_linux.cc", |
3729 "shell_integration_linux.h", | 3729 "shell_integration_linux.h", |
3730 "speech/tts_linux.cc", | 3730 "speech/tts_linux.cc", |
3731 "web_applications/web_app_linux.cc", | 3731 "web_applications/web_app_linux.cc", |
3732 ] | 3732 ] |
3733 | 3733 |
| 3734 if (enable_native_notifications) { |
| 3735 sources += [ |
| 3736 "notifications/notification_display_service_proxy.cc", |
| 3737 "notifications/notification_display_service_proxy.h", |
| 3738 "notifications/notification_platform_bridge_linux.cc", |
| 3739 "notifications/notification_platform_bridge_linux.h", |
| 3740 ] |
| 3741 } |
| 3742 |
3734 if (use_x11) { | 3743 if (use_x11) { |
3735 sources += [ | 3744 sources += [ |
3736 "fullscreen_aurax11.cc", | 3745 "fullscreen_aurax11.cc", |
3737 "media/webrtc/window_icon_util_x11.cc", | 3746 "media/webrtc/window_icon_util_x11.cc", |
3738 | 3747 |
3739 # ThemeServiceAuraX11 does not depend on X11, although its | 3748 # ThemeServiceAuraX11 does not depend on X11, although its |
3740 # instantiation/inclusion in theme_service_factory.cc is conditioned | 3749 # instantiation/inclusion in theme_service_factory.cc is conditioned |
3741 # by USE_X11. | 3750 # by USE_X11. |
3742 # TODO(tonikitoo): Check if non-x11 could benefit from it. If so, | 3751 # TODO(tonikitoo): Check if non-x11 could benefit from it. If so, |
3743 # rename and use it. | 3752 # rename and use it. |
3744 "themes/theme_service_aurax11.cc", | 3753 "themes/theme_service_aurax11.cc", |
3745 "themes/theme_service_aurax11.h", | 3754 "themes/theme_service_aurax11.h", |
3746 ] | 3755 ] |
3747 } | 3756 } |
3748 | 3757 |
3749 # libsecret hard depends on GLib. | 3758 # libsecret hard depends on GLib. |
3750 if (use_glib) { | 3759 if (use_glib) { |
3751 sources += [ | 3760 sources += [ |
3752 "password_manager/native_backend_libsecret.cc", | 3761 "password_manager/native_backend_libsecret.cc", |
3753 "password_manager/native_backend_libsecret.h", | 3762 "password_manager/native_backend_libsecret.h", |
3754 ] | 3763 ] |
3755 defines += [ "USE_LIBSECRET" ] | 3764 defines += [ "USE_LIBSECRET" ] |
3756 deps += [ "//third_party/libsecret" ] | 3765 deps += [ "//third_party/libsecret" ] |
3757 } | 3766 } |
3758 | 3767 |
3759 if (enable_native_notifications) { | |
3760 sources += [ | |
3761 "notifications/notification_platform_bridge_linux.cc", | |
3762 "notifications/notification_platform_bridge_linux.h", | |
3763 ] | |
3764 deps += [ "//build/linux/libgio" ] | |
3765 } | |
3766 | |
3767 if (use_ozone) { | 3768 if (use_ozone) { |
3768 sources += [ | 3769 sources += [ |
3769 "fullscreen_ozone.cc", | 3770 "fullscreen_ozone.cc", |
3770 "media/webrtc/window_icon_util_ozone.cc", | 3771 "media/webrtc/window_icon_util_ozone.cc", |
3771 ] | 3772 ] |
3772 } | 3773 } |
3773 } | 3774 } |
3774 | 3775 |
3775 if (enable_app_list) { | 3776 if (enable_app_list) { |
3776 deps += [ "//ui/app_list" ] | 3777 deps += [ "//ui/app_list" ] |
(...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4640 "media/pepper_cdm_test_constants.cc", | 4641 "media/pepper_cdm_test_constants.cc", |
4641 "media/pepper_cdm_test_constants.h", | 4642 "media/pepper_cdm_test_constants.h", |
4642 ] | 4643 ] |
4643 } | 4644 } |
4644 } | 4645 } |
4645 | 4646 |
4646 service_manifest("preferences_forwarder_manifest") { | 4647 service_manifest("preferences_forwarder_manifest") { |
4647 name = "preferences_forwarder" | 4648 name = "preferences_forwarder" |
4648 source = "prefs/forwarder_manifest.json" | 4649 source = "prefs/forwarder_manifest.json" |
4649 } | 4650 } |
OLD | NEW |