BUILD.gn 4.5 KB
Newer Older
1 2 3 4 5 6 7 8 9
# 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",
10
    "README.md",
11
    "bin/init.dart",
A
Adam Barth 已提交
12
    "lib/app/scheduler.dart",
13 14 15
    "lib/assets/.gitignore",
    "lib/assets/material-design-icons.sha1",
    "lib/download_material_design_icons",
A
Adam Barth 已提交
16 17 18 19
    "lib/editing2/editable_string.dart",
    "lib/editing2/editable_text.dart",
    "lib/editing2/input.dart",
    "lib/editing2/keyboard.dart",
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
    "lib/framework/README.md",
    "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 已提交
49
    "lib/framework/components/tool_bar.dart",
50 51
    "lib/framework/debug/shake-to-reload.sky",
    "lib/framework/debug/tracing.dart",
52
    "lib/framework/debug/utils.dart",
53 54 55 56 57 58 59
    "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",
60
    "lib/framework/net/image_cache.dart",
61 62 63 64 65 66 67
    "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 已提交
68
    "lib/internals.dart",
A
Adam Barth 已提交
69 70
    "lib/painting/box_painter.dart",
    "lib/painting/shadows.dart",
71
    "lib/painting/text_style.dart",
A
Adam Barth 已提交
72 73 74 75 76
    "lib/rendering/block.dart",
    "lib/rendering/box.dart",
    "lib/rendering/flex.dart",
    "lib/rendering/object.dart",
    "lib/rendering/paragraph.dart",
H
Hixie 已提交
77
    "lib/rendering/sky_binding.dart",
A
Adam Barth 已提交
78
    "lib/rendering/stack.dart",
79
    "lib/sky_tool",
A
Adam Barth 已提交
80 81 82 83 84 85 86 87 88
    "lib/theme2/colors.dart",
    "lib/theme2/edges.dart",
    "lib/theme2/shadows.dart",
    "lib/theme2/typography.dart",
    "lib/theme2/view_configuration.dart",
    "lib/widgets/animated_component.dart",
    "lib/widgets/basic.dart",
    "lib/widgets/button_base.dart",
    "lib/widgets/checkbox.dart",
A
Adam Barth 已提交
89
    "lib/widgets/dialog.dart",
A
Adam Barth 已提交
90 91 92
    "lib/widgets/drawer.dart",
    "lib/widgets/drawer_header.dart",
    "lib/widgets/fixed_height_scrollable.dart",
A
Adam Barth 已提交
93
    "lib/widgets/flat_button.dart",
A
Adam Barth 已提交
94 95 96 97 98
    "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 已提交
99
    "lib/widgets/material_button.dart",
A
Adam Barth 已提交
100 101 102
    "lib/widgets/menu_divider.dart",
    "lib/widgets/menu_item.dart",
    "lib/widgets/modal_overlay.dart",
103
    "lib/widgets/navigator.dart",
A
Adam Barth 已提交
104 105 106 107 108 109
    "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",
110 111
    "lib/widgets/switch.dart",
    "lib/widgets/toggleable.dart",
A
Adam Barth 已提交
112
    "lib/widgets/tool_bar.dart",
113
    "lib/widgets/widget.dart",
114 115 116
    "pubspec.yaml",
  ]

117
  # List of mojom targets that the sky pkg exports
118
  deps = [
119
    "//sky/services/viewport",
120
  ]
121

122
  datadeps = [
123
    "//sky/services/testing:bindings",
124 125 126
    "//sky/engine/bindings",
  ]

127
  sdk_ext_directory = "$root_gen_dir/sky/bindings"
128
}