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
    "dart_ui.cc",
    "dart_ui.h",
15 16
    "painting/canvas.cc",
    "painting/canvas.h",
17 18
    "painting/gradient.cc",
    "painting/gradient.h",
19 20
    "painting/image.cc",
    "painting/image.h",
21 22
    "painting/image_decoding.cc",
    "painting/image_decoding.h",
23 24 25 26 27 28 29 30
    "painting/image_filter.cc",
    "painting/image_filter.h",
    "painting/image_shader.cc",
    "painting/image_shader.h",
    "painting/mask_filter.cc",
    "painting/mask_filter.h",
    "painting/matrix.cc",
    "painting/matrix.h",
31 32
    "painting/paint.cc",
    "painting/paint.h",
33 34 35 36
    "painting/path.cc",
    "painting/path.h",
    "painting/picture.cc",
    "painting/picture.h",
37 38
    "painting/picture_recorder.cc",
    "painting/picture_recorder.h",
39 40
    "painting/resource_context.cc",
    "painting/resource_context.h",
41 42 43 44
    "painting/rrect.cc",
    "painting/rrect.h",
    "painting/shader.cc",
    "painting/shader.h",
45 46 47 48
    "semantics/semantics_node.cc",
    "semantics/semantics_node.h",
    "semantics/semantics_update.cc",
    "semantics/semantics_update.h",
49 50
    "semantics/semantics_update_builder.cc",
    "semantics/semantics_update_builder.h",
A
Adam Barth 已提交
51 52
    "text/paragraph.cc",
    "text/paragraph.h",
53 54
    "text/paragraph_builder.cc",
    "text/paragraph_builder.h",
A
Adam Barth 已提交
55 56
    "text/text_box.cc",
    "text/text_box.h",
57 58
    "ui_dart_state.cc",
    "ui_dart_state.h",
A
Adam Barth 已提交
59 60 61 62
    "window/platform_message_response_dart.cc",
    "window/platform_message_response_dart.h",
    "window/platform_message_response.cc",
    "window/platform_message_response.h",
63 64
    "window/platform_message.cc",
    "window/platform_message.h",
65 66
    "window/pointer_data.cc",
    "window/pointer_data.h",
67 68
    "window/pointer_data_packet.cc",
    "window/pointer_data_packet.h",
69 70
    "window/window.cc",
    "window/window.h",
71 72 73
  ]

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

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