OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 # GN version: //components/web_modal | 8 # GN version: //components/web_modal |
9 'target_name': 'web_modal', | 9 'target_name': 'web_modal', |
10 'type': 'static_library', | 10 'type': 'static_library', |
(...skipping 10 matching lines...) Expand all Loading... |
21 'web_modal/modal_dialog_host.cc', | 21 'web_modal/modal_dialog_host.cc', |
22 'web_modal/modal_dialog_host.h', | 22 'web_modal/modal_dialog_host.h', |
23 'web_modal/single_web_contents_dialog_manager.h', | 23 'web_modal/single_web_contents_dialog_manager.h', |
24 'web_modal/web_contents_modal_dialog_host.cc', | 24 'web_modal/web_contents_modal_dialog_host.cc', |
25 'web_modal/web_contents_modal_dialog_host.h', | 25 'web_modal/web_contents_modal_dialog_host.h', |
26 'web_modal/web_contents_modal_dialog_manager.cc', | 26 'web_modal/web_contents_modal_dialog_manager.cc', |
27 'web_modal/web_contents_modal_dialog_manager.h', | 27 'web_modal/web_contents_modal_dialog_manager.h', |
28 'web_modal/web_contents_modal_dialog_manager_delegate.cc', | 28 'web_modal/web_contents_modal_dialog_manager_delegate.cc', |
29 'web_modal/web_contents_modal_dialog_manager_delegate.h', | 29 'web_modal/web_contents_modal_dialog_manager_delegate.h', |
30 ], | 30 ], |
| 31 'conditions': [ |
| 32 ['OS=="mac" and mac_views_browser==0', { |
| 33 'sources': [ |
| 34 'web_modal/web_contents_modal_dialog_views.cc', |
| 35 ], |
| 36 }], |
| 37 ], |
31 }, | 38 }, |
32 { | 39 { |
33 # GN version: //components/web_modal:test_support | 40 # GN version: //components/web_modal:test_support |
34 'target_name': 'web_modal_test_support', | 41 'target_name': 'web_modal_test_support', |
35 'type': 'static_library', | 42 'type': 'static_library', |
36 'dependencies': [ | 43 'dependencies': [ |
37 'web_modal', | 44 'web_modal', |
38 ], | 45 ], |
39 'sources': [ | 46 'sources': [ |
40 # Note: sources list duplicated in GN build. | 47 # Note: sources list duplicated in GN build. |
41 'web_modal/test_web_contents_modal_dialog_host.cc', | 48 'web_modal/test_web_contents_modal_dialog_host.cc', |
42 'web_modal/test_web_contents_modal_dialog_host.h', | 49 'web_modal/test_web_contents_modal_dialog_host.h', |
43 'web_modal/test_web_contents_modal_dialog_manager_delegate.cc', | 50 'web_modal/test_web_contents_modal_dialog_manager_delegate.cc', |
44 'web_modal/test_web_contents_modal_dialog_manager_delegate.h', | 51 'web_modal/test_web_contents_modal_dialog_manager_delegate.h', |
45 ], | 52 ], |
46 }, | 53 }, |
47 ], | 54 ], |
48 } | 55 } |
OLD | NEW |