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, |
(...skipping 14 matching lines...) Expand all Loading... |
25 '..', | 25 '..', |
26 '<(INTERMEDIATE_DIR)', | 26 '<(INTERMEDIATE_DIR)', |
27 ], | 27 ], |
28 'sources': [ | 28 'sources': [ |
29 'file/fd_io.cc', | 29 'file/fd_io.cc', |
30 'file/fd_io.h', | 30 'file/fd_io.h', |
31 'file/file_writer.cc', | 31 'file/file_writer.cc', |
32 'file/file_writer.h', | 32 'file/file_writer.h', |
33 'file/string_file_writer.cc', | 33 'file/string_file_writer.cc', |
34 'file/string_file_writer.h', | 34 'file/string_file_writer.h', |
| 35 'mach/task_memory.cc', |
| 36 'mach/task_memory.h', |
35 'misc/uuid.cc', | 37 'misc/uuid.cc', |
36 'misc/uuid.h', | 38 'misc/uuid.h', |
37 'stdlib/cxx.h', | 39 'stdlib/cxx.h', |
38 'stdlib/strlcpy.cc', | 40 'stdlib/strlcpy.cc', |
39 'stdlib/strlcpy.h', | 41 'stdlib/strlcpy.h', |
40 ], | 42 ], |
41 }, | 43 }, |
42 { | 44 { |
| 45 'target_name': 'util_test_lib', |
| 46 'type': 'static_library', |
| 47 'dependencies': [ |
| 48 '../compat/compat.gyp:compat', |
| 49 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', |
| 50 'util', |
| 51 ], |
| 52 'include_dirs': [ |
| 53 '..', |
| 54 ], |
| 55 'sources': [ |
| 56 'test/errors.cc', |
| 57 'test/errors.h', |
| 58 'test/mac/mach_errors.cc', |
| 59 'test/mac/mach_errors.h', |
| 60 ], |
| 61 }, |
| 62 { |
43 'target_name': 'util_test', | 63 'target_name': 'util_test', |
44 'type': 'executable', | 64 'type': 'executable', |
45 'dependencies': [ | 65 'dependencies': [ |
46 'util', | 66 'util', |
| 67 'util_test_lib', |
47 '../compat/compat.gyp:compat', | 68 '../compat/compat.gyp:compat', |
48 '../third_party/gtest/gtest.gyp:gtest', | 69 '../third_party/gtest/gtest.gyp:gtest', |
49 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', | 70 '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', |
50 ], | 71 ], |
51 'include_dirs': [ | 72 'include_dirs': [ |
52 '..', | 73 '..', |
53 ], | 74 ], |
54 'sources': [ | 75 'sources': [ |
55 '../third_party/gtest/gtest/src/gtest_main.cc', | 76 '../third_party/gtest/gtest/src/gtest_main.cc', |
56 'file/string_file_writer_test.cc', | 77 'file/string_file_writer_test.cc', |
| 78 'mach/task_memory_test.cc', |
57 'misc/uuid_test.cc', | 79 'misc/uuid_test.cc', |
58 'stdlib/strlcpy_test.cc', | 80 'stdlib/strlcpy_test.cc', |
59 ], | 81 ], |
60 }, | 82 }, |
61 ], | 83 ], |
62 } | 84 } |
OLD | NEW |