OLD | NEW |
| (Empty) |
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:dyna
mic_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 '../gfx/gfx.gyp:gfx_geometry', | |
24 ], | |
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', | |
46 'src/view_private.cc', | |
47 'src/view_private.h', | |
48 'src/window.cc', | |
49 ], | |
50 }, | |
51 { | |
52 'target_name': 'v2_unittests', | |
53 'type': 'executable', | |
54 'dependencies': [ | |
55 '../../base/base.gyp:test_support_base', | |
56 '../../skia/skia.gyp:skia', | |
57 '../../testing/gtest.gyp:gtest', | |
58 '../gfx/gfx.gyp:gfx', | |
59 '../gfx/gfx.gyp:gfx_geometry', | |
60 'v2', | |
61 ], | |
62 'sources': [ | |
63 'src/v2_unittest.cc', | |
64 'src/view_unittest.cc', | |
65 ], | |
66 }, | |
67 ], | |
68 } | |
OLD | NEW |