dart-sdk/build/config
Alexander Aprelev f3aaf8a770 [vm/build] Expose is_release/is_profile so they are available in third_party gn scripts.
Follow-up to https://dart-review.googlesource.com/c/sdk/+/98434 as that broke hhh build(https://ci.chromium.org/p/dart/builders/ci.sandbox/flutter-engine-linux/1553).

Requires changes to flutter engine:
```
diff --git a/tools/gn b/tools/gn
index 7dacacf06..83bd7d9da 100755
--- a/tools/gn
+++ b/tools/gn
@@ -134,6 +134,9 @@ def to_gn_args(args):
     else:
         gn_args['dart_runtime_mode'] = runtime_mode

+    gn_args['is_release'] = gn_args['dart_runtime_mode'] == 'profile'
+    gn_args['is_product'] = gn_args['dart_runtime_mode'] == 'release'
+
     if args.dart_debug:
         gn_args['dart_debug'] = True

```

Change-Id: I2cf2473bade0f14cdd94fc9ff18febe313e26b55
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98459
Reviewed-by: Siva Annamalai <asiva@google.com>
2019-04-03 00:55:30 +00:00
..
android [infra] Update Clang toolchain and GN 2018-11-29 15:37:40 +00:00
clang [infra] Use Clang for ia32 and arm64. Use the dl'd sysroots by default. 2017-12-02 06:19:33 +00:00
compiler [build] Enable mitigations for Cortex-A53 Erratum #843419 bug. 2019-01-15 16:50:33 +00:00
gcc [build] Remove absolute paths from object files and vm_platform.dill. 2018-06-28 18:21:27 +00:00
linux [build] Move to Jessie sysroots from Wheezy sysroots. 2018-10-25 15:05:22 +00:00
mac GN: Format more gn files 2016-10-27 04:25:34 -07:00
sanitizers Add a snapshot of flutter/engine/src/build to our sdk 2016-07-01 11:09:28 -07:00
templates GN: Format more gn files 2016-10-27 04:25:34 -07:00
win [vm] Integrate dart binary with Crashpad on Windows. 2018-10-24 13:30:16 +00:00
arm.gni GN: Format more gn files 2016-10-27 04:25:34 -07:00
BUILD.gn Format GN files and add a presubmit check that GN is properly formatted 2016-10-26 08:50:54 -07:00
BUILDCONFIG.gn [vm/build] Expose is_release/is_profile so they are available in third_party gn scripts. 2019-04-03 00:55:30 +00:00
locales.gni Add a snapshot of flutter/engine/src/build to our sdk 2016-07-01 11:09:28 -07:00
OWNERS Add a snapshot of flutter/engine/src/build to our sdk 2016-07-01 11:09:28 -07:00
sysroot.gni [infra] Update Clang toolchain and GN 2018-11-29 15:37:40 +00:00