Commit d44ed7df authored by Ian Fischer's avatar Ian Fischer

Move example out of sky/packages to //examples

parent 19fa9ae2
# 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",
]
}
......@@ -12,17 +12,17 @@ sky_app("demo_launcher") {
apk_name = "SkyDemo"
bundles = [
"//sky/packages/sky/example/fitness",
"//sky/packages/sky/example/game",
"//sky/packages/sky/example/mine_digger",
"//sky/packages/sky/example/rendering:interactive_flex",
"//sky/packages/sky/example/stocks",
"//sky/packages/sky/example/widgets:cards",
"//examples/fitness",
"//examples/game",
"//examples/mine_digger",
"//examples/rendering:interactive_flex",
"//examples/stocks",
"//examples/widgets:cards",
]
deps = [
"//sky/packages/sky/example/demo_launcher/apk:java",
"//sky/packages/sky/example/demo_launcher/apk:resources",
"//examples/demo_launcher/apk:java",
"//examples/demo_launcher/apk:resources",
]
}
}
......@@ -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",
]
}
}
......@@ -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"
......
......@@ -55,7 +55,7 @@ const _kChunkCount = 30;
String _urlToFetch(int chunk) {
if (rootBundle == null)
return '../data/stock_data_${chunk}.json';
return 'https://domokit.github.io/example/stocks/data/stock_data_${chunk}.json';
return 'https://domokit.github.io/examples/stocks/data/stock_data_${chunk}.json';
}
class StockDataFetcher {
......
......@@ -98,6 +98,6 @@ Building a standalone APK
Although it is possible to build a standalone APK containing your application,
doing so right now is difficult. If you're feeling brave, you can see how we
build the `Stocks.apk` in
[example/stocks](https://github.com/domokit/sky_engine/tree/master/sky/packages/sky/example/stocks).
[examples/stocks](https://github.com/domokit/sky_engine/tree/master/examples/stocks).
Eventually we plan to make this much easier and support platforms other than
Android, but that work still in progress.
# 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("example") {
testonly = true
deps = [
"//sky/packages/sky/example/demo_launcher",
"//sky/packages/sky/example/fitness",
"//sky/packages/sky/example/game",
"//sky/packages/sky/example/mine_digger",
"//sky/packages/sky/example/rendering",
"//sky/packages/sky/example/stocks",
"//sky/packages/sky/example/widgets",
]
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment