Commit c9a17848 authored by sadrul@chromium.org's avatar sadrul@chromium.org

ozone: Create a separate small gfx_ozone target.

Instead of bundling up the ozone stuff into the larger gfx.gyp:gfx target,
split up the ozone-related code into a smaller gfx_ozone target with a
small dependency (base, skia). This allows ozone-platforms to implement
the ozone interface without bringing along the rest of gfx.

BUG=361137
R=rjkroege@chromium.org, sky@chromium.org

Review URL: https://codereview.chromium.org/271303002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269570 0039d316-1c4b-4281-b951-d872f2087c98
parent 06181e51
......@@ -203,14 +203,6 @@
'nine_image_painter.cc',
'nine_image_painter.h',
'overlay_transform.h',
'ozone/impl/file_surface_factory.cc',
'ozone/impl/file_surface_factory.h',
'ozone/surface_factory_ozone.cc',
'ozone/surface_factory_ozone.h',
'ozone/surface_ozone_egl.h',
'ozone/surface_ozone_canvas.h',
'ozone/overlay_candidates_ozone.cc',
'ozone/overlay_candidates_ozone.h',
'pango_util.cc',
'pango_util.h',
'path.cc',
......
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'chromium_code': 1,
},
'targets': [{
'target_name': 'gfx_ozone',
'type': '<(component)',
'defines': [
'GFX_IMPLEMENTATION',
],
'dependencies': [
'../../../base/base.gyp:base',
'../../../skia/skia.gyp:skia',
'../gfx.gyp:gfx_geometry',
],
'sources': [
'impl/file_surface_factory.cc',
'impl/file_surface_factory.h',
'surface_factory_ozone.cc',
'surface_factory_ozone.h',
'surface_ozone_egl.h',
'surface_ozone_canvas.h',
'overlay_candidates_ozone.cc',
'overlay_candidates_ozone.h',
],
}],
}
......@@ -20,6 +20,7 @@
'<(DEPTH)/ui/events/events.gyp:events',
'<(DEPTH)/ui/gfx/gfx.gyp:gfx',
'<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
'<(DEPTH)/ui/gfx/ozone/gfx_ozone.gyp:gfx_ozone',
'<(DEPTH)/skia/skia.gyp:skia',
'<@(external_ozone_platform_deps)',
'<@(internal_ozone_platform_deps)',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment