Index: components/infobars.gypi |
diff --git a/components/infobars.gypi b/components/infobars.gypi |
index 172a7b635ca181b509dd0f5e2106577cb07338a2..211975ca50e84fd92b199ebb1138dee210659495 100644 |
--- a/components/infobars.gypi |
+++ b/components/infobars.gypi |
@@ -21,6 +21,13 @@ |
'export_dependent_settings': [ |
'../skia/skia.gyp:skia', |
], |
+ 'conditions': [ |
+ ['component=="shared_library"', { |
+ 'sources': [ |
+ 'infobars/core/infobar_constants.cc', |
+ ], |
+ }], |
+ ], |
'sources': [ |
# Note: sources duplicated in GN build. |
'infobars/core/confirm_infobar_delegate.cc', |