- add sources.
[platform/framework/web/crosswalk.git] / src / ui / v2 / v2.gyp
1 # Copyright (c) 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   'targets': [
10     {
11       'target_name': 'v2',
12       'type': '<(component)',
13       'dependencies': [
14         '../../base/base.gyp:base',
15         '../../base/base.gyp:base_i18n',
16         '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
17         '../../cc/cc.gyp:cc',
18         '../../gpu/gpu.gyp:gpu',
19         '../../skia/skia.gyp:skia',
20         '../compositor/compositor.gyp:compositor',
21         '../events/events.gyp:events',
22         '../gfx/gfx.gyp:gfx',
23       ],
24       'defines': [
25         'V2_IMPLEMENTATION',
26       ],
27       'sources': [
28         'public/event.h',
29         'public/event_dispatcher.h',
30         'public/event_handler.h',
31         'public/event_target.h',
32         'public/layout.h',
33         'public/painter.h',
34         'public/v2_export.h',
35         'public/view.h',
36         'public/view_observer.h',
37         'public/window.h',
38         'src/event.cc',
39         'src/event_dispatcher.cc',
40         'src/event_processor.cc',
41         'src/layout.cc',
42         'src/paint_processor.cc',
43         'src/view.cc',
44         'src/view_observer.cc',
45         'src/view_private.cc',
46         'src/view_private.h',
47         'src/window.cc',
48       ],
49     },
50     {
51       'target_name': 'v2_unittests',
52       'type': 'executable',
53       'dependencies': [
54         '../../base/base.gyp:test_support_base',
55         '../../skia/skia.gyp:skia',
56         '../../testing/gtest.gyp:gtest',
57         '../gfx/gfx.gyp:gfx',
58         'v2',
59       ],
60       'sources': [
61         'src/v2_unittests.cc',
62         'src/view_unittest.cc',
63       ],
64     },
65   ],
66 }