summaryrefslogtreecommitdiffstats
path: root/cc/blink/cc_blink_tests.gyp
blob: edcd118eba5d02acc9614e13d2c83961b15b9725 (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
# Copyright 2014 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.

{
  'targets': [
    {
      # GN version: //cc/blink/cc_blink_unittests
      'target_name': 'cc_blink_unittests',
      'type': '<(gtest_target_type)',
      'dependencies': [
        '../../base/base.gyp:test_support_base',
        '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
        '../../skia/skia.gyp:skia',
        '../../testing/gmock.gyp:gmock',
        '../../testing/gtest.gyp:gtest',
        '../../third_party/WebKit/public/blink.gyp:blink',
        '../../ui/gfx/gfx.gyp:gfx_geometry',
        '../../ui/gfx/gfx.gyp:gfx_test_support',
        '../cc.gyp:cc',
        '../cc_tests.gyp:cc_test_support',
        'cc_blink.gyp:cc_blink',
      ],
      'sources': [
        'test/cc_blink_test_suite.cc',
        'test/run_all_unittests.cc',
        'web_animation_unittest.cc',
        'web_compositor_animation_player_unittest.cc',
        'web_float_animation_curve_unittest.cc',
        'web_layer_impl_fixed_bounds_unittest.cc',
        'web_compositor_mutable_state_impl_unittest.cc',
      ],
    }
  ],
  'conditions': [
    ['OS == "android"',
      {
        'targets': [
          {
            'target_name': 'cc_blink_unittests_apk',
            'type': 'none',
            'dependencies': [
              'cc_blink_unittests',
            ],
            'variables': {
              'test_suite_name': 'cc_blink_unittests',
            },
            'includes': [ '../../build/apk_test.gypi' ],
          },
        ],
      }
    ]
  ],

}