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 'export_dependent_settings': [ |
| 23 '../../third_party/protobuf/protobuf.gyp:protobuf_lite' |
| 24 ], |
| 25 'dependencies': [ |
| 26 '../../base/base.gyp:base', |
| 27 '../../net/net.gyp:net', |
| 28 '../../third_party/protobuf/protobuf.gyp:protobuf_lite' |
| 29 ], |
| 30 'sources': [ |
| 31 'base/socket_stream.h', |
| 32 'base/socket_stream.cc', |
| 33 ], |
| 34 }, |
| 35 |
| 36 # The main GCM unit tests. |
| 37 { |
| 38 'target_name': 'gcm_unit_tests', |
| 39 'type': '<(gtest_target_type)', |
| 40 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 41 'include_dirs': [ |
| 42 '../..', |
| 43 ], |
| 44 'dependencies': [ |
| 45 '../../base/base.gyp:run_all_unittests', |
| 46 '../../base/base.gyp:base', |
| 47 '../../net/net.gyp:net_test_support', |
| 48 '../../testing/gtest.gyp:gtest', |
| 49 'gcm' |
| 50 ], |
| 51 'sources': [ |
| 52 'base/socket_stream_unittest.cc', |
| 53 ] |
| 54 }, |
| 55 ], |
| 56 } |
OLD | NEW |