To get the code:
.gclient file in an empty directory with the following contents:solutions = [
{
"managed": False,
"name": "src",
"url": "git@github.com:<your_name_here>/sky_engine.git",
"custom_deps": {},
"deps_file": "DEPS",
"safesync_url": "",
},
]
target_os = ["android"]
svn ls https://dart.googlecode.com/ and accept the certificate permanently.gclient synccd srcgit remote add upstream git@github.com:domokit/sky_engine.gitCurrently we support building for an Android target and for a headless Linux target.
./build/install-build-deps-android.sh./tools/android/download_android_tools.py./sky/tools/gn --androidninja -C out/android_Debug./sky/tools/shelldb start out/android_Debug/ sky/sdk/example/hello_world/lib/main.dart./build/install-build-deps.sh./sky/tools/gnninja -C out/Debug./out/Debug/sky_shell --package-root=out/Debug/gen/dart-pkg/packages sky/sdk/example/hello_world/lib/main.dart Note: Because Linux is headless, you won't see any UI. You can use print to generate console output or you can interact with the DartVM via observatory at http://localhost:8181/.The Sky engine repository gladly accepts contributions via GitHub pull requests:
git fetch upstreamgit checkout upstream/master -b name_of_your_branchgit commit -agit push origin name_of_your_branchgit pull-request (if you are using Hub) or go to https://github.com/<your_name_here>/sky_engine and click the “Compare & pull request” buttonYou must complete the Contributor License Agreement. You can do this online, and it only takes a minute. If you‘ve never submitted code before, you must add your (or your organization’s) name and contact info to the AUTHORS file.
Tests are only supported on Linux currently.
sky/tools/test_sky --debug//out/Debug. If you want to run against //out/Release, omit the --debug flag.