| Index: components/constrained_window.gypi
|
| diff --git a/components/constrained_window.gypi b/components/constrained_window.gypi
|
| index 9abba05d18bdc223692a542f6ad9226382e35421..cc6d7be50ab42c949ca30072d2eace84b1b6c346 100644
|
| --- a/components/constrained_window.gypi
|
| +++ b/components/constrained_window.gypi
|
| @@ -8,8 +8,9 @@
|
| 'type': 'static_library',
|
| 'dependencies': [
|
| '<(DEPTH)/components/components.gyp:web_modal',
|
| - '<(DEPTH)/ui/views/views.gyp:views',
|
| + '<(DEPTH)/content/content.gyp:content_browser',
|
| '<(DEPTH)/skia/skia.gyp:skia',
|
| + '<(DEPTH)/ui/views/views.gyp:views',
|
| ],
|
| 'include_dirs': [
|
| '..',
|
| @@ -18,6 +19,21 @@
|
| 'constrained_window/constrained_window_views.cc',
|
| 'constrained_window/constrained_window_views.h',
|
| 'constrained_window/constrained_window_views_client.h',
|
| + 'constrained_window/native_web_contents_modal_dialog_manager_views.cc',
|
| + 'constrained_window/native_web_contents_modal_dialog_manager_views.h',
|
| + ],
|
| + 'conditions': [
|
| + ['use_aura==1', {
|
| + 'dependencies': [
|
| + '<(DEPTH)/ui/aura/aura.gyp:aura',
|
| + '<(DEPTH)/ui/wm/wm.gyp:wm',
|
| + ],
|
| + }],
|
| + ['OS=="mac" and mac_views_browser==0', {
|
| + 'sources': [ 'constrained_window/show_modal_dialog_cocoa.cc' ],
|
| + }, {
|
| + 'sources': [ 'constrained_window/show_modal_dialog_views.cc' ],
|
| + }],
|
| ],
|
| },
|
| ],
|
|
|