| 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 'target_name': 'web_modal', | 9 'target_name': 'web_modal', |
| 9 'type': 'static_library', | 10 'type': 'static_library', |
| 10 'include_dirs': [ | 11 'include_dirs': [ |
| 11 '..', | 12 '..', |
| 12 ], | 13 ], |
| 13 'dependencies': [ | 14 'dependencies': [ |
| 14 '../base/base.gyp:base', | 15 '../base/base.gyp:base', |
| 15 '../content/content.gyp:content_browser', | 16 '../content/content.gyp:content_browser', |
| 16 '../skia/skia.gyp:skia', | 17 '../skia/skia.gyp:skia', |
| 17 ], | 18 ], |
| 18 'defines': [ | |
| 19 'WEB_MODAL_IMPLEMENTATION', | |
| 20 ], | |
| 21 'sources': [ | 19 'sources': [ |
| 20 # Note: sources list duplicated in GN build. |
| 22 'web_modal/modal_dialog_host.cc', | 21 'web_modal/modal_dialog_host.cc', |
| 23 'web_modal/modal_dialog_host.h', | 22 'web_modal/modal_dialog_host.h', |
| 24 'web_modal/native_web_contents_modal_dialog.h', | 23 'web_modal/native_web_contents_modal_dialog.h', |
| 25 'web_modal/single_web_contents_dialog_manager.h', | 24 'web_modal/single_web_contents_dialog_manager.h', |
| 26 'web_modal/web_contents_modal_dialog_host.cc', | 25 'web_modal/web_contents_modal_dialog_host.cc', |
| 27 'web_modal/web_contents_modal_dialog_host.h', | 26 'web_modal/web_contents_modal_dialog_host.h', |
| 28 'web_modal/web_contents_modal_dialog_manager.cc', | 27 'web_modal/web_contents_modal_dialog_manager.cc', |
| 29 'web_modal/web_contents_modal_dialog_manager.h', | 28 'web_modal/web_contents_modal_dialog_manager.h', |
| 30 'web_modal/web_contents_modal_dialog_manager_delegate.cc', | 29 'web_modal/web_contents_modal_dialog_manager_delegate.cc', |
| 31 'web_modal/web_contents_modal_dialog_manager_delegate.h', | 30 'web_modal/web_contents_modal_dialog_manager_delegate.h', |
| 32 ], | 31 ], |
| 33 }, | 32 }, |
| 34 { | 33 { |
| 34 # GN version: //components/web_modal:test_support |
| 35 'target_name': 'web_modal_test_support', | 35 'target_name': 'web_modal_test_support', |
| 36 'type': 'static_library', | 36 'type': 'static_library', |
| 37 'dependencies': [ | 37 'dependencies': [ |
| 38 'web_modal', | 38 'web_modal', |
| 39 ], | 39 ], |
| 40 'sources': [ | 40 'sources': [ |
| 41 # Note: sources list duplicated in GN build. |
| 41 'web_modal/test_web_contents_modal_dialog_host.cc', | 42 'web_modal/test_web_contents_modal_dialog_host.cc', |
| 42 'web_modal/test_web_contents_modal_dialog_host.h', | 43 'web_modal/test_web_contents_modal_dialog_host.h', |
| 43 'web_modal/test_web_contents_modal_dialog_manager_delegate.cc', | 44 'web_modal/test_web_contents_modal_dialog_manager_delegate.cc', |
| 44 'web_modal/test_web_contents_modal_dialog_manager_delegate.h', | 45 'web_modal/test_web_contents_modal_dialog_manager_delegate.h', |
| 45 ], | 46 ], |
| 46 }, | 47 }, |
| 47 ], | 48 ], |
| 48 } | 49 } |
| OLD | NEW |