BUILD.gn 2.5 KB
Newer Older
1 2 3 4 5 6
# 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.

source_set("ui") {
  sources = [
7 8 9 10
    "compositing/scene_builder.cc",
    "compositing/scene_builder.h",
    "compositing/scene.cc",
    "compositing/scene.h",
11 12
    "dart_runtime_hooks.cc",
    "dart_runtime_hooks.h",
13 14 15 16
    "dart_ui.cc",
    "dart_ui.h",
    "mojo_services.cc",
    "mojo_services.h",
17 18
    "painting/canvas.cc",
    "painting/canvas.h",
19 20
    "painting/gradient.cc",
    "painting/gradient.h",
21 22
    "painting/image_decoding.cc",
    "painting/image_decoding.h",
23 24 25 26
    "painting/image_filter.cc",
    "painting/image_filter.h",
    "painting/image_shader.cc",
    "painting/image_shader.h",
27 28
    "painting/image.cc",
    "painting/image.h",
29 30 31 32
    "painting/mask_filter.cc",
    "painting/mask_filter.h",
    "painting/matrix.cc",
    "painting/matrix.h",
33 34
    "painting/paint.cc",
    "painting/paint.h",
35 36
    "painting/path.cc",
    "painting/path.h",
37 38
    "painting/picture_recorder.cc",
    "painting/picture_recorder.h",
39 40
    "painting/picture.cc",
    "painting/picture.h",
41 42
    "painting/resource_context.cc",
    "painting/resource_context.h",
43 44 45 46
    "painting/rrect.cc",
    "painting/rrect.h",
    "painting/shader.cc",
    "painting/shader.h",
47 48 49 50 51 52
    "semantics/semantics_node.cc",
    "semantics/semantics_node.h",
    "semantics/semantics_update_builder.cc",
    "semantics/semantics_update_builder.h",
    "semantics/semantics_update.cc",
    "semantics/semantics_update.h",
A
Adam Barth 已提交
53 54 55 56 57 58
    "text/paragraph_builder.cc",
    "text/paragraph_builder.h",
    "text/paragraph.cc",
    "text/paragraph.h",
    "text/text_box.cc",
    "text/text_box.h",
59 60
    "ui_dart_state.cc",
    "ui_dart_state.h",
61 62 63 64
    "window/pointer_data_packet.cc",
    "window/pointer_data_packet.h",
    "window/pointer_data.cc",
    "window/pointer_data.h",
65 66
    "window/window.cc",
    "window/window.h",
67 68 69
  ]

  deps = [
70
    "//dart/runtime/bin:embedded_dart_io",
71
    "//flutter/common",
72 73
    "//flutter/flow",
    "//flutter/glue",
74
    "//flutter/services/engine:interfaces",
75
    "//flutter/skia",
A
Adam Barth 已提交
76
    "//flutter/sky/engine",
77
    "//lib/tonic",
78
    "//lib/tonic/mojo",
79 80 81 82
    "//mojo/public/cpp/application",
    "//mojo/public/cpp/bindings",
    "//mojo/public/interfaces/application",
    "//mojo/services/asset_bundle/interfaces",
83
  ]
84 85 86 87 88 89 90

  if (is_android) {
    deps += [
      # TODO(abarth): In principle, these libraries should be fully independent.
      "//flutter/lib/jni",
    ]
  }
91
}