Chromium Code Reviews| 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_lib', | |
| 22 'type': 'static_library', | |
| 23 'dependencies': [ | |
| 24 'util.gyp:crashpad_util', | |
| 25 '../compat/compat.gyp:crashpad_compat', | |
| 26 '../third_party/gtest/gtest.gyp:gtest', | |
| 27 '../third_party/mini_chromium/mini_chromium.gyp:base', | |
| 28 ], | |
| 29 'include_dirs': [ | |
| 30 '..', | |
| 31 ], | |
| 32 'sources': [ | |
| 33 'test/errors.cc', | |
| 34 'test/errors.h', | |
| 35 'test/gtest_death_check.h', | |
| 36 'test/mac/dyld.h', | |
| 37 'test/mac/mach_errors.cc', | |
| 38 'test/mac/mach_errors.h', | |
| 39 'test/mac/mach_multiprocess.cc', | |
| 40 'test/mac/mach_multiprocess.h', | |
| 41 'test/multiprocess.h', | |
| 42 'test/multiprocess_exec.h', | |
| 43 'test/multiprocess_exec_posix.cc', | |
| 44 'test/multiprocess_exec_win.cc', | |
| 45 'test/multiprocess_posix.cc', | |
| 46 'test/paths.cc', | |
| 47 'test/paths.h', | |
| 48 'test/paths_mac.cc', | |
| 49 'test/paths_win.cc', | |
| 50 'test/scoped_temp_dir.cc', | |
| 51 'test/scoped_temp_dir.h', | |
| 52 'test/scoped_temp_dir_posix.cc', | |
| 53 'test/scoped_temp_dir_win.cc', | |
| 54 'test/thread.cc', | |
| 55 'test/thread.h', | |
| 56 'test/thread_posix.cc', | |
| 57 'test/thread_win.cc', | |
| 58 ], | |
| 59 'conditions': [ | |
| 60 ['OS=="mac"', { | |
| 61 'link_settings': { | |
| 62 'libraries': [ | |
| 63 '$(SDKROOT)/usr/lib/libbsm.dylib', | |
| 64 ], | |
| 65 }, | |
| 66 }], | |
| 67 ], | |
| 68 }, | |
| 69 { | |
| 70 'target_name': 'crashpad_util_test', | 21 'target_name': 'crashpad_util_test', |
| 71 'type': 'executable', | 22 'type': 'executable', |
| 72 'dependencies': [ | 23 'dependencies': [ |
| 73 'crashpad_util_test_lib', | |
| 74 'crashpad_util_test_multiprocess_exec_test_child', | |
| 75 'util.gyp:crashpad_util', | 24 'util.gyp:crashpad_util', |
| 76 '../compat/compat.gyp:crashpad_compat', | 25 '../compat/compat.gyp:crashpad_compat', |
| 26 '../test/test.gyp:crashpad_test', | |
| 77 '../third_party/gmock/gmock.gyp:gmock', | 27 '../third_party/gmock/gmock.gyp:gmock', |
| 78 '../third_party/gmock/gmock.gyp:gmock_main', | 28 '../third_party/gmock/gmock.gyp:gmock_main', |
| 79 '../third_party/gtest/gtest.gyp:gtest', | 29 '../third_party/gtest/gtest.gyp:gtest', |
| 80 '../third_party/mini_chromium/mini_chromium.gyp:base', | 30 '../third_party/mini_chromium/mini_chromium.gyp:base', |
| 81 ], | 31 ], |
| 82 'include_dirs': [ | 32 'include_dirs': [ |
| 83 '..', | 33 '..', |
| 84 ], | 34 ], |
| 85 'sources': [ | 35 'sources': [ |
| 86 'file/file_io_test.cc', | 36 'file/file_io_test.cc', |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 118 'numeric/in_range_cast_test.cc', | 68 'numeric/in_range_cast_test.cc', |
| 119 'numeric/int128_test.cc', | 69 'numeric/int128_test.cc', |
| 120 'posix/process_info_test.cc', | 70 'posix/process_info_test.cc', |
| 121 'posix/symbolic_constants_posix_test.cc', | 71 'posix/symbolic_constants_posix_test.cc', |
| 122 'stdlib/map_insert_test.cc', | 72 'stdlib/map_insert_test.cc', |
| 123 'stdlib/string_number_conversion_test.cc', | 73 'stdlib/string_number_conversion_test.cc', |
| 124 'stdlib/strlcpy_test.cc', | 74 'stdlib/strlcpy_test.cc', |
| 125 'stdlib/strnlen_test.cc', | 75 'stdlib/strnlen_test.cc', |
| 126 'string/split_string_test.cc', | 76 'string/split_string_test.cc', |
| 127 'synchronization/semaphore_test.cc', | 77 'synchronization/semaphore_test.cc', |
| 128 'test/mac/mach_multiprocess_test.cc', | |
| 129 'test/multiprocess_exec_test.cc', | |
| 130 'test/multiprocess_posix_test.cc', | |
| 131 'test/paths_test.cc', | |
| 132 'test/scoped_temp_dir_test.cc', | |
| 133 'thread/thread_log_messages_test.cc', | 78 'thread/thread_log_messages_test.cc', |
| 134 'win/process_info_test.cc', | 79 'win/process_info_test.cc', |
| 135 'win/time_test.cc', | 80 'win/time_test.cc', |
| 136 ], | 81 ], |
| 137 'conditions': [ | 82 'conditions': [ |
| 138 ['OS=="mac"', { | 83 ['OS=="mac"', { |
| 139 'link_settings': { | 84 'link_settings': { |
| 140 'libraries': [ | 85 'libraries': [ |
| 141 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | 86 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 142 ], | 87 ], |
| 143 }, | 88 }, |
| 144 }], | 89 }], |
| 145 ['OS=="win"', { | 90 ['OS=="win"', { |
| 91 'dependencies': [ | |
|
Mark Mentovai
2015/03/31 21:30:23
These were missing!
| |
| 92 'crashpad_util_test_process_info_test_child_x64', | |
| 93 'crashpad_util_test_process_info_test_child_x86', | |
| 94 ], | |
| 146 'link_settings': { | 95 'link_settings': { |
| 147 'libraries': [ | 96 'libraries': [ |
| 148 '-lrpcrt4.lib', | 97 '-lrpcrt4.lib', |
| 149 ], | 98 ], |
| 150 }, | 99 }, |
| 151 }], | 100 }], |
| 152 ], | 101 ], |
| 153 }, | 102 }, |
| 154 { | |
| 155 'target_name': 'crashpad_util_test_multiprocess_exec_test_child', | |
| 156 'type': 'executable', | |
| 157 'sources': [ | |
| 158 'test/multiprocess_exec_test_child.cc', | |
| 159 ], | |
| 160 }, | |
| 161 ], | 103 ], |
| 162 'conditions': [ | 104 'conditions': [ |
| 163 ['OS=="win"', { | 105 ['OS=="win"', { |
| 164 'targets': [ | 106 'targets': [ |
| 165 { | 107 { |
| 166 'target_name': 'crashpad_util_test_process_info_test_child_x64', | 108 'target_name': 'crashpad_util_test_process_info_test_child_x64', |
| 167 'type': 'executable', | 109 'type': 'executable', |
| 168 'sources': [ | 110 'sources': [ |
| 169 'win/process_info_test_child.cc', | 111 'win/process_info_test_child.cc', |
| 170 ], | 112 ], |
| (...skipping 29 matching lines...) Expand all Loading... | |
| 200 '/FIXED', | 142 '/FIXED', |
| 201 ], | 143 ], |
| 202 'TargetMachine': '1', # x86. | 144 'TargetMachine': '1', # x86. |
| 203 }, | 145 }, |
| 204 }, | 146 }, |
| 205 }, | 147 }, |
| 206 ] | 148 ] |
| 207 }], | 149 }], |
| 208 ], | 150 ], |
| 209 } | 151 } |
| OLD | NEW |