OLD | NEW |
---|---|
(Empty) | |
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. | |
4 | |
5 { | |
6 'variables': { | |
7 'chromium_code': 1, | |
8 }, | |
9 | |
10 'targets': [ | |
11 # The public GCM shared library target. | |
12 { | |
13 'target_name': 'gcm', | |
14 'type': 'shared_library', | |
15 'variables': { 'enable_wexit_time_destructors': 1, }, | |
16 'include_dirs': [ | |
17 '../..', | |
18 ], | |
19 'defines': [ | |
20 'GCM_IMPLEMENTATION', | |
21 ], | |
22 'dependencies': [ | |
23 '../../base/base.gyp:base', | |
24 '../../net/net.gyp:net', | |
25 '../../third_party/protobuf/protobuf.gyp:protobuf_lite' | |
26 ], | |
27 'sources': [ | |
28 'base/socket_stream.h', | |
29 'base/socket_stream.cc', | |
30 ], | |
31 }, | |
32 | |
33 # The main GCM unit tests. | |
34 { | |
35 'target_name': 'gcm_unit_tests', | |
36 'type': '<(gtest_target_type)', | |
37 'variables': { 'enable_wexit_time_destructors': 1, }, | |
38 'include_dirs': [ | |
39 '../..', | |
40 '../../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.
| |
41 ], | |
42 'dependencies': [ | |
43 '../../base/base.gyp:run_all_unittests', | |
44 '../../base/base.gyp:base', | |
45 '../../net/net.gyp:net_test_support', | |
46 '../../testing/gtest.gyp:gtest', | |
47 'gcm' | |
48 ], | |
49 'sources': [ | |
50 'base/socket_stream_unittest.cc', | |
51 ] | |
52 }, | |
53 ], | |
54 } | |
OLD | NEW |