| 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': 'client', | 18 'target_name': 'client', |
| 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 '../util/util.gyp:util', | 23 '../util/util.gyp:util', |
| 24 ], | 24 ], |
| 25 'include_dirs': [ | 25 'include_dirs': [ |
| 26 '..', | 26 '..', |
| 27 ], | 27 ], |
| 28 'sources': [ | 28 'sources': [ |
| 29 'capture_context_mac.S', |
| 29 'capture_context_mac.h', | 30 'capture_context_mac.h', |
| 30 'capture_context_mac.S', | 31 'crash_report_database.cc', |
| 32 'crash_report_database.h', |
| 33 'crash_report_database_mac.mm', |
| 34 'crash_report_database_win.cc', |
| 31 'crashpad_client.h', | 35 'crashpad_client.h', |
| 32 'crashpad_client_mac.cc', | 36 'crashpad_client_mac.cc', |
| 33 'crashpad_info.cc', | 37 'crashpad_info.cc', |
| 34 'crashpad_info.h', | 38 'crashpad_info.h', |
| 35 'crash_report_database_mac.mm', | |
| 36 'crash_report_database.cc', | |
| 37 'crash_report_database.h', | |
| 38 'simple_string_dictionary.cc', | 39 'simple_string_dictionary.cc', |
| 39 'simple_string_dictionary.h', | 40 'simple_string_dictionary.h', |
| 40 'simulate_crash.h', | 41 'simulate_crash.h', |
| 41 'simulate_crash_mac.cc', | 42 'simulate_crash_mac.cc', |
| 42 'simulate_crash_mac.h', | 43 'simulate_crash_mac.h', |
| 43 ], | 44 ], |
| 45 'conditions': [ |
| 46 ['OS=="win"', { |
| 47 'link_settings': { |
| 48 'libraries': [ |
| 49 '-lrpcrt4.lib', |
| 50 ], |
| 51 }, |
| 52 }], |
| 53 ], |
| 44 }, | 54 }, |
| 45 { | 55 { |
| 46 'target_name': 'client_test', | 56 'target_name': 'client_test', |
| 47 'type': 'executable', | 57 'type': 'executable', |
| 48 'dependencies': [ | 58 'dependencies': [ |
| 49 'client', | 59 'client', |
| 50 '../compat/compat.gyp:compat', | 60 '../compat/compat.gyp:compat', |
| 51 '../third_party/gtest/gtest.gyp:gtest', | 61 '../third_party/gtest/gtest.gyp:gtest', |
| 52 '../third_party/gtest/gtest.gyp:gtest_main', | 62 '../third_party/gtest/gtest.gyp:gtest_main', |
| 53 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', | 63 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', |
| 54 '../util/util.gyp:util', | 64 '../util/util.gyp:util', |
| 55 '../util/util.gyp:util_test_lib', | 65 '../util/util.gyp:util_test_lib', |
| 56 ], | 66 ], |
| 57 'include_dirs': [ | 67 'include_dirs': [ |
| 58 '..', | 68 '..', |
| 59 ], | 69 ], |
| 60 'sources': [ | 70 'sources': [ |
| 61 'capture_context_mac_test.cc', | 71 'capture_context_mac_test.cc', |
| 62 'crash_report_database_test.cc', | 72 'crash_report_database_test.cc', |
| 63 'simple_string_dictionary_test.cc', | 73 'simple_string_dictionary_test.cc', |
| 64 'simulate_crash_mac_test.cc', | 74 'simulate_crash_mac_test.cc', |
| 65 ], | 75 ], |
| 66 }, | 76 }, |
| 67 ], | 77 ], |
| 68 } | 78 } |
| OLD | NEW |