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/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//components/nacl/nacl_defines.gni") | 8 import("//components/nacl/nacl_defines.gni") |
9 # //build/config/android/rules.gni imports //tools/grit/grit_rule.gni, which | 9 # //build/config/android/rules.gni imports //tools/grit/grit_rule.gni, which |
10 # produces a conflict for the "grit" template so we have to only include one. | 10 # produces a conflict for the "grit" template so we have to only include one. |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 ] | 260 ] |
261 sources += rebase_path(gypi_values.chrome_browser_extensions_sources, | 261 sources += rebase_path(gypi_values.chrome_browser_extensions_sources, |
262 ".", "//chrome") | 262 ".", "//chrome") |
263 } | 263 } |
264 if (enable_background) { | 264 if (enable_background) { |
265 sources += rebase_path(gypi_values.chrome_browser_background_sources, | 265 sources += rebase_path(gypi_values.chrome_browser_background_sources, |
266 ".", "//chrome") | 266 ".", "//chrome") |
267 if (!use_aura || is_win || is_chromeos) { | 267 if (!use_aura || is_win || is_chromeos) { |
268 sources -= [ "background/background_mode_manager_aura.cc" ] | 268 sources -= [ "background/background_mode_manager_aura.cc" ] |
269 } | 269 } |
| 270 defines += [ "ENABLE_BACKGROUND=1" ] |
270 } | 271 } |
271 if (enable_task_manager) { | 272 if (enable_task_manager) { |
272 sources += rebase_path(gypi_values.chrome_browser_task_manager_sources, | 273 sources += rebase_path(gypi_values.chrome_browser_task_manager_sources, |
273 ".", "//chrome") | 274 ".", "//chrome") |
274 } | 275 } |
275 if (enable_spellcheck) { | 276 if (enable_spellcheck) { |
276 sources += rebase_path(gypi_values.chrome_browser_spellchecker_sources, | 277 sources += rebase_path(gypi_values.chrome_browser_spellchecker_sources, |
277 ".", "//chrome") | 278 ".", "//chrome") |
278 deps += [ "//third_party/hunspell" ] | 279 deps += [ "//third_party/hunspell" ] |
279 } | 280 } |
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
736 "browsing_data/mock_browsing_data_local_storage_helper.cc", | 737 "browsing_data/mock_browsing_data_local_storage_helper.cc", |
737 "browsing_data/mock_browsing_data_local_storage_helper.h", | 738 "browsing_data/mock_browsing_data_local_storage_helper.h", |
738 "browsing_data/mock_browsing_data_quota_helper.cc", | 739 "browsing_data/mock_browsing_data_quota_helper.cc", |
739 "browsing_data/mock_browsing_data_quota_helper.h", | 740 "browsing_data/mock_browsing_data_quota_helper.h", |
740 "browsing_data/mock_browsing_data_service_worker_helper.cc", | 741 "browsing_data/mock_browsing_data_service_worker_helper.cc", |
741 "browsing_data/mock_browsing_data_service_worker_helper.h", | 742 "browsing_data/mock_browsing_data_service_worker_helper.h", |
742 "download/download_test_file_activity_observer.cc", | 743 "download/download_test_file_activity_observer.cc", |
743 "download/download_test_file_activity_observer.h", | 744 "download/download_test_file_activity_observer.h", |
744 "download/test_download_shelf.cc", | 745 "download/test_download_shelf.cc", |
745 "download/test_download_shelf.h", | 746 "download/test_download_shelf.h", |
746 "extensions/extension_action_test_util.cc", | |
747 "extensions/extension_action_test_util.h", | |
748 "invalidation/fake_invalidation_service.cc", | 747 "invalidation/fake_invalidation_service.cc", |
749 "invalidation/fake_invalidation_service.h", | 748 "invalidation/fake_invalidation_service.h", |
750 "media/fake_desktop_media_list.cc", | 749 "media/fake_desktop_media_list.cc", |
751 "media/fake_desktop_media_list.h", | 750 "media/fake_desktop_media_list.h", |
752 "net/dns_probe_test_util.cc", | 751 "net/dns_probe_test_util.cc", |
753 "net/dns_probe_test_util.h", | 752 "net/dns_probe_test_util.h", |
754 "net/url_request_mock_util.cc", | 753 "net/url_request_mock_util.cc", |
755 "net/url_request_mock_util.h", | 754 "net/url_request_mock_util.h", |
756 "notifications/notification_test_util.cc", | 755 "notifications/notification_test_util.cc", |
757 "notifications/notification_test_util.h", | 756 "notifications/notification_test_util.h", |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
812 ] | 811 ] |
813 | 812 |
814 if (!is_ios) { | 813 if (!is_ios) { |
815 deps += [ | 814 deps += [ |
816 "//components/sessions:test_support", | 815 "//components/sessions:test_support", |
817 "//google_apis:test_support", | 816 "//google_apis:test_support", |
818 ] | 817 ] |
819 } | 818 } |
820 | 819 |
821 if (enable_extensions) { | 820 if (enable_extensions) { |
| 821 sources += [ |
| 822 "extensions/extension_action_test_util.cc", |
| 823 "extensions/extension_action_test_util.h", |
| 824 ] |
822 deps += [ | 825 deps += [ |
823 "//extensions:test_support", | 826 "//extensions:test_support", |
824 ] | 827 ] |
825 } | 828 } |
826 | 829 |
827 if (is_chromeos) { | 830 if (is_chromeos) { |
828 sources += [ | 831 sources += [ |
829 "chromeos/app_mode/fake_cws.cc", | 832 "chromeos/app_mode/fake_cws.cc", |
830 "chromeos/app_mode/fake_cws.h", | 833 "chromeos/app_mode/fake_cws.h", |
831 "chromeos/file_manager/fake_disk_mount_manager.cc", | 834 "chromeos/file_manager/fake_disk_mount_manager.cc", |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
941 ] | 944 ] |
942 } | 945 } |
943 | 946 |
944 if (enable_wifi_bootstrapping) { | 947 if (enable_wifi_bootstrapping) { |
945 sources += [ | 948 sources += [ |
946 "local_discovery/wifi/mock_wifi_manager.cc", | 949 "local_discovery/wifi/mock_wifi_manager.cc", |
947 "local_discovery/wifi/mock_wifi_manager.h", | 950 "local_discovery/wifi/mock_wifi_manager.h", |
948 ] | 951 ] |
949 } | 952 } |
950 } | 953 } |
OLD | NEW |