Index: ui/ui_unittests.gyp |
diff --git a/ui/ui_unittests.gyp b/ui/ui_unittests.gyp |
index 0c045a4bef5b1b0bfbc0f0be3009f90493aa6e05..d1211290fef70df28a78ab9d7b112c25bc4fabb8 100644 |
--- a/ui/ui_unittests.gyp |
+++ b/ui/ui_unittests.gyp |
@@ -174,10 +174,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': [ |