Index: ui/ui_unittests.gyp |
diff --git a/ui/ui_unittests.gyp b/ui/ui_unittests.gyp |
index 244cad345d79e660c7096b936a099e5be7df1a62..aa5a38a4d1bd611c653a9ef7cd8cfb56db181d3c 100644 |
--- a/ui/ui_unittests.gyp |
+++ b/ui/ui_unittests.gyp |
@@ -59,12 +59,24 @@ |
], |
}, |
{ |
+ 'target_name': 'ui_test_dll', |
+ 'type': 'none', |
+ 'dependencies': [ |
+ 'resources/ui_resources.gyp:ui_test_pak', |
+ ], |
+ 'conditions': [ |
+ ['OS=="mac"', { |
+ 'type': 'shared_library', |
+ 'includes': [ 'ui_unittests_bundle.gypi' ], |
+ }], |
+ ], |
+ }, |
+ { |
'target_name': 'ui_unittests', |
'type': '<(gtest_target_type)', |
'dependencies': [ |
'../base/base.gyp:base', |
'../base/base.gyp:test_support_base', |
- '../chrome/chrome_resources.gyp:packed_resources', |
'../skia/skia.gyp:skia', |
'../testing/gmock.gyp:gmock', |
'../testing/gtest.gyp:gtest', |
@@ -79,6 +91,7 @@ |
'resources/ui_resources.gyp:ui_resources', |
'shell_dialogs/shell_dialogs.gyp:shell_dialogs', |
'ui.gyp:ui', |
+ 'ui_test_dll', |
'ui_test_support', |
], |
# iOS uses a small subset of ui. common_sources are the only files that |