| 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 'includes': [ | 16 'includes': [ |
| 17 '../build/crashpad.gypi', | 17 '../build/crashpad.gypi', |
| 18 ], | 18 ], |
| 19 'targets': [ | 19 'targets': [ |
| 20 { | 20 { |
| 21 'target_name': 'crashpad_util_test', | 21 'target_name': 'crashpad_util_test', |
| 22 'type': 'executable', | 22 'type': 'executable', |
| 23 'dependencies': [ | 23 'dependencies': [ |
| 24 'util.gyp:crashpad_util', | 24 'util.gyp:crashpad_util', |
| 25 '../client/client.gyp:crashpad_client', | 25 '../client/client.gyp:crashpad_client', |
| 26 '../compat/compat.gyp:crashpad_compat', | 26 '../compat/compat.gyp:crashpad_compat', |
| 27 '../test/test.gyp:crashpad_gmock_main', |
| 27 '../test/test.gyp:crashpad_test', | 28 '../test/test.gyp:crashpad_test', |
| 28 '../third_party/gtest/gmock.gyp:gmock', | 29 '../third_party/gtest/gmock.gyp:gmock', |
| 29 '../third_party/gtest/gmock.gyp:gmock_main', | |
| 30 '../third_party/gtest/gtest.gyp:gtest', | 30 '../third_party/gtest/gtest.gyp:gtest', |
| 31 '../third_party/mini_chromium/mini_chromium.gyp:base', | 31 '../third_party/mini_chromium/mini_chromium.gyp:base', |
| 32 '../third_party/zlib/zlib.gyp:zlib', | 32 '../third_party/zlib/zlib.gyp:zlib', |
| 33 ], | 33 ], |
| 34 'include_dirs': [ | 34 'include_dirs': [ |
| 35 '..', | 35 '..', |
| 36 ], | 36 ], |
| 37 'sources': [ | 37 'sources': [ |
| 38 'file/delimited_file_reader_test.cc', |
| 38 'file/file_io_test.cc', | 39 'file/file_io_test.cc', |
| 40 'file/file_reader_test.cc', |
| 39 'file/string_file_test.cc', | 41 'file/string_file_test.cc', |
| 40 'mac/launchd_test.mm', | 42 'mac/launchd_test.mm', |
| 41 'mac/mac_util_test.mm', | 43 'mac/mac_util_test.mm', |
| 42 'mac/service_management_test.mm', | 44 'mac/service_management_test.mm', |
| 43 'mac/xattr_test.cc', | 45 'mac/xattr_test.cc', |
| 44 'mach/child_port_handshake_test.cc', | 46 'mach/child_port_handshake_test.cc', |
| 45 'mach/child_port_server_test.cc', | 47 'mach/child_port_server_test.cc', |
| 46 'mach/composite_mach_message_server_test.cc', | 48 'mach/composite_mach_message_server_test.cc', |
| 47 'mach/exc_client_variants_test.cc', | 49 'mach/exc_client_variants_test.cc', |
| 48 'mach/exc_server_variants_test.cc', | 50 'mach/exc_server_variants_test.cc', |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 ], | 115 ], |
| 114 'link_settings': { | 116 'link_settings': { |
| 115 'libraries': [ | 117 'libraries': [ |
| 116 '-ladvapi32.lib', | 118 '-ladvapi32.lib', |
| 117 '-limagehlp.lib', | 119 '-limagehlp.lib', |
| 118 '-lrpcrt4.lib', | 120 '-lrpcrt4.lib', |
| 119 '-luser32.lib', | 121 '-luser32.lib', |
| 120 ], | 122 ], |
| 121 }, | 123 }, |
| 122 }], | 124 }], |
| 125 ['OS=="android"', { |
| 126 # Things not yet ported to Android |
| 127 'sources/' : [ |
| 128 ['exclude', '^net/http_transport_test\\.cc$'], |
| 129 ] |
| 130 }], |
| 131 ['OS=="android" or OS=="linux"' , { |
| 132 # Things not yet ported to Android or Linux |
| 133 'sources/' : [ |
| 134 ['exclude', '^numeric/checked_address_range_test\\.cc$'], |
| 135 ] |
| 136 }], |
| 123 ], | 137 ], |
| 124 }, | 138 }, |
| 125 ], | 139 ], |
| 126 'conditions': [ | 140 'conditions': [ |
| 127 ['OS=="win"', { | 141 ['OS=="win"', { |
| 128 'targets': [ | 142 'targets': [ |
| 129 { | 143 { |
| 130 'target_name': 'crashpad_util_test_process_info_test_child', | 144 'target_name': 'crashpad_util_test_process_info_test_child', |
| 131 'type': 'executable', | 145 'type': 'executable', |
| 132 'sources': [ | 146 'sources': [ |
| 133 'win/process_info_test_child.cc', | 147 'win/process_info_test_child.cc', |
| 134 ], | 148 ], |
| 135 # Set an unusually high load address to make sure that the main | 149 # Set an unusually high load address to make sure that the main |
| 136 # executable still appears as the first element in | 150 # executable still appears as the first element in |
| 137 # ProcessInfo::Modules(). | 151 # ProcessInfo::Modules(). |
| 138 'msvs_settings': { | 152 'msvs_settings': { |
| 139 'VCLinkerTool': { | 153 'VCLinkerTool': { |
| 140 'AdditionalOptions': [ | 154 'AdditionalOptions': [ |
| 141 '/BASE:0x78000000', | 155 '/BASE:0x78000000', |
| 142 ], | 156 ], |
| 143 'RandomizedBaseAddress': '1', # /DYNAMICBASE:NO. | 157 'RandomizedBaseAddress': '1', # /DYNAMICBASE:NO. |
| 144 'FixedBaseAddress': '2', # /FIXED. | 158 'FixedBaseAddress': '2', # /FIXED. |
| 145 }, | 159 }, |
| 146 }, | 160 }, |
| 147 }, | 161 }, |
| 148 ] | 162 ] |
| 149 }], | 163 }], |
| 150 ], | 164 ], |
| 151 } | 165 } |
| OLD | NEW |