Index: ipc/mojo/ipc_mojo.gyp |
diff --git a/ipc/mojo/ipc_mojo.gyp b/ipc/mojo/ipc_mojo.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a88245de42c27291cac36efcdf97649266c670cd |
--- /dev/null |
+++ b/ipc/mojo/ipc_mojo.gyp |
@@ -0,0 +1,68 @@ |
+# Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+{ |
+ 'variables': { |
+ 'chromium_code': 1, |
+ }, |
+ 'includes': [ |
+ ], |
+ 'targets': [ |
+ { |
+ 'target_name': 'ipc_mojo', |
+ 'type': '<(component)', |
+ 'variables': { |
+ }, |
+ 'defines': [ |
+ 'IPC_MOJO_IMPLEMENTATION', |
+ ], |
+ 'dependencies': [ |
+ '../ipc.gyp:ipc', |
+ '../../base/base.gyp:base', |
+ '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
+ '../../mojo/mojo_base.gyp:mojo_cpp_bindings', |
+ '../../mojo/mojo_base.gyp:mojo_environment_chromium', |
+ '../../mojo/mojo_base.gyp:mojo_system_impl', |
+ ], |
+ 'sources': [ |
+ 'ipc_channel_mojo.cc', |
+ 'ipc_channel_mojo.h', |
+ 'ipc_message_pipe_reader.cc', |
+ 'ipc_message_pipe_reader.h', |
+ ], |
+ # TODO(gregoryd): direct_dependent_settings should be shared with the |
+ # 64-bit target, but it doesn't work due to a bug in gyp |
+ 'direct_dependent_settings': { |
+ 'include_dirs': [ |
+ '..', |
+ ], |
+ }, |
+ }, |
+ { |
+ 'target_name': 'ipc_mojo_unittests', |
+ 'type': '<(gtest_target_type)', |
+ 'dependencies': [ |
+ '../ipc.gyp:ipc', |
+ '../ipc.gyp:test_support_ipc', |
+ '../../base/base.gyp:base', |
+ '../../base/base.gyp:base_i18n', |
+ '../../base/base.gyp:test_support_base', |
+ '../../mojo/mojo_base.gyp:mojo_cpp_bindings', |
+ '../../mojo/mojo_base.gyp:mojo_environment_chromium', |
+ '../../mojo/mojo_base.gyp:mojo_system_impl', |
+ '../../testing/gtest.gyp:gtest', |
+ 'ipc_mojo', |
+ ], |
+ 'include_dirs': [ |
+ '..' |
+ ], |
+ 'sources': [ |
+ 'run_all_unittests.cc', |
+ 'ipc_channel_mojo_unittest.cc', |
+ ], |
+ 'conditions': [ |
+ ], |
+ }, |
+ ], |
+} |