[email protected] | ede9c72 | 2013-09-27 22:01:31 | [diff] [blame] | 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', |
[email protected] | 522b0c8 | 2013-10-01 01:44:56 | [diff] [blame] | 21 | '../events/events.gyp:events', |
[email protected] | 529a3cf | 2013-09-30 02:47:48 | [diff] [blame] | 22 | '../gfx/gfx.gyp:gfx', |
[email protected] | b5e2d78 | 2013-12-18 21:01:15 | [diff] [blame] | 23 | '../gfx/gfx.gyp:gfx_geometry', |
[email protected] | ede9c72 | 2013-09-27 22:01:31 | [diff] [blame] | 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', |
[email protected] | cc1a921 | 2013-10-03 21:12:21 | [diff] [blame] | 46 | 'src/view_private.cc', |
| 47 | 'src/view_private.h', |
[email protected] | ede9c72 | 2013-09-27 22:01:31 | [diff] [blame] | 48 | '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] | c54e197 | 2013-10-04 21:42:14 | [diff] [blame] | 56 | '../../skia/skia.gyp:skia', |
[email protected] | ede9c72 | 2013-09-27 22:01:31 | [diff] [blame] | 57 | '../../testing/gtest.gyp:gtest', |
[email protected] | cc1a921 | 2013-10-03 21:12:21 | [diff] [blame] | 58 | '../gfx/gfx.gyp:gfx', |
[email protected] | b5e2d78 | 2013-12-18 21:01:15 | [diff] [blame] | 59 | '../gfx/gfx.gyp:gfx_geometry', |
[email protected] | ede9c72 | 2013-09-27 22:01:31 | [diff] [blame] | 60 | 'v2', |
| 61 | ], |
| 62 | 'sources': [ |
[email protected] | f791d5d | 2014-01-17 00:30:32 | [diff] [blame] | 63 | 'src/v2_unittest.cc', |
[email protected] | ede9c72 | 2013-09-27 22:01:31 | [diff] [blame] | 64 | 'src/view_unittest.cc', |
| 65 | ], |
| 66 | }, |
| 67 | ], |
| 68 | } |