| # Copyright 2016 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. |
| |
| import("//mojo/public/tools/bindings/mojom.gni") |
| |
| mojom("mojo") { |
| sources = [ |
| "accelerated_widget.mojom", |
| "buffer_types.mojom", |
| "ca_layer_params.mojom", |
| "color_space.mojom", |
| "font_render_params.mojom", |
| "gpu_fence_handle.mojom", |
| "overlay_transform.mojom", |
| "presentation_feedback.mojom", |
| "selection_bound.mojom", |
| "swap_result.mojom", |
| "transform.mojom", |
| ] |
| |
| public_deps = [ |
| "//mojo/public/mojom/base", |
| "//ui/gfx/geometry/mojo", |
| ] |
| |
| if (is_linux || is_chromeos) { |
| enabled_features = [ "supports_native_pixmap" ] |
| } |
| } |
| |
| mojom("test_interfaces") { |
| sources = [ |
| "traits_test_service.mojom", |
| ] |
| |
| public_deps = [ |
| ":mojo", |
| ] |
| } |