Index: ui/ozone/ozone.gyp |
diff --git a/ui/ozone/ozone.gyp b/ui/ozone/ozone.gyp |
index 99de5b41583fc84f21d1e0efc212bbfd00a24d93..0dfb9c75c2a1a5298e7809004bb88508064b947b 100644 |
--- a/ui/ozone/ozone.gyp |
+++ b/ui/ozone/ozone.gyp |
@@ -32,6 +32,11 @@ |
}, |
'sources': [ |
'<(platform_list_file)', |
+ # common/chromeos files are excluded automatically when building with |
+ # chromeos=0, by exclusion rules in filename_rules.gypi due to the |
+ # 'chromeos' folder name. |
+ 'common/chromeos/native_display_delegate_ozone.cc', |
+ 'common/chromeos/native_display_delegate_ozone.h', |
'ozone_platform.cc', |
'ozone_platform.h', |
'ozone_switches.cc', |
@@ -92,6 +97,11 @@ |
['exclude', '^platform/test/'], |
] |
}], |
+ ['chromeos==1', { |
+ 'dependencies': [ |
+ '<(DEPTH)/ui/display/display.gyp:display_types', |
+ ], |
+ }], |
] |
}, |
], |