Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Unified Diff: ui/display/display.gyp

Issue 187073002: Refactoring display configuration state to allow generic state objects (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ordering Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/display/display.gyp
diff --git a/ui/display/display.gyp b/ui/display/display.gyp
index 4d32fcfda3b06f53c316d445c43340c4f4a394fa..c970965c7448764c54eaeb41a6428f15dff98edd 100644
--- a/ui/display/display.gyp
+++ b/ui/display/display.gyp
@@ -12,9 +12,68 @@
'type': '<(component)',
'dependencies': [
'<(DEPTH)/base/base.gyp:base',
+ '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
+ ],
+ 'defines': [
+ 'DISPLAY_IMPLEMENTATION',
],
'sources': [
+ 'chromeos/display_mode.cc',
+ 'chromeos/display_mode.h',
+ 'chromeos/display_snapshot.cc',
+ 'chromeos/display_snapshot.h',
+ 'chromeos/display_util.cc',
+ 'chromeos/display_util.h',
+ 'chromeos/native_display_delegate.h',
+ 'chromeos/native_display_observer.h',
+ 'chromeos/x11/display_mode_x11.cc',
+ 'chromeos/x11/display_mode_x11.h',
+ 'chromeos/x11/display_snapshot_x11.cc',
+ 'chromeos/x11/display_snapshot_x11.h',
+ 'chromeos/x11/native_display_delegate_x11.cc',
+ 'chromeos/x11/native_display_delegate_x11.h',
+ 'chromeos/x11/native_display_event_dispatcher_x11.cc',
+ 'chromeos/x11/native_display_event_dispatcher_x11.h',
'display_constants.h',
+ 'display_export.h',
+ ],
+ 'conditions': [
+ ['use_x11 == 1', {
+ 'dependencies': [
+ '<(DEPTH)/build/linux/system.gyp:x11',
+ '<(DEPTH)/build/linux/system.gyp:xrandr',
+ ],
+ }],
+ ],
+ },
+ {
+ 'target_name': 'display_test_util',
+ 'type': '<(component)',
+ 'dependencies': [
+ '<(DEPTH)/base/base.gyp:base',
+ '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
+ 'display',
+ ],
+ 'defines': [
+ 'DISPLAY_IMPLEMENTATION',
+ ],
+ 'sources': [
+ 'chromeos/test/test_display_snapshot.cc',
+ 'chromeos/test/test_display_snapshot.h',
+ ],
+ },
+ {
+ '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
+ 'type': 'executable',
+ 'dependencies': [
+ '<(DEPTH)/base/base.gyp:run_all_unittests',
+ '<(DEPTH)/base/base.gyp:test_support_base',
+ '<(DEPTH)/testing/gtest.gyp:gtest',
+ '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
+ 'display',
+ ],
+ 'sources': [
+ 'chromeos/x11/native_display_event_dispatcher_x11_unittest.cc',
],
},
],
« no previous file with comments | « ui/display/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc ('k') | ui/display/display_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698