~saiarcot895/chromium-browser/chromium-browser.vivid.dev

« back to all changes in this revision

Viewing changes to debian/patches/system_v8.patch

  • Committer: Saikrishna Arcot
  • Date: 2013-03-08 22:57:16 UTC
  • Revision ID: saiarcot895@gmail.com-20130308225716-1c60fatbyjqc4d2j
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
---
 
2
 build/linux/system.gyp |   11 +++++++++++
 
3
 net/net.gyp            |    8 ++++++++
 
4
 webkit/webkit.gyp      |    8 ++++++++
 
5
 3 files changed, 27 insertions(+)
 
6
 
 
7
Index: src/build/linux/system.gyp
 
8
===================================================================
 
9
--- src.orig/build/linux/system.gyp
 
10
+++ src/build/linux/system.gyp
 
11
@@ -12,16 +12,27 @@
 
12
         'pkg-config': './pkg-config-wrapper "<(sysroot)"',
 
13
       }, {
 
14
         'pkg-config': 'pkg-config'
 
15
       }],
 
16
     ],
 
17
   },
 
18
   'targets': [
 
19
     {
 
20
+      'target_name': 'v8',
 
21
+      'type': 'settings',
 
22
+      'direct_dependent_settings': {
 
23
+      },
 
24
+      'link_settings': {
 
25
+        'libraries': [
 
26
+          '-lv8',
 
27
+        ],
 
28
+      },
 
29
+    },
 
30
+    {
 
31
       'target_name': 'gtk',
 
32
       'type': 'settings',
 
33
       'direct_dependent_settings': {
 
34
         'cflags': [
 
35
           '<!@(<(pkg-config) --cflags gtk+-2.0 gthread-2.0)',
 
36
         ],
 
37
       },
 
38
       'link_settings': {
 
39
Index: src/webkit/webkit.gyp
 
40
===================================================================
 
41
--- src.orig/webkit/webkit.gyp
 
42
+++ src/webkit/webkit.gyp
 
43
@@ -762,16 +762,24 @@
 
44
       'scons_line_length' : 1,
 
45
       'xcode_settings': {
 
46
         # Some Mac-specific parts of WebKit won't compile without having this
 
47
         # prefix header injected.
 
48
         # TODO(mark): make this a first-class setting.
 
49
         'GCC_PREFIX_HEADER': '../third_party/WebKit/WebCore/WebCorePrefix.h',
 
50
       },
 
51
       'conditions': [
 
52
+        ['javascript_engine=="system-v8"', {
 
53
+          'dependencies': [
 
54
+            '../build/linux/system.gyp:v8',
 
55
+          ],
 
56
+          'export_dependent_settings': [
 
57
+            '../build/linux/system.gyp:v8',
 
58
+          ],
 
59
+        }],
 
60
         ['javascript_engine=="v8"', {
 
61
           'dependencies': [
 
62
             '../v8/tools/gyp/v8.gyp:v8',
 
63
           ],
 
64
           'export_dependent_settings': [
 
65
             '../v8/tools/gyp/v8.gyp:v8',
 
66
           ],
 
67
         }],
 
68
Index: src/net/net.gyp
 
69
===================================================================
 
70
--- src.orig/net/net.gyp
 
71
+++ src/net/net.gyp
 
72
@@ -366,16 +366,24 @@
 
73
         '../base/base.gyp:base',
 
74
       ],
 
75
       'conditions': [
 
76
         ['javascript_engine=="v8"', {
 
77
           'dependencies': [
 
78
             '../v8/tools/gyp/v8.gyp:v8',
 
79
           ],
 
80
         }],
 
81
+        ['javascript_engine=="system-v8"', {
 
82
+          'dependencies': [
 
83
+            '../build/linux/system.gyp:v8',
 
84
+          ],
 
85
+          'export_dependent_settings': [
 
86
+            '../build/linux/system.gyp:v8',
 
87
+          ],
 
88
+        }],
 
89
         [ 'OS == "linux"', {
 
90
           'dependencies': [
 
91
             '../build/linux/system.gyp:gconf',
 
92
             '../build/linux/system.gyp:gdk',
 
93
             '../build/linux/system.gyp:nss',
 
94
           ],
 
95
         }],
 
96
         [ 'OS == "win"', {