| OLD | NEW |
| 1 # Copyright 2014 The Crashpad Authors. All rights reserved. | 1 # Copyright 2014 The Crashpad Authors. All rights reserved. |
| 2 # | 2 # |
| 3 # Licensed under the Apache License, Version 2.0 (the "License"); | 3 # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 # you may not use this file except in compliance with the License. | 4 # you may not use this file except in compliance with the License. |
| 5 # You may obtain a copy of the License at | 5 # You may obtain a copy of the License at |
| 6 # | 6 # |
| 7 # http://www.apache.org/licenses/LICENSE-2.0 | 7 # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 # | 8 # |
| 9 # Unless required by applicable law or agreed to in writing, software | 9 # Unless required by applicable law or agreed to in writing, software |
| 10 # distributed under the License is distributed on an "AS IS" BASIS, | 10 # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 # See the License for the specific language governing permissions and | 12 # See the License for the specific language governing permissions and |
| 13 # limitations under the License. | 13 # limitations under the License. |
| 14 | 14 |
| 15 { | 15 { |
| 16 'targets': [ | 16 'targets': [ |
| 17 { | 17 { |
| 18 'target_name': 'compat', | 18 'target_name': 'compat', |
| 19 'type': 'none', | 19 'type': 'static_library', |
| 20 'include_dirs': [ | |
| 21 'mac', | |
| 22 'non_win', | |
| 23 ], | |
| 24 'direct_dependent_settings': { | |
| 25 'include_dirs': [ | |
| 26 'mac', | |
| 27 'non_win', | |
| 28 ], | |
| 29 }, | |
| 30 'sources': [ | 20 'sources': [ |
| 31 'mac/AvailabilityMacros.h', | 21 'mac/AvailabilityMacros.h', |
| 32 'mac/mach/mach.h', | 22 'mac/mach/mach.h', |
| 23 'mac/mach-o/getsect.cc', |
| 24 'mac/mach-o/getsect.h', |
| 33 'mac/mach-o/loader.h', | 25 'mac/mach-o/loader.h', |
| 34 'mac/servers/bootstrap.h', | 26 'mac/servers/bootstrap.h', |
| 35 'non_mac/mach/mach.h', | 27 'non_mac/mach/mach.h', |
| 36 'non_win/dbghelp.h', | 28 'non_win/dbghelp.h', |
| 37 'non_win/minwinbase.h', | 29 'non_win/minwinbase.h', |
| 38 'non_win/timezoneapi.h', | 30 'non_win/timezoneapi.h', |
| 39 'non_win/verrsrc.h', | 31 'non_win/verrsrc.h', |
| 40 'non_win/winnt.h', | 32 'non_win/winnt.h', |
| 41 ], | 33 ], |
| 34 'conditions': [ |
| 35 ['OS=="mac"', { |
| 36 'dependencies': [ |
| 37 '../third_party/apple_cctools/apple_cctools.gyp:apple_cctools', |
| 38 ], |
| 39 'include_dirs': [ |
| 40 'mac', |
| 41 ], |
| 42 'direct_dependent_settings': { |
| 43 'include_dirs': [ |
| 44 'mac', |
| 45 ], |
| 46 }, |
| 47 }], |
| 48 ['OS!="win"', { |
| 49 'include_dirs': [ |
| 50 'non_win', |
| 51 ], |
| 52 'direct_dependent_settings': { |
| 53 'include_dirs': [ |
| 54 'non_win', |
| 55 ], |
| 56 }, |
| 57 }], |
| 58 ], |
| 42 }, | 59 }, |
| 43 ], | 60 ], |
| 44 } | 61 } |
| OLD | NEW |