Index: components/web_modal.gypi |
diff --git a/components/web_modal.gypi b/components/web_modal.gypi |
index 356cb7eb6823064811d1e4f1369df292e80b41e7..25028034dea7db3118512477abf26c8aac5b5941 100644 |
--- a/components/web_modal.gypi |
+++ b/components/web_modal.gypi |
@@ -5,6 +5,7 @@ |
{ |
'targets': [ |
{ |
+ # GN version: //components/web_modal |
'target_name': 'web_modal', |
'type': 'static_library', |
'include_dirs': [ |
@@ -15,10 +16,8 @@ |
'../content/content.gyp:content_browser', |
'../skia/skia.gyp:skia', |
], |
- 'defines': [ |
- 'WEB_MODAL_IMPLEMENTATION', |
- ], |
'sources': [ |
+ # Note: sources list duplicated in GN build. |
'web_modal/modal_dialog_host.cc', |
'web_modal/modal_dialog_host.h', |
'web_modal/native_web_contents_modal_dialog.h', |
@@ -32,12 +31,14 @@ |
], |
}, |
{ |
+ # GN version: //components/web_modal:test_support |
'target_name': 'web_modal_test_support', |
'type': 'static_library', |
'dependencies': [ |
'web_modal', |
], |
'sources': [ |
+ # Note: sources list duplicated in GN build. |
'web_modal/test_web_contents_modal_dialog_host.cc', |
'web_modal/test_web_contents_modal_dialog_host.h', |
'web_modal/test_web_contents_modal_dialog_manager_delegate.cc', |