blob: b918f087aaa4a96c7089312582d0a9fdf786de5a [file] [log] [blame]
[email protected]ede9c722013-09-27 22:01:311# 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',
[email protected]522b0c82013-10-01 01:44:5621 '../events/events.gyp:events',
[email protected]529a3cf2013-09-30 02:47:4822 '../gfx/gfx.gyp:gfx',
[email protected]b5e2d782013-12-18 21:01:1523 '../gfx/gfx.gyp:gfx_geometry',
[email protected]ede9c722013-09-27 22:01:3124 ],
25 'defines': [
26 'V2_IMPLEMENTATION',
27 ],
28 'sources': [
29 'public/event.h',
30 'public/event_dispatcher.h',
31 'public/event_handler.h',
32 'public/event_target.h',
33 'public/layout.h',
34 'public/painter.h',
35 'public/v2_export.h',
36 'public/view.h',
37 'public/view_observer.h',
38 'public/window.h',
39 'src/event.cc',
40 'src/event_dispatcher.cc',
41 'src/event_processor.cc',
42 'src/layout.cc',
43 'src/paint_processor.cc',
44 'src/view.cc',
45 'src/view_observer.cc',
[email protected]cc1a9212013-10-03 21:12:2146 'src/view_private.cc',
47 'src/view_private.h',
[email protected]ede9c722013-09-27 22:01:3148 'src/window.cc',
49 ],
50 },
51 {
52 'target_name': 'v2_unittests',
53 'type': 'executable',
54 'dependencies': [
55 '../../base/base.gyp:test_support_base',
[email protected]c54e1972013-10-04 21:42:1456 '../../skia/skia.gyp:skia',
[email protected]ede9c722013-09-27 22:01:3157 '../../testing/gtest.gyp:gtest',
[email protected]cc1a9212013-10-03 21:12:2158 '../gfx/gfx.gyp:gfx',
[email protected]b5e2d782013-12-18 21:01:1559 '../gfx/gfx.gyp:gfx_geometry',
[email protected]ede9c722013-09-27 22:01:3160 'v2',
61 ],
62 'sources': [
[email protected]f791d5d2014-01-17 00:30:3263 'src/v2_unittest.cc',
[email protected]ede9c722013-09-27 22:01:3164 'src/view_unittest.cc',
65 ],
66 },
67 ],
68}