BUILD.gn 4.8 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
# Copyright 2015 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/dart/rules.gni")

dart_pkg("sdk") {
  sources = [
    "CHANGELOG.md",
    "bin/init.dart",
11 12 13 14 15 16
    "lib/animation/animated_value.dart",
    "lib/animation/curves.dart",
    "lib/animation/fling_curve.dart",
    "lib/animation/generators.dart",
    "lib/animation/mechanics.dart",
    "lib/animation/scroll_behavior.dart",
17 18
    "lib/assets/.gitignore",
    "lib/assets/material-design-icons.sha1",
19 20 21 22
    "lib/base/debug.dart",
    "lib/base/hit_test.dart",
    "lib/base/node.dart",
    "lib/base/scheduler.dart",
23
    "lib/download_material_design_icons",
24 25 26 27
    "lib/editing/editable_string.dart",
    "lib/editing/editable_text.dart",
    "lib/editing/input.dart",
    "lib/editing/keyboard.dart",
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
    "lib/framework/animation/animated_value.dart",
    "lib/framework/animation/curves.dart",
    "lib/framework/animation/fling_curve.dart",
    "lib/framework/animation/generators.dart",
    "lib/framework/animation/mechanics.dart",
    "lib/framework/animation/scroll_behavior.dart",
    "lib/framework/components/animated_component.dart",
    "lib/framework/components/button.dart",
    "lib/framework/components/button_base.dart",
    "lib/framework/components/checkbox.dart",
    "lib/framework/components/drawer.dart",
    "lib/framework/components/drawer_header.dart",
    "lib/framework/components/fixed_height_scrollable.dart",
    "lib/framework/components/floating_action_button.dart",
    "lib/framework/components/icon.dart",
    "lib/framework/components/icon_button.dart",
    "lib/framework/components/ink_splash.dart",
    "lib/framework/components/ink_well.dart",
    "lib/framework/components/input.dart",
    "lib/framework/components/material.dart",
    "lib/framework/components/menu_divider.dart",
    "lib/framework/components/menu_item.dart",
    "lib/framework/components/modal_overlay.dart",
    "lib/framework/components/popup_menu.dart",
    "lib/framework/components/popup_menu_item.dart",
    "lib/framework/components/radio.dart",
    "lib/framework/components/scaffold.dart",
    "lib/framework/components/scrollable.dart",
H
Hixie 已提交
56
    "lib/framework/components/tool_bar.dart",
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
    "lib/framework/debug/shake-to-reload.sky",
    "lib/framework/debug/tracing.dart",
    "lib/framework/editing/editable_string.dart",
    "lib/framework/editing/editable_text.dart",
    "lib/framework/editing/keyboard.dart",
    "lib/framework/embedder.dart",
    "lib/framework/fn.dart",
    "lib/framework/layout.dart",
    "lib/framework/net/fetch.dart",
    "lib/framework/node.dart",
    "lib/framework/reflect.dart",
    "lib/framework/shell.dart",
    "lib/framework/theme/colors.dart",
    "lib/framework/theme/shadows.dart",
    "lib/framework/theme/typography.dart",
    "lib/framework/theme/view_configuration.dart",
A
Adam Barth 已提交
73
    "lib/internals.dart",
74 75 76 77
    "lib/mojo/embedder.dart",
    "lib/mojo/net/fetch.dart",
    "lib/mojo/net/image_cache.dart",
    "lib/mojo/shell.dart",
A
Adam Barth 已提交
78 79
    "lib/painting/box_painter.dart",
    "lib/painting/shadows.dart",
80
    "lib/painting/text_style.dart",
A
Adam Barth 已提交
81 82 83 84 85
    "lib/rendering/block.dart",
    "lib/rendering/box.dart",
    "lib/rendering/flex.dart",
    "lib/rendering/object.dart",
    "lib/rendering/paragraph.dart",
H
Hixie 已提交
86
    "lib/rendering/sky_binding.dart",
A
Adam Barth 已提交
87
    "lib/rendering/stack.dart",
88
    "lib/sky_tool",
89 90 91 92 93
    "lib/theme/colors.dart",
    "lib/theme/edges.dart",
    "lib/theme/shadows.dart",
    "lib/theme/typography.dart",
    "lib/theme/view_configuration.dart",
A
Adam Barth 已提交
94 95 96 97
    "lib/widgets/animated_component.dart",
    "lib/widgets/basic.dart",
    "lib/widgets/button_base.dart",
    "lib/widgets/checkbox.dart",
A
Adam Barth 已提交
98
    "lib/widgets/dialog.dart",
A
Adam Barth 已提交
99 100 101
    "lib/widgets/drawer.dart",
    "lib/widgets/drawer_header.dart",
    "lib/widgets/fixed_height_scrollable.dart",
A
Adam Barth 已提交
102
    "lib/widgets/flat_button.dart",
A
Adam Barth 已提交
103 104 105 106 107
    "lib/widgets/floating_action_button.dart",
    "lib/widgets/icon.dart",
    "lib/widgets/icon_button.dart",
    "lib/widgets/ink_well.dart",
    "lib/widgets/material.dart",
A
Adam Barth 已提交
108
    "lib/widgets/material_button.dart",
A
Adam Barth 已提交
109 110 111
    "lib/widgets/menu_divider.dart",
    "lib/widgets/menu_item.dart",
    "lib/widgets/modal_overlay.dart",
112
    "lib/widgets/navigator.dart",
A
Adam Barth 已提交
113 114 115 116 117 118
    "lib/widgets/popup_menu.dart",
    "lib/widgets/popup_menu_item.dart",
    "lib/widgets/radio.dart",
    "lib/widgets/raised_button.dart",
    "lib/widgets/scaffold.dart",
    "lib/widgets/scrollable.dart",
119 120
    "lib/widgets/switch.dart",
    "lib/widgets/toggleable.dart",
A
Adam Barth 已提交
121
    "lib/widgets/tool_bar.dart",
122
    "lib/widgets/widget.dart",
123 124 125
    "pubspec.yaml",
  ]

126
  # List of mojom targets that the sky pkg exports
127
  deps = [
128
    "//sky/services/viewport",
129
  ]
130

131
  datadeps = [
132
    "//sky/services/testing:bindings",
133 134 135
    "//sky/engine/bindings",
  ]

136
  sdk_ext_directory = "$root_gen_dir/sky/bindings"
137
}