Chromium Code Reviews| 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 'targets': [ | 5 'targets': [ |
| 6 { | 6 { |
| 7 'target_name': 'constrained_window', | 7 'target_name': 'constrained_window', |
| 8 'type': 'static_library', | 8 'type': 'static_library', |
| 9 'dependencies': [ | 9 'dependencies': [ |
| 10 '<(DEPTH)/components/components.gyp:web_modal', | 10 '<(DEPTH)/components/components.gyp:web_modal', |
| 11 '<(DEPTH)/content/content.gyp:content_browser', | |
| 12 '<(DEPTH)/skia/skia.gyp:skia', | |
| 11 '<(DEPTH)/ui/views/views.gyp:views', | 13 '<(DEPTH)/ui/views/views.gyp:views', |
| 12 '<(DEPTH)/skia/skia.gyp:skia', | |
| 13 ], | 14 ], |
| 14 'include_dirs': [ | 15 'include_dirs': [ |
| 15 '..', | 16 '..', |
| 16 ], | 17 ], |
| 17 'sources': [ | 18 'sources': [ |
| 18 'constrained_window/constrained_window_views.cc', | 19 'constrained_window/constrained_window_views.cc', |
| 19 'constrained_window/constrained_window_views.h', | 20 'constrained_window/constrained_window_views.h', |
| 20 'constrained_window/constrained_window_views_client.h', | 21 'constrained_window/constrained_window_views_client.h', |
| 22 'constrained_window/native_web_contents_modal_dialog_manager_views.cc', | |
| 23 'constrained_window/native_web_contents_modal_dialog_manager_views.h', | |
| 24 ], | |
| 25 'conditions': [ | |
| 26 ['use_aura==1', { | |
| 27 'dependencies': [ | |
| 28 '<(DEPTH)/ui/aura/aura.gyp:aura', | |
| 29 '<(DEPTH)/ui/wm/wm.gyp:wm', | |
| 30 ], | |
| 31 }], | |
| 32 ["OS=='macosx' and mac_views_browser==0", { | |
|
tapted
2016/07/19 09:29:41
you need to swap the quote types here and use "mac
Patti Lor
2016/07/28 01:29:31
Done, thanks!
| |
| 33 'sources': [ 'constrained_window/show_modal_dialog_cocoa.cc' ], | |
| 34 }, { | |
| 35 'sources': [ 'constrained_window/show_modal_dialog_views.cc' ], | |
| 36 }], | |
| 21 ], | 37 ], |
| 22 }, | 38 }, |
| 23 ], | 39 ], |
| 24 } | 40 } |
| OLD | NEW |