summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/all.gyp6
-rw-r--r--chrome/chrome.gyp2
-rw-r--r--third_party/bsdiff/bsdiff.gyp22
-rw-r--r--third_party/bspatch/bspatch.gyp31
4 files changed, 59 insertions, 2 deletions
diff --git a/build/all.gyp b/build/all.gyp
index 1c94fa2..e3544f9 100644
--- a/build/all.gyp
+++ b/build/all.gyp
@@ -61,11 +61,13 @@
}],
['OS=="win"', {
'dependencies': [
- '../sandbox/sandbox.gyp:*',
+ '../breakpad/breakpad.gyp:*',
'../courgette/courgette.gyp:*',
+ '../sandbox/sandbox.gyp:*',
+ '../third_party/bsdiff/bsdiff.gyp:*',
+ '../third_party/bspatch/bspatch.gyp:*',
'../webkit/activex_shim/activex_shim.gyp:*',
'../webkit/activex_shim_dll/activex_shim_dll.gyp:*',
- '../breakpad/breakpad.gyp:*',
'../gears/gears.gyp:*',
],
}, {
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 9bb9802..6bb8a83 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -3404,6 +3404,8 @@
'../sdch/sdch.gyp:*',
'../skia/skia.gyp:*',
'../testing/gtest.gyp:*',
+ '../third_party/bsdiff/bsdiff.gyp:*',
+ '../third_party/bspatch/bspatch.gyp:*',
'../third_party/bzip2/bzip2.gyp:*',
'../third_party/codesighs/codesighs.gyp:*',
'../third_party/ffmpeg/ffmpeg.gyp:*',
diff --git a/third_party/bsdiff/bsdiff.gyp b/third_party/bsdiff/bsdiff.gyp
new file mode 100644
index 0000000..c473993
--- /dev/null
+++ b/third_party/bsdiff/bsdiff.gyp
@@ -0,0 +1,22 @@
+# Copyright (c) 2009 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.
+
+{
+ 'includes': [
+ '../../build/common.gypi',
+ ],
+ 'targets': [
+ {
+ 'target_name': 'bsdiff',
+ 'type': 'executable',
+ 'msvs_guid': 'E1D0B89E-257B-4BCA-A0C6-A2CD997A2FDC',
+ 'dependencies': [
+ '../bspatch/bspatch.gyp:bspatch',
+ ],
+ 'sources': [
+ 'mbsdiff.cc',
+ ],
+ },
+ ],
+}
diff --git a/third_party/bspatch/bspatch.gyp b/third_party/bspatch/bspatch.gyp
new file mode 100644
index 0000000..5e74179
--- /dev/null
+++ b/third_party/bspatch/bspatch.gyp
@@ -0,0 +1,31 @@
+# Copyright (c) 2009 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.
+
+{
+ 'includes': [
+ '../../build/common.gypi',
+ ],
+ 'targets': [
+ {
+ 'target_name': 'bspatch',
+ 'type': '<(library)',
+ 'msvs_guid': 'D7ED06E8-6138-4CE3-A906-5EF1D9C804E0',
+ 'dependencies': [
+ '../lzma_sdk/lzma_sdk.gyp:lzma_sdk',
+ ],
+ 'include_dirs': [
+ '.',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '.',
+ ],
+ },
+ 'sources': [
+ 'mbspatch.cc',
+ 'mbspatch.h',
+ ],
+ },
+ ],
+}