diff --git a/test/BUILD.gn b/test/BUILD.gn index e8c290c7..ae44fc57 100644 --- a/test/BUILD.gn +++ b/test/BUILD.gn @@ -90,7 +90,6 @@ static_library("test") { deps = [ "../compat", - "../snapshot", "../util", "//base", "//testing/gtest", @@ -98,7 +97,10 @@ static_library("test") { if (is_mac) { libs = [ "bsm" ] - deps += [ "../handler" ] + deps += [ + "../handler", + "../snapshot", + ] } } diff --git a/test/test.gyp b/test/test.gyp index 79e0671a..ce0c817e 100644 --- a/test/test.gyp +++ b/test/test.gyp @@ -22,7 +22,6 @@ 'type': 'static_library', 'dependencies': [ '../compat/compat.gyp:crashpad_compat', - '../snapshot/snapshot.gyp:crashpad_snapshot', '../third_party/gtest/gtest.gyp:gtest', '../third_party/mini_chromium/mini_chromium.gyp:base', '../util/util.gyp:crashpad_util', @@ -85,6 +84,7 @@ ['OS=="mac"', { 'dependencies': [ '../handler/handler.gyp:crashpad_handler_lib', + '../snapshot/snapshot.gyp:crashpad_snapshot', ], 'link_settings': { 'libraries': [