From 2a1763987847d18ff49a2c17a02aafc977fc85ae Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Tue, 9 Aug 2016 14:14:10 -0700 Subject: [PATCH] Update CONTRIBUTING.md to account for buildroot (flutter/engine#2893) --- engine/src/flutter/CONTRIBUTING.md | 22 +++++++++---------- engine/src/flutter/{sky => }/tools/gn | 2 +- engine/src/flutter/{sky => }/tools/gn_test.py | 0 3 files changed, 12 insertions(+), 12 deletions(-) rename engine/src/flutter/{sky => }/tools/gn (99%) rename engine/src/flutter/{sky => }/tools/gn_test.py (100%) diff --git a/engine/src/flutter/CONTRIBUTING.md b/engine/src/flutter/CONTRIBUTING.md index 82a86edb1e..e49822b71e 100644 --- a/engine/src/flutter/CONTRIBUTING.md +++ b/engine/src/flutter/CONTRIBUTING.md @@ -31,7 +31,7 @@ Getting the code and configuring your environment solutions = [ { "managed": False, - "name": "src", + "name": "src/flutter", "url": "git@github.com:/engine.git", "custom_deps": {}, "deps_file": "DEPS", @@ -74,7 +74,7 @@ dependency_overrides: Run the following steps, from the `src` directory created in the steps above: * `gclient sync` to update your dependencies. - * `./sky/tools/gn --android --unoptimized` to prepare your build files. + * `./flutter/tools/gn --android --unoptimized` to prepare your build files. * `ninja -C out/android_debug_unopt` to actually build the Android binary. This builds a debug-enabled ("unoptimized") binary configured to run Dart in @@ -116,7 +116,7 @@ to test the engine. * Make sure you have Xcode 7.3.0+ installed. * `gclient sync` to update dependencies. -* `./sky/tools/gn --ios --unoptimized` to prepare build files. +* `./flutter/tools/gn --ios --unoptimized` to prepare build files. * For a discussion on the various flags and modes, [read this discussion](https://github.com/flutter/flutter/wiki/Flutter's-modes). * `ninja -C out/ios_debug_unopt` to build iOS artifacts. @@ -131,7 +131,7 @@ Once the artifacts are built, you can start using them in your application by fo ### Desktop (Mac and Linux), for tests * `gclient sync` to update your dependencies. - * `./sky/tools/gn` to prepare your build files. + * `./flutter/tools/gn` to prepare your build files. * `ninja -C out/host_debug_unopt` to build a desktop unoptimized binary. To run the tests, you'll also need to clone [the main Flutter repository](https://github.com/flutter/flutter). @@ -150,13 +150,13 @@ git fetch upstream git rebase upstream/master gclient sync -sky/tools/gn --unoptimized --runtime-mode=debug -sky/tools/gn --android --unoptimized --runtime-mode=debug -sky/tools/gn --android --unoptimized --runtime-mode=profile -sky/tools/gn --android --unoptimized --runtime-mode=release -sky/tools/gn --android --runtime-mode=debug -sky/tools/gn --android --runtime-mode=profile -sky/tools/gn --android --runtime-mode=release +flutter/tools/gn --unoptimized --runtime-mode=debug +flutter/tools/gn --android --unoptimized --runtime-mode=debug +flutter/tools/gn --android --unoptimized --runtime-mode=profile +flutter/tools/gn --android --unoptimized --runtime-mode=release +flutter/tools/gn --android --runtime-mode=debug +flutter/tools/gn --android --runtime-mode=profile +flutter/tools/gn --android --runtime-mode=release cd out ls | xargs -n 1 ninja -C diff --git a/engine/src/flutter/sky/tools/gn b/engine/src/flutter/tools/gn similarity index 99% rename from engine/src/flutter/sky/tools/gn rename to engine/src/flutter/tools/gn index 0ceb0ce52d..42865c510b 100755 --- a/engine/src/flutter/sky/tools/gn +++ b/engine/src/flutter/tools/gn @@ -8,7 +8,7 @@ import subprocess import sys import os -SRC_ROOT = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))) +SRC_ROOT = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) def get_out_dir(args): if args.target_os is not None: diff --git a/engine/src/flutter/sky/tools/gn_test.py b/engine/src/flutter/tools/gn_test.py similarity index 100% rename from engine/src/flutter/sky/tools/gn_test.py rename to engine/src/flutter/tools/gn_test.py