Adding Subzero in Chromium
In order to add Subzero as a dependency in Chromium, Chromium's
DEPS file will be modified to use SwiftShader's DEPS file in
order to pull SwiftShader's desired revision of Subzero. This
will ensure that SwiftShader and Subzero are always in sync.
Change-Id: I0b24845c0ddbf974baac4ef6cc3ff6ab397d5f69
Reviewed-on: https://swiftshader-review.googlesource.com/8529
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
diff --git a/DEPS b/DEPS
new file mode 100644
index 0000000..e3d2771
--- /dev/null
+++ b/DEPS
@@ -0,0 +1,16 @@
+# This file is used to manage the SwiftShader's dependencies in the Chromium src
+# repo. It is used by gclient to determine what version of each dependency to
+# check out, and where.
+
+use_relative_paths = True
+
+vars = {
+ 'chromium_git': 'https://chromium.googlesource.com/',
+ # Current revision of subzero.
+ 'subzero_revision': 'fc8f6bfae75430b00d8d6fbf78e62da4c3abed9d',
+}
+
+deps = {
+ 'third_party/pnacl-subzero':
+ Var('chromium_git') + '/native_client/pnacl-subzero@' + Var('subzero_revision'),
+}
\ No newline at end of file