Merge pull request #1838 from HansMuller/goodbye_curly
Bump the flutter_gallery_assets version, rename example apk dirs to android, remove BUILD.gn files
@@ -1,14 +0,0 @@
|
||||
# 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/fitness",
|
||||
"//examples/game",
|
||||
"//examples/mine_digger",
|
||||
"//examples/stocks",
|
||||
]
|
||||
}
|
||||
@@ -1,40 +0,0 @@
|
||||
# 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("fitness") {
|
||||
main_dart = "lib/main.dart"
|
||||
manifest = "flutter.yaml"
|
||||
|
||||
if (is_android) {
|
||||
import("//build/config/android/config.gni")
|
||||
import("//build/config/android/rules.gni")
|
||||
|
||||
apk_name = "Fitness"
|
||||
|
||||
android_library("java") {
|
||||
java_files = [
|
||||
"apk/src/org/domokit/fitness/FitnessApplication.java",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"//base:base_java",
|
||||
"//mojo/public/java:bindings",
|
||||
"//mojo/public/java:system",
|
||||
"//sky/services/gcm:gcm_lib",
|
||||
"//sky/services/gcm:interfaces_java",
|
||||
"//sky/shell:java",
|
||||
]
|
||||
}
|
||||
|
||||
deps = [
|
||||
"//examples/fitness/apk:resources",
|
||||
":java",
|
||||
]
|
||||
} else if (is_mac) {
|
||||
info_plist = "mac/Info.plist"
|
||||
xibs = [ "mac/sky_mac.xib" ]
|
||||
}
|
||||
}
|
||||
|
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 |
@@ -1,14 +0,0 @@
|
||||
# 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.
|
||||
|
||||
assert(is_android)
|
||||
|
||||
import("//build/config/android/config.gni")
|
||||
import("//build/config/android/rules.gni")
|
||||
|
||||
|
||||
android_resources("resources") {
|
||||
resource_dirs = [ "res" ]
|
||||
android_manifest = "AndroidManifest.xml"
|
||||
}
|
||||
@@ -6,4 +6,4 @@ dependencies:
|
||||
path: ../../packages/flutter
|
||||
flutter_sprites:
|
||||
path: ../../packages/flutter_sprites
|
||||
flutter_gallery_assets: '0.0.6'
|
||||
flutter_gallery_assets: '0.0.7'
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
# 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("mine_digger") {
|
||||
main_dart = "lib/main.dart"
|
||||
|
||||
if (is_android) {
|
||||
apk_name = "MineDigger"
|
||||
}
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
# 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("stocks") {
|
||||
main_dart = "lib/main.dart"
|
||||
manifest = "flutter.yaml"
|
||||
|
||||
if (is_android) {
|
||||
apk_name = "Stocks"
|
||||
} else if (is_ios) {
|
||||
info_plist = "ios/Info.plist"
|
||||
launcher_resources = [
|
||||
"ios/LaunchScreen.storyboardc",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 8.7 KiB After Width: | Height: | Size: 8.7 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
@@ -1,32 +0,0 @@
|
||||
# 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.
|
||||
|
||||
action("updater") {
|
||||
snapshot = "$target_gen_dir/updater_snapshot.bin"
|
||||
main_dart = "lib/main.dart"
|
||||
|
||||
inputs = [
|
||||
main_dart,
|
||||
]
|
||||
outputs = [
|
||||
snapshot,
|
||||
]
|
||||
|
||||
sky_snapshot_dir =
|
||||
get_label_info("//sky/tools/sky_snapshot($host_toolchain)", "root_out_dir")
|
||||
script = "//sky/tools/run_sky_snapshot.py"
|
||||
|
||||
args = [
|
||||
"--compiler", rebase_path("$sky_snapshot_dir/sky_snapshot", root_build_dir),
|
||||
"--package-root", rebase_path("packages", root_build_dir),
|
||||
"--snapshot", rebase_path(snapshot, root_build_dir),
|
||||
"--main", rebase_path(main_dart, root_build_dir),
|
||||
]
|
||||
|
||||
deps = [
|
||||
"//sky/services/activity:interfaces",
|
||||
"//sky/services/updater:interfaces",
|
||||
"//sky/tools/sky_snapshot($host_toolchain)",
|
||||
]
|
||||
}
|
||||