Index: ui/ozone/ozone.gyp |
diff --git a/ui/ozone/ozone.gyp b/ui/ozone/ozone.gyp |
index 096735843e2bb22fd097f3031521a48d8dad38e1..11936e85059d64c8f253e4a574267f2342c7b720 100644 |
--- a/ui/ozone/ozone.gyp |
+++ b/ui/ozone/ozone.gyp |
@@ -38,6 +38,8 @@ |
'ozone_switches.h', |
'platform/dri/ozone_platform_dri.cc', |
'platform/dri/ozone_platform_dri.h', |
+ 'platform/gbm/ozone_platform_gbm.cc', |
+ 'platform/gbm/ozone_platform_gbm.h', |
'platform/test/ozone_platform_test.cc', |
'platform/test/ozone_platform_test.h', |
'<@(external_ozone_platform_files)', |
@@ -78,6 +80,17 @@ |
['exclude', '^platform/dri/'], |
] |
}], |
+ ['<(ozone_platform_gbm)==1', { |
+ 'variables': { |
+ 'ozone_platforms': [ |
+ 'gbm' |
+ ] |
+ } |
+ }, { # ozone_platform_gbm==0 |
+ 'sources/': [ |
+ ['exclude', '^platform/gbm/'], |
+ ] |
+ }], |
['<(ozone_platform_test)==1', { |
'variables': { |
'ozone_platforms': [ |