~chromium-team/chromium-browser/artful-beta

« back to all changes in this revision

Viewing changes to debian/patches/build-fix.patch

  • Committer: Chad MILLER
  • Date: 2015-03-27 00:56:55 UTC
  • Revision ID: chad.miller@canonical.com-20150327005655-j4hcr8bscbjjjjyu
Prepare for snappy building.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: dev.trusty/tools/gn/secondary/skia/BUILD.gn
 
2
===================================================================
 
3
--- dev.trusty.orig/tools/gn/secondary/skia/BUILD.gn    2014-01-29 12:11:56.058107428 -0500
 
4
+++ dev.trusty/tools/gn/secondary/skia/BUILD.gn 2014-01-29 12:11:56.038106734 -0500
 
5
@@ -1232,7 +1232,7 @@
 
6
     }
 
7
 
 
8
     if (skia_support_pdf) {
 
9
-      deps += "//third_party/sfntly"
 
10
+      deps += [ "//third_party/sfntly" ]
 
11
     }
 
12
   }
 
13
 }
 
14
Index: dev.trusty/build/gyp_chromium
 
15
===================================================================
 
16
--- dev.trusty.orig/build/gyp_chromium  2014-01-29 08:38:39.047654491 -0500
 
17
+++ dev.trusty/build/gyp_chromium       2014-01-29 12:12:28.587235507 -0500
 
18
@@ -38,8 +38,6 @@
 
19
 sys.path.insert(1, os.path.join(chrome_src, 'third_party', 'WebKit',
 
20
     'Source', 'build', 'scripts'))
 
21
 
 
22
-import find_depot_tools
 
23
-
 
24
 # On Windows, Psyco shortens warm runs of build/gyp_chromium by about
 
25
 # 20 seconds on a z600 machine with 12 GB of RAM, from 90 down to 70
 
26
 # seconds.  Conversely, memory usage of build/gyp_chromium with Psyco
 
27
@@ -332,6 +330,7 @@
 
28
   # TODO(bradnelson): take this out once this issue is fixed:
 
29
   #    http://code.google.com/p/gyp/issues/detail?id=177
 
30
   if sys.platform == 'cygwin':
 
31
+    import find_depot_tools
 
32
     depot_tools_path = find_depot_tools.add_depot_tools_to_path()
 
33
     python_dir = sorted(glob.glob(os.path.join(depot_tools_path,
 
34
                                                'python2*_bin')))[-1]
 
35
@@ -394,6 +393,7 @@
 
36
   # by depot_tools, then use it.
 
37
   if (sys.platform in ('win32', 'cygwin') and
 
38
       os.environ.get('GYP_GENERATORS') == 'ninja'):
 
39
+    import find_depot_tools
 
40
     depot_tools_path = find_depot_tools.add_depot_tools_to_path()
 
41
     toolchain = os.path.normpath(os.path.join(
 
42
         depot_tools_path, 'win_toolchain', 'vs2013_files'))