| 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 'internal_ozone_platform_deps': [ | 7 'internal_ozone_platform_deps': [ |
| 8 'ozone_platform_gbm', | 8 'ozone_platform_gbm', |
| 9 ], | 9 ], |
| 10 'internal_ozone_platforms': [ | 10 'internal_ozone_platforms': [ |
| 11 'gbm', | 11 'gbm', |
| 12 ], | 12 ], |
| 13 'use_mesa_platform_null%': 0, | 13 'use_mesa_platform_null%': 0, |
| 14 |
| 15 # TODO(dshwang): remove this flag when all gbm hardware supports vgem map. |
| 16 # crbug.com/519587 |
| 17 'use_vgem_map%': 0, |
| 14 }, | 18 }, |
| 15 'targets': [ | 19 'targets': [ |
| 16 { | 20 { |
| 17 'target_name': 'ozone_platform_gbm', | 21 'target_name': 'ozone_platform_gbm', |
| 18 'type': 'static_library', | 22 'type': 'static_library', |
| 19 'dependencies': [ | 23 'dependencies': [ |
| 20 '../../base/base.gyp:base', | 24 '../../base/base.gyp:base', |
| 21 '../../build/linux/system.gyp:libdrm', | 25 '../../build/linux/system.gyp:libdrm', |
| 22 '../../build/linux/system.gyp:gbm', | 26 '../../build/linux/system.gyp:gbm', |
| 23 '../../skia/skia.gyp:skia', | 27 '../../skia/skia.gyp:skia', |
| (...skipping 23 matching lines...) Expand all Loading... |
| 47 'gpu/gbm_surface_factory.h', | 51 'gpu/gbm_surface_factory.h', |
| 48 'gpu/gbm_surfaceless.cc', | 52 'gpu/gbm_surfaceless.cc', |
| 49 'gpu/gbm_surfaceless.h', | 53 'gpu/gbm_surfaceless.h', |
| 50 'ozone_platform_gbm.cc', | 54 'ozone_platform_gbm.cc', |
| 51 'ozone_platform_gbm.h', | 55 'ozone_platform_gbm.h', |
| 52 ], | 56 ], |
| 53 'conditions': [ | 57 'conditions': [ |
| 54 ['use_mesa_platform_null==1', { | 58 ['use_mesa_platform_null==1', { |
| 55 'defines': ['USE_MESA_PLATFORM_NULL'], | 59 'defines': ['USE_MESA_PLATFORM_NULL'], |
| 56 }], | 60 }], |
| 61 ['use_vgem_map==1', { |
| 62 'defines': ['USE_VGEM_MAP'], |
| 63 'sources': [ |
| 64 'gpu/client_native_pixmap_vgem.cc', |
| 65 'gpu/client_native_pixmap_vgem.h', |
| 66 ], |
| 67 }], |
| 57 ], | 68 ], |
| 58 }, | 69 }, |
| 59 ], | 70 ], |
| 60 } | 71 } |
| OLD | NEW |