OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'browser', | 8 'target_name': 'browser', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'dependencies': [ | 10 'dependencies': [ |
(...skipping 3915 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3926 ], | 3926 ], |
3927 'include_dirs': [ | 3927 'include_dirs': [ |
3928 '../third_party/angle/include', | 3928 '../third_party/angle/include', |
3929 ], | 3929 ], |
3930 'link_settings': { | 3930 'link_settings': { |
3931 'libraries': [ | 3931 'libraries': [ |
3932 '-lXcomposite', | 3932 '-lXcomposite', |
3933 ], | 3933 ], |
3934 }, | 3934 }, |
3935 }], | 3935 }], |
3936 ['webui_certificate_viewer==0', { | 3936 ['webui_dialogs == 1', { |
| 3937 'defines': [ |
| 3938 'WEBUI_DIALOGS', |
| 3939 ], |
| 3940 }], |
| 3941 # Exclude WebUI certificate viewer if not POSIX, mac (these OS's have |
| 3942 # native certificate viewers) or WebUI dialogs are disabled. |
| 3943 ['webui_dialogs == 0 or os_posix == 0 or OS == "mac"', { |
3937 'sources/': [ | 3944 'sources/': [ |
3938 ['exclude', '^browser/ui/webui/certificate_viewer.cc'], | 3945 ['exclude', '^browser/ui/webui/certificate_viewer.cc'], |
3939 ['exclude', '^browser/ui/webui/certificate_viewer.h'], | 3946 ['exclude', '^browser/ui/webui/certificate_viewer.h'], |
3940 ['exclude', '^browser/ui/webui/certificate_viewer_ui.cc'], | 3947 ['exclude', '^browser/ui/webui/certificate_viewer_ui.cc'], |
3941 ['exclude', '^browser/ui/webui/certificate_viewer_ui.h'], | 3948 ['exclude', '^browser/ui/webui/certificate_viewer_ui.h'], |
3942 ], | 3949 ], |
3943 }], | 3950 }], |
3944 ['webui_certificate_viewer==1', { | 3951 ['webui_dialogs == 1', { |
3945 'sources/': [ | 3952 'sources/': [ |
3946 ['exclude', '^browser/ui/gtk/certificate_viewer.cc'], | 3953 ['exclude', '^browser/ui/gtk/certificate_viewer.cc'], |
3947 ['exclude', '^browser/ui/gtk/certificate_viewer.h'], | 3954 ['exclude', '^browser/ui/gtk/certificate_viewer.h'], |
3948 ], | 3955 ], |
3949 'defines': [ | |
3950 'WEBUI_CERTIFICATE_VIEWER', | |
3951 ], | |
3952 }], | 3956 }], |
3953 ['toolkit_uses_gtk == 1', { | 3957 ['toolkit_uses_gtk == 1', { |
3954 'dependencies': [ | 3958 'dependencies': [ |
3955 '../build/linux/system.gyp:dbus-glib', | 3959 '../build/linux/system.gyp:dbus-glib', |
3956 '../build/linux/system.gyp:gconf', | 3960 '../build/linux/system.gyp:gconf', |
3957 '../build/linux/system.gyp:gtk', | 3961 '../build/linux/system.gyp:gtk', |
3958 '../build/linux/system.gyp:gtkprint', | 3962 '../build/linux/system.gyp:gtkprint', |
3959 '../build/linux/system.gyp:ssl', | 3963 '../build/linux/system.gyp:ssl', |
3960 '../build/linux/system.gyp:x11', | 3964 '../build/linux/system.gyp:x11', |
3961 '../third_party/undoview/undoview.gyp:undoview', | 3965 '../third_party/undoview/undoview.gyp:undoview', |
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4588 ['exclude', '^browser/tab_contents/render_view_context_menu_gtk.
h'], | 4592 ['exclude', '^browser/tab_contents/render_view_context_menu_gtk.
h'], |
4589 ['exclude', '^browser/tab_contents/tab_contents_view_gtk.cc'], | 4593 ['exclude', '^browser/tab_contents/tab_contents_view_gtk.cc'], |
4590 ['exclude', '^browser/tab_contents/tab_contents_view_gtk.h'], | 4594 ['exclude', '^browser/tab_contents/tab_contents_view_gtk.h'], |
4591 ['exclude', '^browser/ui/browser_list_gtk.cc'], | 4595 ['exclude', '^browser/ui/browser_list_gtk.cc'], |
4592 ['exclude', '^browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc']
, | 4596 ['exclude', '^browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc']
, |
4593 ['exclude', '^browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h'], | 4597 ['exclude', '^browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h'], |
4594 ['exclude', '^browser/ui/panels/panel_browser_window_gtk.cc'], | 4598 ['exclude', '^browser/ui/panels/panel_browser_window_gtk.cc'], |
4595 ['exclude', '^browser/ui/panels/panel_browser_window_gtk.h'], | 4599 ['exclude', '^browser/ui/panels/panel_browser_window_gtk.h'], |
4596 ], | 4600 ], |
4597 }], | 4601 }], |
4598 # Exclude the GTK cert viewer again if webui_certificate_viewer is | 4602 # Exclude the GTK cert viewer again if webui_dialogs are |
4599 # enabled. | 4603 # enabled. |
4600 ['webui_certificate_viewer==1', { | 4604 ['webui_dialogs==1', { |
4601 'sources/': [ | 4605 'sources/': [ |
4602 ['exclude', '^browser/ui/gtk/certificate_viewer.cc'], | 4606 ['exclude', '^browser/ui/gtk/certificate_viewer.cc'], |
4603 ['exclude', '^browser/ui/gtk/certificate_viewer.h'], | 4607 ['exclude', '^browser/ui/gtk/certificate_viewer.h'], |
4604 ], | 4608 ], |
4605 }], | 4609 }], |
4606 # Exclude these toolkit_views specific files again. | 4610 # Exclude these toolkit_views specific files again. |
4607 # (Required because of the '^browser/extensions/' include above) | 4611 # (Required because of the '^browser/extensions/' include above) |
4608 ['toolkit_views==0', { | 4612 ['toolkit_views==0', { |
4609 'sources/': [ | 4613 'sources/': [ |
4610 ['exclude', '^browser/extensions/extension_input_api.cc'], | 4614 ['exclude', '^browser/extensions/extension_input_api.cc'], |
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5018 # weak imports in dependents, who still must #include | 5022 # weak imports in dependents, who still must #include |
5019 # closure_blocks_leopard_compat.h to get weak imports. | 5023 # closure_blocks_leopard_compat.h to get weak imports. |
5020 'type': 'none', | 5024 'type': 'none', |
5021 }], | 5025 }], |
5022 ], | 5026 ], |
5023 }, | 5027 }, |
5024 ], | 5028 ], |
5025 }], | 5029 }], |
5026 ], | 5030 ], |
5027 } | 5031 } |
OLD | NEW |