summaryrefslogtreecommitdiffstats
path: root/BUILD.gn
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-26 21:23:09 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-26 21:23:09 +0000
commitf0e7ff8828288b0471695f75b1e9244d93534827 (patch)
tree1e4248ec713e5d26d63ccfdacb0d979659a13d1d /BUILD.gn
parent53d2701d3876dcef3b75d62dd06cf0cb7854f310 (diff)
downloadchromium_src-f0e7ff8828288b0471695f75b1e9244d93534827.zip
chromium_src-f0e7ff8828288b0471695f75b1e9244d93534827.tar.gz
chromium_src-f0e7ff8828288b0471695f75b1e9244d93534827.tar.bz2
Move root GN build file, add files for the GN tutorial
This moves the root GN build file to the source root so it's easier to find. The files are to support the tutorial at https://code.google.com/p/chromium/wiki/GNQuickStart R=jam@chromium.org Review URL: https://codereview.chromium.org/120923003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242555 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn39
1 files changed, 39 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
new file mode 100644
index 0000000..109fb41
--- /dev/null
+++ b/BUILD.gn
@@ -0,0 +1,39 @@
+# Copyright (c) 2013 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.
+
+# This is the root build file for GN. GN will start processing by loading this
+# file, and recursively load all dependencies until all dependencies are either
+# resolved or known not to exist (which will cause the build to fail). So if
+# you add a new build file, there must be some path of dependencies from this
+# file to your new one or GN won't know about it.
+
+# In GN, a "group" is a dummy target that just lists other targets.
+group("root") {
+ # Declares that this target should be treated as "external" in the GN-GYP
+ # hybrid build, and GN will not generate a GYP file for it. This flag is
+ # ignored in the pure GN build.
+ external = true
+
+ deps = [
+ "//base(//build/toolchain/nacl:x86_newlib)",
+ "//chrome",
+ "//components/navigation_metrics",
+ "//components/onc:onc_component",
+ "//components/startup_metric_utils",
+ "//components/translate:translate_common",
+ "//crypto",
+ "//device/usb:device_usb",
+ "//ipc",
+ "//net",
+ "//net/third_party/nss:ssl",
+ "//sdch",
+ "//third_party/icu:icudata",
+ "//third_party/leveldatabase",
+ "//third_party/zlib",
+ "//third_party/WebKit/Source/weborigin",
+ "//skia",
+ "//tools/gn",
+ "//url",
+ ]
+}