Index: google_apis/gcm/gcm.gyp |
diff --git a/google_apis/gcm/gcm.gyp b/google_apis/gcm/gcm.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c1ab33b0f04907d409219f66558be5b5034727ed |
--- /dev/null |
+++ b/google_apis/gcm/gcm.gyp |
@@ -0,0 +1,56 @@ |
+# Copyright 2013 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, |
+ }, |
+ |
+ 'targets': [ |
+ # The public GCM target. |
+ { |
+ 'target_name': 'gcm', |
+ 'type': '<(component)', |
+ 'variables': { 'enable_wexit_time_destructors': 1, }, |
+ 'include_dirs': [ |
+ '../..', |
+ ], |
+ 'defines': [ |
+ 'GCM_IMPLEMENTATION', |
+ ], |
+ 'export_dependent_settings': [ |
+ '../../third_party/protobuf/protobuf.gyp:protobuf_lite' |
+ ], |
+ 'dependencies': [ |
+ '../../base/base.gyp:base', |
+ '../../net/net.gyp:net', |
+ '../../third_party/protobuf/protobuf.gyp:protobuf_lite' |
+ ], |
+ 'sources': [ |
+ 'base/socket_stream.h', |
+ 'base/socket_stream.cc', |
+ ], |
+ }, |
+ |
+ # The main GCM unit tests. |
+ { |
+ 'target_name': 'gcm_unit_tests', |
+ 'type': '<(gtest_target_type)', |
+ 'variables': { 'enable_wexit_time_destructors': 1, }, |
+ 'include_dirs': [ |
+ '../..', |
+ ], |
+ 'dependencies': [ |
+ '../../base/base.gyp:run_all_unittests', |
+ '../../base/base.gyp:base', |
+ '../../net/net.gyp:net_test_support', |
+ '../../testing/gtest.gyp:gtest', |
+ 'gcm' |
+ ], |
+ 'sources': [ |
+ 'base/socket_stream_unittest.cc', |
+ ] |
+ }, |
+ ], |
+} |