gyp: generate "everything" and "most" targets instead of "all"
"make all" at the toplevel now chains to "make everything"
BUG=http://code.google.com/p/skia/issues/detail?id=932
Review URL: https://codereview.appspot.com/6651064
git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@6116 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/all.gyp b/all.gyp
deleted file mode 100644
index 37844bb..0000000
--- a/all.gyp
+++ /dev/null
@@ -1,41 +0,0 @@
-# Creates a Makefile that is capable of building all executable targets.
-#
-# To build on Linux:
-# ./gyp_skia && make all
-#
-# Building on other platforms not tested yet.
-#
-
-#
-#
-#
-#
-#
-# THIS IS DEPRECATED IN FAVOR OF trunk/skia.gyp !!!
-# Questions? Contact epoger@google.com
-#
-#
-#
-#
-
-{
- 'targets': [
- {
- 'target_name': 'all',
- 'type': 'none',
- 'dependencies': [
- 'bench.gyp:bench',
- 'gm.gyp:gm',
- 'SampleApp.gyp:SampleApp',
- 'tests.gyp:tests',
- 'tools.gyp:tools',
- ],
- },
- ],
-}
-
-# Local Variables:
-# tab-width:2
-# indent-tabs-mode:nil
-# End:
-# vim: set expandtab tabstop=2 shiftwidth=2:
diff --git a/everything.gyp b/everything.gyp
new file mode 100644
index 0000000..2cecd92
--- /dev/null
+++ b/everything.gyp
@@ -0,0 +1,31 @@
+# Build EVERYTHING provided by Skia.
+# (Start with the "most" target, and then add targets that we intentionally
+# left out of "most". See most.gyp for an explanation of which targets are
+# left out of "most".)
+#
+# We used to call this the 'all' target, but in SOME cases that
+# conflicted with an automatically-generated 'all' target.
+# See https://code.google.com/p/skia/issues/detail?id=932
+#
+{
+ 'targets': [
+ {
+ 'target_name': 'everything',
+ 'type': 'none',
+ 'dependencies': ['most.gyp:most'],
+ 'conditions': [
+ ['skia_os == "ios" or skia_os == "android" or (skia_os == "mac" and skia_arch_width == 32)', {
+ # debugger is not supported on this platform
+ }, {
+ 'dependencies': [ 'debugger.gyp:debugger' ],
+ }],
+ ],
+ },
+ ],
+}
+
+# Local Variables:
+# tab-width:2
+# indent-tabs-mode:nil
+# End:
+# vim: set expandtab tabstop=2 shiftwidth=2: