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

Unified Diff: ui/platform_window/platform_window.gyp

Issue 403263002: platform-window: Add a PlatformWindowFactory for creating windows. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 5 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
« no previous file with comments | « ui/platform_window/platform_window.h ('k') | ui/platform_window/platform_window_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/platform_window/platform_window.gyp
diff --git a/ui/platform_window/platform_window.gyp b/ui/platform_window/platform_window.gyp
index 15162bfdf4560a18f3dbdfb9bdbd130bf42273e0..8c1c26bd270bc6ebd32f8670099f1956fbfbdf40 100644
--- a/ui/platform_window/platform_window.gyp
+++ b/ui/platform_window/platform_window.gyp
@@ -7,13 +7,39 @@
'chromium_code': 1,
},
'targets': [{
+ 'target_name': 'platform_window_types',
+ 'type': '<(component)',
+ 'sources': [
+ 'types/platform_window.h',
+ 'types/platform_window_delegate.h',
+ ],
+ }, {
'target_name': 'platform_window',
'type': '<(component)',
+ 'dependencies': [
+ '../../base/base.gyp:base',
+ '../events/platform/events_platform.gyp:events_platform',
+ 'platform_window_types',
+ ],
'defines': [ 'PLATFORM_WINDOW_IMPLEMENTATION' ],
'sources': [
- 'platform_window.h',
- 'platform_window_delegate.h',
'platform_window_export.h',
+ 'platform_window_factory.cc',
+ 'platform_window_factory.h',
+ ],
+ 'conditions': [
+ ['OS=="win"', {
+ 'dependencies': [
+ '../gfx/gfx.gyp:gfx',
+ 'win/win_window.gyp:win_window',
+ ],
+ }],
+ ['use_x11==1', {
+ 'dependencies': [ 'x11/x11_window.gyp:x11_window', ],
+ }],
+ ['use_ozone==1', {
+ 'dependencies': [ '../ozone/ozone.gyp:ozone', ],
+ }],
],
}],
}
« no previous file with comments | « ui/platform_window/platform_window.h ('k') | ui/platform_window/platform_window_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698