Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| 11 'target_name': 'display', | 11 'target_name': 'display', |
| 12 'type': '<(component)', | 12 'type': '<(component)', |
| 13 'dependencies': [ | 13 'dependencies': [ |
| 14 '<(DEPTH)/base/base.gyp:base', | 14 '<(DEPTH)/base/base.gyp:base', |
| 15 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', | |
| 16 ], | |
| 17 'defines': [ | |
| 18 'DISPLAY_IMPLEMENTATION', | |
| 15 ], | 19 ], |
| 16 'sources': [ | 20 'sources': [ |
| 21 'chromeos/display_mode.cc', | |
| 22 'chromeos/display_mode.h', | |
| 23 'chromeos/display_snapshot.cc', | |
| 24 'chromeos/display_snapshot.h', | |
| 25 'chromeos/display_util.cc', | |
| 26 'chromeos/display_util.h', | |
| 27 'chromeos/native_display_delegate.h', | |
| 28 'chromeos/native_display_observer.h', | |
| 29 'chromeos/x11/display_mode_x11.cc', | |
| 30 'chromeos/x11/display_mode_x11.h', | |
| 31 'chromeos/x11/display_snapshot_x11.cc', | |
| 32 'chromeos/x11/display_snapshot_x11.h', | |
| 33 'chromeos/x11/native_display_delegate_x11.cc', | |
| 34 'chromeos/x11/native_display_delegate_x11.h', | |
| 35 'chromeos/x11/native_display_event_dispatcher_x11.cc', | |
| 36 'chromeos/x11/native_display_event_dispatcher_x11.h', | |
| 17 'display_constants.h', | 37 'display_constants.h', |
| 38 'display_export.h', | |
| 39 ], | |
| 40 'conditions': [ | |
| 41 ['use_x11 == 1', { | |
| 42 'dependencies': [ | |
| 43 '<(DEPTH)/build/linux/system.gyp:x11', | |
| 44 '<(DEPTH)/build/linux/system.gyp:xrandr', | |
| 45 ], | |
| 46 }], | |
| 47 ], | |
| 48 }, | |
| 49 { | |
| 50 'target_name': 'display_test_util', | |
| 51 'type': '<(component)', | |
| 52 'dependencies': [ | |
| 53 '<(DEPTH)/base/base.gyp:base', | |
| 54 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', | |
| 55 'display', | |
| 56 ], | |
| 57 'defines': [ | |
| 58 'DISPLAY_IMPLEMENTATION', | |
| 59 ], | |
| 60 'sources': [ | |
| 61 'chromeos/test/test_display_snapshot.cc', | |
| 62 'chromeos/test/test_display_snapshot.h', | |
| 63 ], | |
| 64 }, | |
| 65 { | |
| 66 'target_name': 'display_unittests', | |
|
dnicoara
2014/03/05 19:52:46
I'm wondering if this needs to be added to a list
Daniel Erat
2014/03/06 00:55:04
i don't know anything about this, but maybe build/
sadrul
2014/03/06 01:00:31
build/all.gyp can be useful to make sure that this
| |
| 67 'type': 'executable', | |
| 68 'dependencies': [ | |
| 69 '<(DEPTH)/base/base.gyp:run_all_unittests', | |
| 70 '<(DEPTH)/base/base.gyp:test_support_base', | |
| 71 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 72 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', | |
| 73 'display', | |
| 74 ], | |
| 75 'sources': [ | |
| 76 'chromeos/x11/native_display_event_dispatcher_x11_unittest.cc', | |
| 18 ], | 77 ], |
| 19 }, | 78 }, |
| 20 ], | 79 ], |
| 21 } | 80 } |
| OLD | NEW |