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

Unified Diff: compat/compat.gyp

Issue 561933004: 10.6 SDK compatibility (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 6 years, 3 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 | « no previous file | compat/mac/mach-o/getsect.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compat/compat.gyp
diff --git a/compat/compat.gyp b/compat/compat.gyp
index 54dc857199921d4a32c3773547801b2d67e13691..86197d49dd1c248e05210e77f50d5bce008fac13 100644
--- a/compat/compat.gyp
+++ b/compat/compat.gyp
@@ -16,20 +16,12 @@
'targets': [
{
'target_name': 'compat',
- 'type': 'none',
- 'include_dirs': [
- 'mac',
- 'non_win',
- ],
- 'direct_dependent_settings': {
- 'include_dirs': [
- 'mac',
- 'non_win',
- ],
- },
+ 'type': 'static_library',
'sources': [
'mac/AvailabilityMacros.h',
'mac/mach/mach.h',
+ 'mac/mach-o/getsect.cc',
+ 'mac/mach-o/getsect.h',
'mac/mach-o/loader.h',
'mac/servers/bootstrap.h',
'non_mac/mach/mach.h',
@@ -39,6 +31,31 @@
'non_win/verrsrc.h',
'non_win/winnt.h',
],
+ 'conditions': [
+ ['OS=="mac"', {
+ 'dependencies': [
+ '../third_party/apple_cctools/apple_cctools.gyp:apple_cctools',
+ ],
+ 'include_dirs': [
+ 'mac',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ 'mac',
+ ],
+ },
+ }],
+ ['OS!="win"', {
+ 'include_dirs': [
+ 'non_win',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ 'non_win',
+ ],
+ },
+ }],
+ ],
},
],
}
« no previous file with comments | « no previous file | compat/mac/mach-o/getsect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698