summaryrefslogtreecommitdiffstats
path: root/ui/v2/v2.gyp
blob: 68d1c06d74b4afe5799f5e22b934ca58f78f2f73 (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
# Copyright (c) 2013 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.

{
  'variables': {
    'chromium_code': 1,
  },
  'targets': [
    {
      'target_name': 'v2',
      'type': '<(component)',
      'dependencies': [
        '../../base/base.gyp:base',
        '../../base/base.gyp:base_i18n',
        '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
        '../../cc/cc.gyp:cc',
        '../../gpu/gpu.gyp:gpu',
        '../../skia/skia.gyp:skia',
        '../compositor/compositor.gyp:compositor',
        '../events/events.gyp:events',
        '../gfx/gfx.gyp:gfx',
        '../ui.gyp:ui',
        '../ui.gyp:ui_resources',
      ],
      'defines': [
        'V2_IMPLEMENTATION',
      ],
      'sources': [
        'public/event.h',
        'public/event_dispatcher.h',
        'public/event_handler.h',
        'public/event_target.h',
        'public/layout.h',
        'public/painter.h',
        'public/v2_export.h',
        'public/view.h',
        'public/view_observer.h',
        'public/window.h',
        'src/event.cc',
        'src/event_dispatcher.cc',
        'src/event_processor.cc',
        'src/layout.cc',
        'src/paint_processor.cc',
        'src/view.cc',
        'src/view_observer.cc',
        'src/window.cc',
      ],
    },
    {
      'target_name': 'v2_unittests',
      'type': 'executable',
      'dependencies': [
        '../../base/base.gyp:test_support_base',
        '../../testing/gtest.gyp:gtest',
        'v2',
      ],
      'sources': [
        'src/v2_unittests.cc',
        'src/view_unittest.cc',
      ],
    },
  ],
}