| 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   'conditions': [ | 
| 17     { | 17     ['OS=="mac"', { | 
| 18       'target_name': 'tool_support', | 18       'targets': [ | 
| 19       'type': 'static_library', | 19         { | 
| 20       'dependencies': [ | 20           'target_name': 'tool_support', | 
| 21         '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', | 21           'type': 'static_library', | 
|  | 22           'dependencies': [ | 
|  | 23             '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', | 
|  | 24           ], | 
|  | 25           'include_dirs': [ | 
|  | 26             '..', | 
|  | 27           ], | 
|  | 28           'sources': [ | 
|  | 29             'tool_support.cc', | 
|  | 30             'tool_support.h', | 
|  | 31           ], | 
|  | 32         }, | 
|  | 33         { | 
|  | 34           'target_name': 'catch_exception_tool', | 
|  | 35           'type': 'executable', | 
|  | 36           'dependencies': [ | 
|  | 37             'tool_support', | 
|  | 38             '../compat/compat.gyp:compat', | 
|  | 39             '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', | 
|  | 40             '../util/util.gyp:util', | 
|  | 41           ], | 
|  | 42           'include_dirs': [ | 
|  | 43             '..', | 
|  | 44           ], | 
|  | 45           'sources': [ | 
|  | 46             'catch_exception_tool.cc', | 
|  | 47           ], | 
|  | 48         }, | 
|  | 49         { | 
|  | 50           'target_name': 'exception_port_tool', | 
|  | 51           'type': 'executable', | 
|  | 52           'dependencies': [ | 
|  | 53             'tool_support', | 
|  | 54             '../compat/compat.gyp:compat', | 
|  | 55             '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', | 
|  | 56             '../util/util.gyp:util', | 
|  | 57           ], | 
|  | 58           'include_dirs': [ | 
|  | 59             '..', | 
|  | 60           ], | 
|  | 61           'sources': [ | 
|  | 62             'exception_port_tool.cc', | 
|  | 63           ], | 
|  | 64         }, | 
|  | 65         { | 
|  | 66           'target_name': 'on_demand_service_tool', | 
|  | 67           'type': 'executable', | 
|  | 68           'dependencies': [ | 
|  | 69             'tool_support', | 
|  | 70             '../compat/compat.gyp:compat', | 
|  | 71             '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', | 
|  | 72             '../util/util.gyp:util', | 
|  | 73           ], | 
|  | 74           'include_dirs': [ | 
|  | 75             '..', | 
|  | 76           ], | 
|  | 77           'link_settings': { | 
|  | 78             'libraries': [ | 
|  | 79               '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', | 
|  | 80               '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | 
|  | 81             ], | 
|  | 82           }, | 
|  | 83           'sources': [ | 
|  | 84             'on_demand_service_tool.mm', | 
|  | 85           ], | 
|  | 86         }, | 
| 22       ], | 87       ], | 
| 23       'include_dirs': [ | 88     }, { | 
| 24         '..', | 89       'targets': [], | 
| 25       ], | 90     }], | 
| 26       'sources': [ |  | 
| 27         'tool_support.cc', |  | 
| 28         'tool_support.h', |  | 
| 29       ], |  | 
| 30     }, |  | 
| 31     { |  | 
| 32       'target_name': 'catch_exception_tool', |  | 
| 33       'type': 'executable', |  | 
| 34       'dependencies': [ |  | 
| 35         'tool_support', |  | 
| 36         '../compat/compat.gyp:compat', |  | 
| 37         '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', |  | 
| 38         '../util/util.gyp:util', |  | 
| 39       ], |  | 
| 40       'include_dirs': [ |  | 
| 41         '..', |  | 
| 42       ], |  | 
| 43       'sources': [ |  | 
| 44         'catch_exception_tool.cc', |  | 
| 45       ], |  | 
| 46     }, |  | 
| 47     { |  | 
| 48       'target_name': 'exception_port_tool', |  | 
| 49       'type': 'executable', |  | 
| 50       'dependencies': [ |  | 
| 51         'tool_support', |  | 
| 52         '../compat/compat.gyp:compat', |  | 
| 53         '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', |  | 
| 54         '../util/util.gyp:util', |  | 
| 55       ], |  | 
| 56       'include_dirs': [ |  | 
| 57         '..', |  | 
| 58       ], |  | 
| 59       'sources': [ |  | 
| 60         'exception_port_tool.cc', |  | 
| 61       ], |  | 
| 62     }, |  | 
| 63     { |  | 
| 64       'target_name': 'on_demand_service_tool', |  | 
| 65       'type': 'executable', |  | 
| 66       'dependencies': [ |  | 
| 67         'tool_support', |  | 
| 68         '../compat/compat.gyp:compat', |  | 
| 69         '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', |  | 
| 70         '../util/util.gyp:util', |  | 
| 71       ], |  | 
| 72       'include_dirs': [ |  | 
| 73         '..', |  | 
| 74       ], |  | 
| 75       'link_settings': { |  | 
| 76         'libraries': [ |  | 
| 77           '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |  | 
| 78           '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |  | 
| 79         ], |  | 
| 80       }, |  | 
| 81       'sources': [ |  | 
| 82         'on_demand_service_tool.mm', |  | 
| 83       ], |  | 
| 84     }, |  | 
| 85   ], | 91   ], | 
| 86 } | 92 } | 
| OLD | NEW | 
|---|