1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
11 # The public GCM target.
14 'type': '<(component)',
16 'enable_wexit_time_destructors': 1,
17 'proto_in_dir': './protocol',
18 'proto_out_dir': 'google_apis/gcm/protocol',
19 'cc_generator_options': 'dllexport_decl=GCM_EXPORT:',
20 'cc_include': 'google_apis/gcm/base/gcm_export.h',
28 'export_dependent_settings': [
29 '../../third_party/protobuf/protobuf.gyp:protobuf_lite'
32 '../../base/base.gyp:base',
33 '../../net/net.gyp:net',
34 '../../third_party/protobuf/protobuf.gyp:protobuf_lite'
39 'base/socket_stream.h',
40 'base/socket_stream.cc',
41 'engine/connection_handler.h',
42 'engine/connection_handler.cc',
46 '../../build/protoc.gypi'
50 # The main GCM unit tests.
52 'target_name': 'gcm_unit_tests',
53 'type': '<(gtest_target_type)',
54 'variables': { 'enable_wexit_time_destructors': 1, },
59 '../../base/base.gyp:run_all_unittests',
60 '../../base/base.gyp:base',
61 '../../net/net.gyp:net_test_support',
62 '../../testing/gtest.gyp:gtest',
63 '../../third_party/protobuf/protobuf.gyp:protobuf_lite',
67 'base/mcs_util_unittest.cc',
68 'base/socket_stream_unittest.cc',
69 'engine/connection_handler_unittest.cc',