| 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': 'crashpad_util', |
| 19 'type': 'static_library', | 19 'type': 'static_library', |
| 20 'dependencies': [ | 20 'dependencies': [ |
| 21 '../compat/compat.gyp:compat', | 21 '../compat/compat.gyp:crashpad_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 'sources': [ | 28 'sources': [ |
| 29 'file/file_io.cc', | 29 'file/file_io.cc', |
| 30 'file/file_io.h', | 30 'file/file_io.h', |
| 31 'file/file_io_posix.cc', | 31 'file/file_io_posix.cc', |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 ['OS=="win"', { | 200 ['OS=="win"', { |
| 201 'link_settings': { | 201 'link_settings': { |
| 202 'libraries': [ | 202 'libraries': [ |
| 203 '-lwinhttp.lib', | 203 '-lwinhttp.lib', |
| 204 ], | 204 ], |
| 205 }, | 205 }, |
| 206 }], | 206 }], |
| 207 ], | 207 ], |
| 208 }, | 208 }, |
| 209 { | 209 { |
| 210 'target_name': 'util_test_lib', | 210 'target_name': 'crashpad_util_test_lib', |
| 211 'type': 'static_library', | 211 'type': 'static_library', |
| 212 'dependencies': [ | 212 'dependencies': [ |
| 213 '../compat/compat.gyp:compat', | 213 '../compat/compat.gyp:crashpad_compat', |
| 214 '../third_party/gtest/gtest.gyp:gtest', | 214 '../third_party/gtest/gtest.gyp:gtest', |
| 215 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', | 215 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', |
| 216 'util', | 216 'crashpad_util', |
| 217 ], | 217 ], |
| 218 'include_dirs': [ | 218 'include_dirs': [ |
| 219 '..', | 219 '..', |
| 220 ], | 220 ], |
| 221 'sources': [ | 221 'sources': [ |
| 222 'test/errors.cc', | 222 'test/errors.cc', |
| 223 'test/errors.h', | 223 'test/errors.h', |
| 224 'test/executable_path.h', | 224 'test/executable_path.h', |
| 225 'test/executable_path_mac.cc', | 225 'test/executable_path_mac.cc', |
| 226 'test/executable_path_win.cc', | 226 'test/executable_path_win.cc', |
| (...skipping 16 matching lines...) Expand all Loading... |
| 243 ['OS=="mac"', { | 243 ['OS=="mac"', { |
| 244 'link_settings': { | 244 'link_settings': { |
| 245 'libraries': [ | 245 'libraries': [ |
| 246 '$(SDKROOT)/usr/lib/libbsm.dylib', | 246 '$(SDKROOT)/usr/lib/libbsm.dylib', |
| 247 ], | 247 ], |
| 248 }, | 248 }, |
| 249 }], | 249 }], |
| 250 ], | 250 ], |
| 251 }, | 251 }, |
| 252 { | 252 { |
| 253 'target_name': 'util_test', | 253 'target_name': 'crashpad_util_test', |
| 254 'type': 'executable', | 254 'type': 'executable', |
| 255 'dependencies': [ | 255 'dependencies': [ |
| 256 'util', | 256 'crashpad_util', |
| 257 'util_test_lib', | 257 'crashpad_util_test_lib', |
| 258 'util_test_multiprocess_exec_test_child', | 258 'crashpad_util_test_multiprocess_exec_test_child', |
| 259 '../compat/compat.gyp:compat', | 259 '../compat/compat.gyp:crashpad_compat', |
| 260 '../third_party/gmock/gmock.gyp:gmock', | 260 '../third_party/gmock/gmock.gyp:gmock', |
| 261 '../third_party/gtest/gtest.gyp:gtest', | 261 '../third_party/gtest/gtest.gyp:gtest', |
| 262 '../third_party/gtest/gtest.gyp:gtest_main', | 262 '../third_party/gtest/gtest.gyp:gtest_main', |
| 263 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', | 263 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', |
| 264 ], | 264 ], |
| 265 'include_dirs': [ | 265 'include_dirs': [ |
| 266 '..', | 266 '..', |
| 267 ], | 267 ], |
| 268 'sources': [ | 268 'sources': [ |
| 269 'file/string_file_test.cc', | 269 'file/string_file_test.cc', |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 ['OS=="win"', { | 324 ['OS=="win"', { |
| 325 'link_settings': { | 325 'link_settings': { |
| 326 'libraries': [ | 326 'libraries': [ |
| 327 '-lrpcrt4.lib', | 327 '-lrpcrt4.lib', |
| 328 ], | 328 ], |
| 329 }, | 329 }, |
| 330 }], | 330 }], |
| 331 ], | 331 ], |
| 332 }, | 332 }, |
| 333 { | 333 { |
| 334 'target_name': 'util_test_multiprocess_exec_test_child', | 334 'target_name': 'crashpad_util_test_multiprocess_exec_test_child', |
| 335 'type': 'executable', | 335 'type': 'executable', |
| 336 'sources': [ | 336 'sources': [ |
| 337 'test/multiprocess_exec_test_child.cc', | 337 'test/multiprocess_exec_test_child.cc', |
| 338 ], | 338 ], |
| 339 }, | 339 }, |
| 340 ], | 340 ], |
| 341 'conditions': [ | 341 'conditions': [ |
| 342 ['OS=="win"', { | 342 ['OS=="win"', { |
| 343 'targets': [ | 343 'targets': [ |
| 344 { | 344 { |
| 345 'target_name': 'util_test_process_info_test_child', | 345 'target_name': 'crashpad_util_test_process_info_test_child', |
| 346 'type': 'executable', | 346 'type': 'executable', |
| 347 'sources': [ | 347 'sources': [ |
| 348 'win/process_info_test_child.cc', | 348 'win/process_info_test_child.cc', |
| 349 ], | 349 ], |
| 350 # Set an unusually high load address to make sure that the main | 350 # Set an unusually high load address to make sure that the main |
| 351 # executable still appears as the first element in | 351 # executable still appears as the first element in |
| 352 # ProcessInfo::Modules(). | 352 # ProcessInfo::Modules(). |
| 353 'msvs_settings': { | 353 'msvs_settings': { |
| 354 'VCLinkerTool': { | 354 'VCLinkerTool': { |
| 355 'AdditionalOptions': [ | 355 'AdditionalOptions': [ |
| 356 '/BASE:0x78000000', | 356 '/BASE:0x78000000', |
| 357 '/FIXED', | 357 '/FIXED', |
| 358 ], | 358 ], |
| 359 }, | 359 }, |
| 360 }, | 360 }, |
| 361 }, | 361 }, |
| 362 ] | 362 ] |
| 363 }], | 363 }], |
| 364 ], | 364 ], |
| 365 } | 365 } |
| OLD | NEW |