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

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

Issue 2330993002: macviews: fix mac_views_browser=1 build (Closed)
Patch Set: explodes -> fails to 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/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
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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
1832 "//services/ui/public/interfaces", 1832 "//services/ui/public/interfaces",
1833 ] 1833 ]
1834 1834
1835 # TODO(erg): These files hard depend on mus, and thus can't be in a gyp 1835 # 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. 1836 # build. When gyp goes away, merge this back into the sources list.
1837 sources += [ 1837 sources += [
1838 "views/tabs/window_finder_mus.cc", 1838 "views/tabs/window_finder_mus.cc",
1839 "views/tabs/window_finder_mus.h", 1839 "views/tabs/window_finder_mus.h",
1840 ] 1840 ]
1841 } 1841 }
1842 deps += [ "//ui/views/mus" ] 1842
1843 # TODO(ellyjones): This target fails to build on Mac because of
1844 # incompatible uses of gpu::AcceleratedWidget vs gpu::SurfaceHandle.
1845 if (!is_mac) {
1846 deps += [ "//ui/views/mus" ]
1847 }
1843 } 1848 }
1844 if (use_ash) { 1849 if (use_ash) {
1845 sources += [ 1850 sources += [
1846 "views/frame/browser_frame_ash.cc", 1851 "views/frame/browser_frame_ash.cc",
1847 "views/frame/browser_frame_ash.h", 1852 "views/frame/browser_frame_ash.h",
1848 "views/frame/browser_header_painter_ash.cc", 1853 "views/frame/browser_header_painter_ash.cc",
1849 "views/frame/browser_header_painter_ash.h", 1854 "views/frame/browser_header_painter_ash.h",
1850 "views/frame/browser_non_client_frame_view_ash.cc", 1855 "views/frame/browser_non_client_frame_view_ash.cc",
1851 "views/frame/browser_non_client_frame_view_ash.h", 1856 "views/frame/browser_non_client_frame_view_ash.h",
1852 "views/frame/immersive_context_mus.cc", 1857 "views/frame/immersive_context_mus.cc",
(...skipping 1506 matching lines...) Expand 10 before | Expand all | Expand 10 after
3359 "passwords/passwords_model_delegate_mock.cc", 3364 "passwords/passwords_model_delegate_mock.cc",
3360 "passwords/passwords_model_delegate_mock.h", 3365 "passwords/passwords_model_delegate_mock.h",
3361 ] 3366 ]
3362 deps += [ "//chrome/test:test_support_ui" ] 3367 deps += [ "//chrome/test:test_support_ui" ]
3363 } 3368 }
3364 3369
3365 if (enable_extensions) { 3370 if (enable_extensions) {
3366 deps += [ "//extensions/browser" ] 3371 deps += [ "//extensions/browser" ]
3367 } 3372 }
3368 } 3373 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698