Skip to content

Commit 764ddb7

Browse files
committed
breakpad: potential linux build fix
1 parent db33880 commit 764ddb7

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

vendor/google-breakpad/premake5.lua

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,19 @@ project "breakpad"
2424
"src/third_party/protobuf/protobuf/src/**.c"
2525
}
2626

27+
-- Ignore tests
28+
excludes(os.matchfiles("**/*_unittest.cc"))
29+
excludes(os.matchfiles("**/*_test.cc"))
30+
excludes(os.matchfiles("**/*_selftest.cc"))
31+
32+
excludes {
33+
"src/client/linux/sender/google_crash_report_sender.cc",
34+
"src/common/linux/tests/**.cc",
35+
"src/client/mac/tests/**",
36+
"src/client/mac/handler/testcases/**",
37+
"src/common/stabs_reader.cc"
38+
}
39+
2740
filter "system:linux"
2841
files {
2942
"src/client/linux/**.cc",
@@ -44,19 +57,6 @@ project "breakpad"
4457
filter "system:macosx"
4558
includedirs { "src/client/apple/Framework", "src/common/mac" }
4659

47-
-- Ignore tests
48-
excludes(os.matchfiles("**/*_unittest.cc"))
49-
excludes(os.matchfiles("**/*_test.cc"))
50-
excludes(os.matchfiles("**/*_selftest.cc"))
51-
52-
excludes {
53-
"src/client/linux/sender/google_crash_report_sender.cc",
54-
"src/common/linux/tests/**.cc",
55-
"src/client/mac/tests/**",
56-
"src/client/mac/handler/testcases/**",
57-
"src/common/stabs_reader.cc"
58-
}
59-
6060
--[[filter "system:windows"
6161
files {
6262
"src/client/windows/**.cc",

0 commit comments

Comments
 (0)