| 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',
|
| + ],
|
| + },
|
| + }],
|
| + ],
|
| },
|
| ],
|
| }
|
|
|