Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1293)

Unified Diff: build/secondary/third_party/crashpad/crashpad/compat/BUILD.gn

Issue 1919373002: [Mac/GN] Fix Crashpad build and include some targets in gn_all. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/secondary/third_party/crashpad/crashpad/compat/BUILD.gn
diff --git a/build/secondary/third_party/crashpad/crashpad/compat/BUILD.gn b/build/secondary/third_party/crashpad/crashpad/compat/BUILD.gn
index 152b05d2aa003f0af74863639bbe84029daac361..031a721c581046d6d0f20c59c4df58f15b303a5f 100644
--- a/build/secondary/third_party/crashpad/crashpad/compat/BUILD.gn
+++ b/build/secondary/third_party/crashpad/crashpad/compat/BUILD.gn
@@ -3,10 +3,16 @@
# found in the LICENSE file.
config("compat_config") {
+ include_dirs = []
+
if (is_win) {
- include_dirs = [ "win" ]
- } else if (is_mac) {
- include_dirs = [
+ include_dirs += [ "win" ]
+ } else {
+ include_dirs += [ "non_win" ]
+ }
+
+ if (is_mac) {
+ include_dirs += [
"mac",
"non_cxx11_lib",
]
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698