Chromium Code Reviews| 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..0b7841111537f7105867e05a97d90a06cf121f9f |
| --- /dev/null |
| +++ b/google_apis/gcm/gcm.gyp |
| @@ -0,0 +1,54 @@ |
| +# 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 shared library target. |
| + { |
| + 'target_name': 'gcm', |
| + 'type': 'shared_library', |
| + 'variables': { 'enable_wexit_time_destructors': 1, }, |
| + 'include_dirs': [ |
| + '../..', |
| + ], |
| + 'defines': [ |
| + 'GCM_IMPLEMENTATION', |
| + ], |
| + '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': [ |
| + '../..', |
| + '../../third_party/protobuf/src', |
|
akalin
2013/10/16 23:44:25
this shouldn't be necessary. Remove this line (the
Nicolas Zea
2013/10/17 19:51:55
Done.
|
| + ], |
| + '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', |
| + ] |
| + }, |
| + ], |
| +} |