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': 'util', | 18 'target_name': 'util', |
19 'type': 'static_library', | 19 'type': 'static_library', |
20 'dependencies': [ | 20 'dependencies': [ |
21 '../compat/compat.gyp:compat', | 21 '../compat/compat.gyp:compat', |
22 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', | 22 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', |
23 ], | 23 ], |
24 'include_dirs': [ | 24 'include_dirs': [ |
25 '..', | 25 '..', |
26 '<(INTERMEDIATE_DIR)', | 26 '<(INTERMEDIATE_DIR)', |
27 ], | 27 ], |
| 28 'link_settings': { |
| 29 'libraries': [ |
| 30 '$(SDKROOT)/System/Library/Frameworks/ServiceManagement.framework', |
| 31 ], |
| 32 }, |
28 'sources': [ | 33 'sources': [ |
29 'file/fd_io.cc', | 34 'file/fd_io.cc', |
30 'file/fd_io.h', | 35 'file/fd_io.h', |
31 'file/file_writer.cc', | 36 'file/file_writer.cc', |
32 'file/file_writer.h', | 37 'file/file_writer.h', |
33 'file/string_file_writer.cc', | 38 'file/string_file_writer.cc', |
34 'file/string_file_writer.h', | 39 'file/string_file_writer.h', |
35 'mac/checked_mach_address_range.cc', | 40 'mac/checked_mach_address_range.cc', |
36 'mac/checked_mach_address_range.h', | 41 'mac/checked_mach_address_range.h', |
37 'mac/launchd.h', | |
38 'mac/launchd.mm', | |
39 'mac/mac_util.cc', | 42 'mac/mac_util.cc', |
40 'mac/mac_util.h', | 43 'mac/mac_util.h', |
41 'mac/mach_o_image_reader.cc', | 44 'mac/mach_o_image_reader.cc', |
42 'mac/mach_o_image_reader.h', | 45 'mac/mach_o_image_reader.h', |
43 'mac/mach_o_image_segment_reader.cc', | 46 'mac/mach_o_image_segment_reader.cc', |
44 'mac/mach_o_image_segment_reader.h', | 47 'mac/mach_o_image_segment_reader.h', |
45 'mac/mach_o_image_symbol_table_reader.cc', | 48 'mac/mach_o_image_symbol_table_reader.cc', |
46 'mac/mach_o_image_symbol_table_reader.h', | 49 'mac/mach_o_image_symbol_table_reader.h', |
47 'mac/service_management.cc', | 50 'mac/service_management.cc', |
48 'mac/service_management.h', | 51 'mac/service_management.h', |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 '../third_party/gtest/gtest.gyp:gtest', | 185 '../third_party/gtest/gtest.gyp:gtest', |
183 '../third_party/gtest/gtest.gyp:gtest_main', | 186 '../third_party/gtest/gtest.gyp:gtest_main', |
184 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', | 187 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', |
185 ], | 188 ], |
186 'include_dirs': [ | 189 'include_dirs': [ |
187 '..', | 190 '..', |
188 ], | 191 ], |
189 'sources': [ | 192 'sources': [ |
190 'file/string_file_writer_test.cc', | 193 'file/string_file_writer_test.cc', |
191 'mac/checked_mach_address_range_test.cc', | 194 'mac/checked_mach_address_range_test.cc', |
192 'mac/launchd_test.mm', | |
193 'mac/mac_util_test.mm', | 195 'mac/mac_util_test.mm', |
194 'mac/mach_o_image_reader_test.cc', | 196 'mac/mach_o_image_reader_test.cc', |
195 'mac/mach_o_image_segment_reader_test.cc', | 197 'mac/mach_o_image_segment_reader_test.cc', |
196 'mac/process_reader_test.cc', | 198 'mac/process_reader_test.cc', |
197 'mac/process_types_test.cc', | 199 'mac/process_types_test.cc', |
198 'mac/service_management_test.mm', | 200 'mac/service_management_test.mm', |
199 'mach/bootstrap_test.cc', | 201 'mach/bootstrap_test.cc', |
200 'mach/exc_client_variants_test.cc', | 202 'mach/exc_client_variants_test.cc', |
201 'mach/exc_server_variants_test.cc', | 203 'mach/exc_server_variants_test.cc', |
202 'mach/mach_extensions_test.cc', | 204 'mach/mach_extensions_test.cc', |
(...skipping 19 matching lines...) Expand all Loading... |
222 }, | 224 }, |
223 { | 225 { |
224 'target_name': 'util_test_multiprocess_exec_test_child', | 226 'target_name': 'util_test_multiprocess_exec_test_child', |
225 'type': 'executable', | 227 'type': 'executable', |
226 'sources': [ | 228 'sources': [ |
227 'test/multiprocess_exec_test_child.cc', | 229 'test/multiprocess_exec_test_child.cc', |
228 ], | 230 ], |
229 }, | 231 }, |
230 ], | 232 ], |
231 } | 233 } |
OLD | NEW |