summaryrefslogtreecommitdiffstats
path: root/remoting/app_remoting_test.gyp
blob: 8c330431f18f14fc32ffe3e29adc5aca09b9f32b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Copyright 2015 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.

{
  'includes': [
    'remoting_version.gypi',
  ],

  'target_defaults': {
    'type': 'none',
  },  # target_defaults

  'targets': [
    {
      'target_name': 'ar_test_driver_common',
      'type': 'static_library',
      'dependencies': [
        '../base/base.gyp:base',
        '../base/base.gyp:test_support_base',
        '../google_apis/google_apis.gyp:google_apis',
        '../net/net.gyp:net',
        '../remoting/remoting.gyp:remoting_base',
        '../remoting/remoting.gyp:remoting_client',
        '../remoting/remoting.gyp:remoting_protocol',
        '../remoting/proto/chromotocol.gyp:chromotocol_proto_lib',
        '../testing/gtest.gyp:gtest',
      ],
      'defines': [
        'VERSION=<(version_full)',
      ],
      'sources': [
        'test/access_token_fetcher.cc',
        'test/access_token_fetcher.h',
        'test/app_remoting_connected_client_fixture.cc',
        'test/app_remoting_connected_client_fixture.h',
        'test/app_remoting_test_driver_environment.cc',
        'test/app_remoting_test_driver_environment.h',
        'test/refresh_token_store.cc',
        'test/refresh_token_store.h',
        'test/remote_application_details.h',
        'test/remote_connection_observer.h',
        'test/remote_host_info.cc',
        'test/remote_host_info.h',
        'test/remote_host_info_fetcher.cc',
        'test/remote_host_info_fetcher.h',
        'test/test_chromoting_client.cc',
        'test/test_chromoting_client.h',
        'test/test_video_renderer.cc',
        'test/test_video_renderer.h',
      ],
    },  # end of target 'ar_test_driver_common'
    {
      # An external version of the test driver tool which includes minimal tests
      'target_name': 'ar_sample_test_driver',
      'type': '<(gtest_target_type)',
      'dependencies': [
        'ar_test_driver_common',
      ],
      'defines': [
        'VERSION=<(version_full)',
      ],
      'sources': [
        'test/app_remoting_test_driver.cc',
        'test/app_remoting_test_driver_environment_app_details.cc',
      ],
      'include_dirs': [
        '../testing/gtest/include',
      ],
    },  # end of target 'ar_sample_test_driver'
  ],  # end of targets
}