Upstream version 8.37.186.0
[platform/framework/web/crosswalk.git] / src / xwalk / DEPS.xwalk
index c80c1c5..ecda947 100644 (file)
@@ -1,23 +1,83 @@
-''' This file indicate the dependencies crosswalk lays on.
-    DO NOT use this DEPS to checkout code, it's for tools/generate_gclient-xwalk.py.
-'''
-
-# chromium_version is the version of chromium crosswalk based,
-# Usually it's major.minor.build.patch
-# Use 'Trunk' for trunk.
-# If using trunk, will use '.DEPS.git' for gclient.
-chromium_version = '34.0.1847.45'
-chromium_crosswalk_point = 'b83e11e691378bba3b997c6c7667908c4cd33798'
-blink_crosswalk_point = 'e8b6b995b38b422c2b4d58fa5201599f1e510537'
-v8_crosswalk_point = 'ffe72f9229923611866423ced472b1dff97abdfe'
-
-deps_xwalk = {
-  'src': 'https://github.com/crosswalk-project/chromium-crosswalk.git@%s' % chromium_crosswalk_point,
-  'src/third_party/WebKit': 'https://github.com/crosswalk-project/blink-crosswalk.git@%s' % blink_crosswalk_point,
-  'src/v8': 'https://github.com/crosswalk-project/v8-crosswalk.git@%s' % v8_crosswalk_point,
-
-  # Ozone-Wayland is required for Wayland support in Chromium.
-  'src/ozone': 'https://github.com/01org/ozone-wayland.git@a4e3e96b1e1c51cecf5f7bc162b0d98064c95bc2',
+# Source code dependencies required for building Crosswalk.
+#
+# This file is used as a template to generate .gclient-xwalk, which is a
+# regular .gclient file pointing to additional source code repositories that
+# need to be checked out in order to build Crosswalk.
+#
+# These dependencies are not specified in DEPS for historical compatibility
+# reasons and also to allow us to perform some additional manipulation on some
+# entries (such as setting a custom value for "deps_file" in certain
+# solutions).
+#
+# If you are doing a DEPS roll, you should only need to worry about the *_rev
+# variables below.
+
+# -----------------------------------
+# Crosswalk dependencies.
+# Edit these when rolling DEPS.xwalk.
+# -----------------------------------
+
+chromium_crosswalk_rev = 'b93afe0192aa9888d1246e8933d31272afecb7f0'
+blink_crosswalk_rev = 'b656b39cc2eb71a9f4b70f8439c2d0a1ca54d619'
+v8_crosswalk_rev = '402ca0b81254dd9d7b376485d4582c6b6eac2185'
+ozone_wayland_rev = '0a8caf9bc740d767464b2d1d16fec08ff2f91d1f'
+
+crosswalk_git = 'https://github.com/crosswalk-project'
+ozone_wayland_git = 'https://github.com/01org'
+
+# ------------------------------------------------------
+# gclient solutions.
+# You do not need to worry about these most of the time.
+# ------------------------------------------------------
+
+chromium_solution = {
+  'name': 'src',
+  'url': crosswalk_git + '/chromium-crosswalk.git@' + chromium_crosswalk_rev,
+  'deps_file': '.DEPS.git',
+  'custom_deps': {
+    'src':
+      crosswalk_git + '/chromium-crosswalk.git@' + chromium_crosswalk_rev,
+    'src/third_party/WebKit':
+      crosswalk_git + '/blink-crosswalk.git@' + blink_crosswalk_rev,
+    'src/v8':
+      crosswalk_git + '/v8-crosswalk.git@' + v8_crosswalk_rev,
+  }
 }
-vars_xwalk = {
+
+# These directories are not relevant to Crosswalk and can be safely ignored
+# in a checkout. It avoids creating additional directories outside src/ that
+# are not used and also saves some bandwidth.
+ignored_directories = [
+  'build',
+  'build/scripts/command_wrapper/bin',
+  'build/scripts/gsd_generate_index',
+  'build/scripts/private/data/reliability',
+  'build/scripts/tools/deps2git',
+  'build/third_party/cbuildbot_chromite',
+  'build/third_party/gsutil',
+  'build/third_party/lighttpd',
+  'build/third_party/swarm_client',
+  'build/third_party/xvfb',
+  'build/xvfb',
+  'commit-queue',
+  'depot_tools',
+]
+for ignored_directory in ignored_directories:
+  chromium_solution['custom_deps'][ignored_directory] = None
+
+# ozone-wayland is set as a separate solution because we gclient _not_ to read
+# its .DEPS.git: it changes the recursion limit and tries to check Chromium
+# upstream out itself, leading to URL conflicts and errors about duplicate
+# entries.
+ozone_wayland_solution = {
+  'name': 'src/ozone',
+  'url': ozone_wayland_git + '/ozone-wayland.git@' + ozone_wayland_rev,
+  'deps_file': '',
 }
+
+solutions = [chromium_solution,
+             ozone_wayland_solution]
+
+# -------------------------------------------------
+# This area is edited by generate_gclient-xwalk.py.
+# -------------------------------------------------