Index: ui/ui_unittests.gyp |
diff --git a/ui/ui_unittests.gyp b/ui/ui_unittests.gyp |
index 7c0975cddd69871a4a30cc3aa0188d92ca5d60b2..7b64deae50632335eb0bf82dbf4dbe1d9e82d9be 100644 |
--- a/ui/ui_unittests.gyp |
+++ b/ui/ui_unittests.gyp |
@@ -171,10 +171,17 @@ |
}], |
['OS=="mac"', { |
'dependencies': [ |
+ '../third_party/mozilla/mozilla.gyp:mozilla', |
'events/events.gyp:events_test_support', |
'gfx/gfx.gyp:gfx_test_support', |
'ui_unittests_bundle', |
], |
+ 'conditions': [ |
+ ['component=="static_library"', { |
+ # Needed for mozilla.gyp. |
+ 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, |
+ }], |
+ ], |
}], |
['use_aura==1 or toolkit_views==1', { |
'sources': [ |