Chromium Code Reviews| 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': [ | |
|
akalin
2013/10/16 07:16:31
need include_dirs for gcm_unit_tests too?
Nicolas Zea
2013/10/16 19:56:18
Done.
| |
| 17 '../..', | |
| 18 ], | |
| 19 'defines': [ | |
| 20 'GCM_IMPLEMENTATION', | |
| 21 ], | |
| 22 'dependencies': [ | |
| 23 '../../base/base.gyp:base', | |
| 24 '../../net/net.gyp:net', | |
| 25 '../../url/url.gyp:url_lib', | |
|
akalin
2013/10/16 07:16:31
don't need to depend on url_lib yet, do you?
Nicolas Zea
2013/10/16 19:56:18
Done.
| |
| 26 '../../third_party/protobuf/protobuf.gyp:protobuf_lite' | |
| 27 ], | |
| 28 'sources': [ | |
| 29 'base/socket_stream.h', | |
| 30 'base/socket_stream.cc', | |
| 31 ], | |
| 32 }, | |
| 33 | |
| 34 # The main GCM unit tests. | |
| 35 { | |
| 36 'target_name': 'gcm_unit_tests', | |
| 37 'type': '<(gtest_target_type)', | |
| 38 # Typed-parametrized tests generate exit-time destructors. | |
|
akalin
2013/10/16 07:16:31
we don't use type-parametrized tests yet, right? e
Nicolas Zea
2013/10/16 19:56:18
Done.
| |
| 39 'variables': { 'enable_wexit_time_destructors': 0, }, | |
| 40 'defines': [ | |
| 41 'GCM_TEST', | |
|
akalin
2013/10/16 07:16:31
don't think you need this define
Nicolas Zea
2013/10/16 19:56:18
Done.
| |
| 42 ], | |
| 43 'dependencies': [ | |
| 44 '../../base/base.gyp:run_all_unittests', | |
| 45 '../../base/base.gyp:base', | |
| 46 '../../net/net.gyp:net', | |
|
akalin
2013/10/16 07:16:31
need to depend on net directly? (don't think so)
Nicolas Zea
2013/10/16 19:56:18
Done.
| |
| 47 '../../net/net.gyp:net_test_support', | |
| 48 '../../testing/gtest.gyp:gtest', | |
| 49 '../../third_party/protobuf/protobuf.gyp:protobuf_lite', | |
|
akalin
2013/10/16 07:16:31
need to depend on protobuf_lite directly? (don't t
Nicolas Zea
2013/10/16 19:56:18
Done.
| |
| 50 'gcm' | |
| 51 ], | |
| 52 'sources': [ | |
| 53 'base/socket_stream_unittest.cc', | |
| 54 ] | |
| 55 }, | |
| 56 ], | |
| 57 } | |
| OLD | NEW |