Index: util/util.gyp |
diff --git a/util/util.gyp b/util/util.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..298a7398f0fde55c080188d5b3edad01d6212930 |
--- /dev/null |
+++ b/util/util.gyp |
@@ -0,0 +1,55 @@ |
+# Copyright 2014 The Crashpad Authors. All rights reserved. |
+# |
+# Licensed under the Apache License, Version 2.0 (the "License"); |
+# you may not use this file except in compliance with the License. |
+# You may obtain a copy of the License at |
+# |
+# http://www.apache.org/licenses/LICENSE-2.0 |
+# |
+# Unless required by applicable law or agreed to in writing, software |
+# distributed under the License is distributed on an "AS IS" BASIS, |
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
+# See the License for the specific language governing permissions and |
+# limitations under the License. |
+ |
+{ |
+ 'targets': [ |
+ { |
+ 'target_name': 'util', |
+ 'type': 'static_library', |
+ 'dependencies': [ |
+ '../compat/compat.gyp:compat', |
+ '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', |
+ ], |
+ 'include_dirs': [ |
+ '..', |
+ '<(INTERMEDIATE_DIR)', |
+ ], |
+ 'sources': [ |
+ 'file/fd_io.cc', |
+ 'file/fd_io.h', |
+ 'file/file_writer.cc', |
+ 'file/file_writer.h', |
+ 'file/string_file_writer.cc', |
+ 'file/string_file_writer.h', |
+ ], |
+ }, |
+ { |
+ 'target_name': 'util_test', |
+ 'type': 'executable', |
+ 'dependencies': [ |
+ 'util', |
+ '../compat/compat.gyp:compat', |
+ '../third_party/gtest/gtest.gyp:gtest', |
+ '../third_party/mini_chromium/mini_chromium/base/base.gyp:base', |
+ ], |
+ 'include_dirs': [ |
+ '..', |
+ ], |
+ 'sources': [ |
+ '../third_party/gtest/gtest/src/gtest_main.cc', |
+ 'file/string_file_writer_test.cc', |
+ ], |
+ }, |
+ ], |
+} |