| 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("//build/split_static_library.gni") | 8 import("//build/split_static_library.gni") |
| 9 import("//chrome/common/features.gni") | 9 import("//chrome/common/features.gni") |
| 10 import("//media/media_options.gni") | 10 import("//media/media_options.gni") |
| (...skipping 1526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1537 "views/extensions/media_gallery_checkbox_view.cc", | 1537 "views/extensions/media_gallery_checkbox_view.cc", |
| 1538 "views/extensions/media_gallery_checkbox_view.h", | 1538 "views/extensions/media_gallery_checkbox_view.h", |
| 1539 ] | 1539 ] |
| 1540 if (use_aura) { | 1540 if (use_aura) { |
| 1541 sources += [ | 1541 sources += [ |
| 1542 "views/extensions/extension_popup_aura.cc", | 1542 "views/extensions/extension_popup_aura.cc", |
| 1543 "views/extensions/extension_popup_aura.h", | 1543 "views/extensions/extension_popup_aura.h", |
| 1544 ] | 1544 ] |
| 1545 } | 1545 } |
| 1546 } | 1546 } |
| 1547 if (!is_mac) { | 1547 if (!is_mac || mac_views_browser) { |
| 1548 sources += [ | 1548 sources += [ |
| 1549 # This test header is included because it contains forward declarations | 1549 # This test header is included because it contains forward declarations |
| 1550 # needed for "friend" statements for use in tests. | 1550 # needed for "friend" statements for use in tests. |
| 1551 "translate/translate_bubble_test_utils.h", | 1551 "translate/translate_bubble_test_utils.h", |
| 1552 "views/accessibility/invert_bubble_view.cc", | 1552 "views/accessibility/invert_bubble_view.cc", |
| 1553 "views/accessibility/invert_bubble_view.h", | 1553 "views/accessibility/invert_bubble_view.h", |
| 1554 "views/autofill/autofill_popup_base_view.cc", | 1554 "views/autofill/autofill_popup_base_view.cc", |
| 1555 "views/autofill/autofill_popup_base_view.h", | 1555 "views/autofill/autofill_popup_base_view.h", |
| 1556 "views/autofill/autofill_popup_view_views.cc", | 1556 "views/autofill/autofill_popup_view_views.cc", |
| 1557 "views/autofill/autofill_popup_view_views.h", | 1557 "views/autofill/autofill_popup_view_views.h", |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1819 "views/translate/translate_icon_view.cc", | 1819 "views/translate/translate_icon_view.cc", |
| 1820 "views/translate/translate_icon_view.h", | 1820 "views/translate/translate_icon_view.h", |
| 1821 "views/update_recommended_message_box.cc", | 1821 "views/update_recommended_message_box.cc", |
| 1822 "views/update_recommended_message_box.h", | 1822 "views/update_recommended_message_box.h", |
| 1823 "views/validation_message_bubble_view.cc", | 1823 "views/validation_message_bubble_view.cc", |
| 1824 "views/validation_message_bubble_view.h", | 1824 "views/validation_message_bubble_view.h", |
| 1825 "views/website_settings/chooser_bubble_ui_view.cc", | 1825 "views/website_settings/chooser_bubble_ui_view.cc", |
| 1826 "views/website_settings/chooser_bubble_ui_view.h", | 1826 "views/website_settings/chooser_bubble_ui_view.h", |
| 1827 "views/website_settings/permission_prompt_impl_views.cc", | 1827 "views/website_settings/permission_prompt_impl_views.cc", |
| 1828 ] | 1828 ] |
| 1829 |
| 1829 if (use_aura) { | 1830 if (use_aura) { |
| 1830 deps += [ | 1831 deps += [ |
| 1831 "//services/ui/public/cpp", | 1832 "//services/ui/public/cpp", |
| 1832 "//services/ui/public/interfaces", | 1833 "//services/ui/public/interfaces", |
| 1833 ] | 1834 ] |
| 1834 | 1835 |
| 1835 # TODO(erg): These files hard depend on mus, and thus can't be in a gyp | 1836 # TODO(erg): These files hard depend on mus, and thus can't be in a gyp |
| 1836 # build. When gyp goes away, merge this back into the sources list. | 1837 # build. When gyp goes away, merge this back into the sources list. |
| 1837 sources += [ | 1838 sources += [ |
| 1838 "views/tabs/window_finder_mus.cc", | 1839 "views/tabs/window_finder_mus.cc", |
| 1839 "views/tabs/window_finder_mus.h", | 1840 "views/tabs/window_finder_mus.h", |
| 1840 ] | 1841 ] |
| 1841 } | 1842 } |
| 1842 deps += [ "//ui/views/mus" ] | 1843 if (!mac_views_browser) { |
| 1844 deps += [ "//ui/views/mus" ] |
| 1845 } |
| 1843 } | 1846 } |
| 1844 if (use_ash) { | 1847 if (use_ash) { |
| 1845 sources += [ | 1848 sources += [ |
| 1846 "views/frame/browser_frame_ash.cc", | 1849 "views/frame/browser_frame_ash.cc", |
| 1847 "views/frame/browser_frame_ash.h", | 1850 "views/frame/browser_frame_ash.h", |
| 1848 "views/frame/browser_header_painter_ash.cc", | 1851 "views/frame/browser_header_painter_ash.cc", |
| 1849 "views/frame/browser_header_painter_ash.h", | 1852 "views/frame/browser_header_painter_ash.h", |
| 1850 "views/frame/browser_non_client_frame_view_ash.cc", | 1853 "views/frame/browser_non_client_frame_view_ash.cc", |
| 1851 "views/frame/browser_non_client_frame_view_ash.h", | 1854 "views/frame/browser_non_client_frame_view_ash.h", |
| 1852 "views/frame/immersive_context_mus.cc", | 1855 "views/frame/immersive_context_mus.cc", |
| (...skipping 1507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3360 "passwords/passwords_model_delegate_mock.cc", | 3363 "passwords/passwords_model_delegate_mock.cc", |
| 3361 "passwords/passwords_model_delegate_mock.h", | 3364 "passwords/passwords_model_delegate_mock.h", |
| 3362 ] | 3365 ] |
| 3363 deps += [ "//chrome/test:test_support_ui" ] | 3366 deps += [ "//chrome/test:test_support_ui" ] |
| 3364 } | 3367 } |
| 3365 | 3368 |
| 3366 if (enable_extensions) { | 3369 if (enable_extensions) { |
| 3367 deps += [ "//extensions/browser" ] | 3370 deps += [ "//extensions/browser" ] |
| 3368 } | 3371 } |
| 3369 } | 3372 } |
| OLD | NEW |