Move example out of sky/packages to //examples
17
examples/BUILD.gn
Normal file
@ -0,0 +1,17 @@
|
||||
# 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.
|
||||
|
||||
group("examples") {
|
||||
testonly = true
|
||||
|
||||
deps = [
|
||||
"//examples/demo_launcher",
|
||||
"//examples/fitness",
|
||||
"//examples/game",
|
||||
"//examples/mine_digger",
|
||||
"//examples/rendering",
|
||||
"//examples/stocks",
|
||||
"//examples/widgets",
|
||||
]
|
||||
}
|
28
examples/demo_launcher/BUILD.gn
Normal file
@ -0,0 +1,28 @@
|
||||
# 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("//sky/build/sky_app.gni")
|
||||
|
||||
sky_app("demo_launcher") {
|
||||
main_dart = "lib/main.dart"
|
||||
manifest = "sky.yaml"
|
||||
|
||||
if (is_android) {
|
||||
apk_name = "SkyDemo"
|
||||
|
||||
bundles = [
|
||||
"//examples/fitness",
|
||||
"//examples/game",
|
||||
"//examples/mine_digger",
|
||||
"//examples/rendering:interactive_flex",
|
||||
"//examples/stocks",
|
||||
"//examples/widgets:cards",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"//examples/demo_launcher/apk:java",
|
||||
"//examples/demo_launcher/apk:resources",
|
||||
]
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 9.3 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 280 KiB After Width: | Height: | Size: 280 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 56 KiB |
@ -4,6 +4,6 @@ dependencies:
|
||||
sky_tools: any
|
||||
dependency_overrides:
|
||||
material_design_icons:
|
||||
path: ../../../material_design_icons
|
||||
path: ../../sky/packages/material_design_icons
|
||||
sky:
|
||||
path: ../../../sky
|
||||
path: ../../sky/packages/sky
|
@ -12,7 +12,7 @@ sky_app("fitness") {
|
||||
apk_name = "Fitness"
|
||||
|
||||
deps = [
|
||||
"//sky/packages/sky/example/fitness/apk:resources",
|
||||
"//examples/fitness/apk:resources",
|
||||
]
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 7.9 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
@ -12,7 +12,7 @@ sky_app("game") {
|
||||
apk_name = "Asteroids"
|
||||
|
||||
deps = [
|
||||
"//sky/packages/sky/example/game/apk:resources",
|
||||
"//examples/game/apk:resources",
|
||||
]
|
||||
} else if (is_ios) {
|
||||
info_plist = "ios/Info.plist"
|
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 7.0 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 166 KiB After Width: | Height: | Size: 166 KiB |
Before Width: | Height: | Size: 859 KiB After Width: | Height: | Size: 859 KiB |
Before Width: | Height: | Size: 523 KiB After Width: | Height: | Size: 523 KiB |
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB |