]> git.pld-linux.org Git - packages/chromium-browser.git/blobdiff - nacl-no-untar.patch
clean v8 d8
[packages/chromium-browser.git] / nacl-no-untar.patch
index e9ad5c613d7a40564430ea939bbbde5d1cd16f71..0861a2a9a484031ba0b90be8d4a26992374d02b7 100644 (file)
---- chromium-browser-24.0.1312.14/./src/native_client/build/untrusted.gypi~    2012-11-14 04:37:51.000000000 +0200
-+++ chromium-browser-24.0.1312.14/./src/native_client/build/untrusted.gypi     2012-11-16 22:01:20.476042441 +0200
-@@ -162,7 +162,7 @@
+--- chromium-browser-33.0.1750.117/native_client/build/untrusted.gypi  2014-02-28 09:05:36.555378590 +0200
++++ chromium-browser-33.0.1750.117.patched/native_client/build/untrusted.gypi  2014-02-27 23:15:49.506025570 +0200
+@@ -246,7 +246,7 @@
                   'action': [
-                    '>(python_exe)',
+                    'python',
                     '<(DEPTH)/native_client/build/build_nexe.py',
 -                   '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
 +                   '-t', '<(DEPTH)/native_client/toolchain/',
                     '>@(extra_args)',
                     '--arch', 'x86-64',
                     '--build', 'newlib_nexe',
-@@ -203,7 +203,7 @@
+@@ -289,7 +289,7 @@
                   'action': [
-                    '>(python_exe)',
+                    'python',
                     '<(DEPTH)/native_client/build/build_nexe.py',
 -                   '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
 +                   '-t', '<(DEPTH)/native_client/toolchain/',
                     '>@(extra_args)',
                     '--arch', 'x86-64',
                     '--build', 'newlib_nlib',
-@@ -244,7 +244,7 @@
+@@ -332,7 +332,7 @@
                   'action': [
-                    '>(python_exe)',
+                    'python',
+                    '<(DEPTH)/native_client/build/build_nexe.py',
+-                   '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
++                   '-t', '<(DEPTH)/native_client/toolchain/',
+                    '>@(extra_args)',
+                    '--arch', 'x86-64',
+                    '--build', 'newlib_nexe_pnacl',
+@@ -376,7 +376,7 @@
+                  'action': [
+                    'python',
+                    '<(DEPTH)/native_client/build/build_nexe.py',
+-                   '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
++                   '-t', '<(DEPTH)/native_client/toolchain/',
+                    '>@(extra_args)',
+                    '--arch', 'x86-64',
+                    '--build', 'newlib_nlib_pnacl',
+@@ -420,7 +420,7 @@
+                  'action': [
+                    'python',
+                    '<(DEPTH)/native_client/build/build_nexe.py',
+-                   '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
++                   '-t', '<(DEPTH)/native_client/toolchain/',
+                    '>@(extra_args)',
+                    '--arch', 'x86-32',
+                    '--build', 'newlib_nexe',
+@@ -463,7 +463,7 @@
+                  'action': [
+                    'python',
+                    '<(DEPTH)/native_client/build/build_nexe.py',
+-                   '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
++                   '-t', '<(DEPTH)/native_client/toolchain/',
+                    '>@(extra_args)',
+                    '--arch', 'x86-32',
+                    '--build', 'newlib_nlib',
+@@ -506,7 +506,7 @@
+                  'action': [
+                    'python',
                     '<(DEPTH)/native_client/build/build_nexe.py',
 -                   '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
 +                   '-t', '<(DEPTH)/native_client/toolchain/',
                     '>@(extra_args)',
                     '--arch', 'x86-32',
                     '--build', 'newlib_nexe',
-@@ -285,7 +285,7 @@
+@@ -549,7 +549,7 @@
                   'action': [
-                    '>(python_exe)',
+                    'python',
                     '<(DEPTH)/native_client/build/build_nexe.py',
 -                   '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
 +                   '-t', '<(DEPTH)/native_client/toolchain/',
                     '>@(extra_args)',
                     '--arch', 'x86-32',
                     '--build', 'newlib_nlib',
-@@ -331,7 +331,7 @@
+@@ -598,7 +598,7 @@
+                 'action': [
+                   'python',
+                   '<(DEPTH)/native_client/build/build_nexe.py',
+-                  '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
++                  '-t', '<(DEPTH)/native_client/toolchain/',
+                   '>@(extra_args)',
+                   '--arch', 'arm',
+                   '--build', 'newlib_nexe',
+@@ -641,7 +641,7 @@
+                 'action': [
+                   'python',
+                   '<(DEPTH)/native_client/build/build_nexe.py',
+-                  '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
++                  '-t', '<(DEPTH)/native_client/toolchain/',
+                   '>@(extra_args)',
+                   '--arch', 'arm',
+                   '--build', 'newlib_nlib',
+@@ -684,7 +684,7 @@
                  'action': [
-                   '>(python_exe)',
+                   'python',
                    '<(DEPTH)/native_client/build/build_nexe.py',
 -                  '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
 +                  '-t', '<(DEPTH)/native_client/toolchain/',
                    '>@(extra_args)',
                    '--arch', 'arm',
                    '--build', 'newlib_nexe',
-@@ -371,7 +371,7 @@
+@@ -727,7 +727,7 @@
                  'action': [
-                   '>(python_exe)',
+                   'python',
                    '<(DEPTH)/native_client/build/build_nexe.py',
 -                  '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
 +                  '-t', '<(DEPTH)/native_client/toolchain/',
                    '>@(extra_args)',
                    '--arch', 'arm',
                    '--build', 'newlib_nlib',
-@@ -418,7 +418,7 @@
+@@ -772,7 +772,7 @@
+                 'action': [
+                   'python',
+                   '<(DEPTH)/native_client/build/build_nexe.py',
+-                  '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
++                  '-t', '<(DEPTH)/native_client/toolchain/',
+                   '>@(extra_args)',
+                   '--arch', 'arm',
+                   '--build', 'newlib_nlib_pnacl',
+@@ -821,7 +821,7 @@
+                 'action': [
+                   'python',
+                   '<(DEPTH)/native_client/build/build_nexe.py',
+-                  '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
++                  '-t', '<(DEPTH)/native_client/toolchain/',
+                   '>@(extra_args)',
+                   '--arch', 'mips',
+                   '--build', 'newlib_nexe',
+@@ -864,7 +864,7 @@
+                 'action': [
+                   'python',
+                   '<(DEPTH)/native_client/build/build_nexe.py',
+-                  '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
++                  '-t', '<(DEPTH)/native_client/toolchain/',
+                   '>@(extra_args)',
+                   '--arch', 'mips',
+                   '--build', 'newlib_nlib',
+@@ -907,7 +907,7 @@
+                 'action': [
+                   'python',
+                   '<(DEPTH)/native_client/build/build_nexe.py',
+-                  '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
++                  '-t', '<(DEPTH)/native_client/toolchain/',
+                   '>@(extra_args)',
+                   '--arch', 'mips',
+                   '--build', 'newlib_nexe',
+@@ -950,7 +950,7 @@
+                 'action': [
+                   'python',
+                   '<(DEPTH)/native_client/build/build_nexe.py',
+-                  '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
++                  '-t', '<(DEPTH)/native_client/toolchain/',
+                   '>@(extra_args)',
+                   '--arch', 'mips',
+                   '--build', 'newlib_nlib',
+@@ -999,7 +999,7 @@
                   'action': [
-                    '>(python_exe)',
+                    'python',
                     '<(DEPTH)/native_client/build/build_nexe.py',
 -                   '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
 +                   '-t', '<(DEPTH)/native_client/toolchain/',
                     '>@(extra_args)',
                     '--arch', 'x86-64',
                     '--build', 'glibc_nexe',
-@@ -459,7 +459,7 @@
+@@ -1042,7 +1042,7 @@
                   'action': [
-                    '>(python_exe)',
+                    'python',
                     '<(DEPTH)/native_client/build/build_nexe.py',
 -                   '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
 +                   '-t', '<(DEPTH)/native_client/toolchain/',
                     '>@(extra_args)',
                     '--arch', 'x86-32',
                     '--build', 'glibc_nexe',
-@@ -500,7 +500,7 @@
+@@ -1085,7 +1085,7 @@
                   'action': [
-                    '>(python_exe)',
+                    'python',
                     '<(DEPTH)/native_client/build/build_nexe.py',
 -                   '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
 +                   '-t', '<(DEPTH)/native_client/toolchain/',
                     '>@(extra_args)',
                     '--arch', 'x86-64',
                     '--build', 'glibc_nlib',
-@@ -541,7 +541,7 @@
+@@ -1128,7 +1128,7 @@
                   'action': [
-                    '>(python_exe)',
+                    'python',
                     '<(DEPTH)/native_client/build/build_nexe.py',
 -                   '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
 +                   '-t', '<(DEPTH)/native_client/toolchain/',
                     '>@(extra_args)',
                     '--arch', 'x86-32',
                     '--build', 'glibc_nlib',
-@@ -583,7 +583,7 @@
-                    '>(python_exe)',
+@@ -1172,7 +1172,7 @@
+                    'python',
                     '<(DEPTH)/native_client/build/build_nexe.py',
                     '>@(extra_args)',
 -                   '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
                     '--arch', 'x86-64',
                     '--build', 'glibc_nso',
                     '--root', '<(DEPTH)',
-@@ -624,7 +624,7 @@
-                    '>(python_exe)',
+@@ -1215,7 +1215,7 @@
+                    'python',
                     '<(DEPTH)/native_client/build/build_nexe.py',
                     '>@(extra_args)',
 -                   '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
                     '--arch', 'x86-32',
                     '--build', 'glibc_nso',
                     '--root', '<(DEPTH)',
-@@ -702,7 +702,7 @@
+@@ -1304,7 +1304,7 @@
              'action': [
-               '>(python_exe)',
+               'python',
                '<(DEPTH)/native_client/build/build_nexe.py',
 -              '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
 +              '-t', '<(DEPTH)/native_client/toolchain/',
                '>@(extra_args)',
                '--arch', 'pnacl',
                '--build', 'newlib_pexe',
-@@ -743,7 +743,7 @@
+@@ -1335,7 +1335,7 @@
+                 'action' : [
+                   'python',
+                   '<(DEPTH)/native_client/build/build_nexe.py',
+-                  '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
++                  '-t', '<(DEPTH)/native_client/toolchain/',
+                   '--arch', 'x86-32',
+                   '--build', 'newlib_translate',
+                   '--root', '<(DEPTH)',
+@@ -1360,7 +1360,7 @@
+                 'action' : [
+                   'python',
+                   '<(DEPTH)/native_client/build/build_nexe.py',
+-                  '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
++                  '-t', '<(DEPTH)/native_client/toolchain/',
+                   '--arch', 'x86-64',
+                   '--build', 'newlib_translate',
+                   '--root', '<(DEPTH)',
+@@ -1385,7 +1385,7 @@
+                 'action' : [
+                   'python',
+                   '<(DEPTH)/native_client/build/build_nexe.py',
+-                  '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
++                  '-t', '<(DEPTH)/native_client/toolchain/',
+                   '--arch', 'arm',
+                   '--build', 'newlib_translate',
+                   '--root', '<(DEPTH)',
+@@ -1423,7 +1423,7 @@
              'action': [
-               '>(python_exe)',
+               'python',
                '<(DEPTH)/native_client/build/build_nexe.py',
 -              '-t', '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/',
 +              '-t', '<(DEPTH)/native_client/toolchain/',
                '>@(extra_args)',
                '--arch', 'pnacl',
                '--build', 'newlib_plib',
---- chromium-browser-24.0.1312.45/src/native_client/tools.gyp~ 2012-12-19 10:04:23.000000000 +0200
-+++ chromium-browser-24.0.1312.45/src/native_client/tools.gyp  2013-01-01 23:40:30.933802957 +0200
-@@ -44,6 +44,17 @@
-         'pnacl_dir': '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/<(OS)_x86_pnacl',
+--- chromium-browser-33.0.1750.117/native_client/tools.gyp     2014-02-20 22:29:12.000000000 +0200
++++ chromium-browser-33.0.1750.117.patched/native_client/tools.gyp     2014-02-27 19:27:23.085288396 +0200
+@@ -64,6 +64,17 @@
+         'arm_dir': '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/<(OS)_arm_newlib',
        },
        'conditions': [
 +        # create stamp.untar that build system depends on
          ['disable_newlib==0 and disable_newlib_untar==0', {
            'actions': [
              {
---- chromium-browser-24.0.1312.45/src/native_client/build/untrusted.gypi       2013-01-01 23:08:43.214443900 +0200
-+++ chromium-browser-24.0.1312.45-almost-there/src/native_client/build/untrusted.gypi  2013-01-01 22:50:53.863859341 +0200
+--- chromium-browser-24.0.1312.45/native_client/build/untrusted.gypi   2013-01-01 23:08:43.214443900 +0200
++++ chromium-browser-24.0.1312.45-almost-there/native_client/build/untrusted.gypi      2013-01-01 22:50:53.863859341 +0200
 @@ -142,6 +142,8 @@
               'variables': {
                  'tool_name': 'newlib',
                  'inst_dir': '<(SHARED_INTERMEDIATE_DIR)/tc_newlib',
 +# make semaphore.h visible for base/shared_memory_nacl.cc compilation
-+                              'newlib_dir': '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/<(OS)_x86_newlib/x86_64-nacl',
++                'newlib_dir': '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/<(OS)_x86_newlib/x86_64-nacl',
                  'out_newlib64%': '<(PRODUCT_DIR)/>(nexe_target)_newlib_x64.nexe',
                  'objdir_newlib64%': '>(INTERMEDIATE_DIR)/<(tool_name)-x86-64/>(_target_name)',
                  'source_list_newlib64%': '<(tool_name)-x86-64.>(_target_name).source_list.gypcmd',
                  'tool_name': 'newlib',
                  'inst_dir': '<(SHARED_INTERMEDIATE_DIR)/tc_newlib',
 +# make semaphore.h visible for base/shared_memory_nacl.cc compilation
-+                              'newlib_dir': '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/<(OS)_x86_newlib/x86_64-nacl',
++                'newlib_dir': '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/<(OS)_x86_newlib/x86_64-nacl',
                  'objdir_newlib64%': '>(INTERMEDIATE_DIR)/<(tool_name)-x86-64/>(_target_name)',
                  'source_list_newlib64%': '<(tool_name)-x86-64.>(_target_name).source_list.gypcmd',
                  'out_newlib64%': '<(SHARED_INTERMEDIATE_DIR)/tc_<(tool_name)/lib64/>(nlib_target)',
                  'tool_name': 'newlib',
                  'inst_dir': '<(SHARED_INTERMEDIATE_DIR)/tc_newlib',
 +# make semaphore.h visible for base/shared_memory_nacl.cc compilation
-+                              'newlib_dir': '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/<(OS)_x86_newlib/x86_64-nacl',
++                'newlib_dir': '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/<(OS)_x86_newlib/x86_64-nacl',
                  'out_newlib32%': '<(PRODUCT_DIR)/>(nexe_target)_newlib_x32.nexe',
                  'objdir_newlib32%': '>(INTERMEDIATE_DIR)/<(tool_name)-x86-32/>(_target_name)',
                  'source_list_newlib32%': '<(tool_name)-x86-32.>(_target_name).source_list.gypcmd',
                  'tool_name': 'newlib',
                  'inst_dir': '<(SHARED_INTERMEDIATE_DIR)/tc_newlib',
 +# make semaphore.h visible for base/shared_memory_nacl.cc compilation
-+                              'newlib_dir': '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/<(OS)_x86_newlib/x86_64-nacl',
++                'newlib_dir': '<(SHARED_INTERMEDIATE_DIR)/sdk/toolchain/<(OS)_x86_newlib/x86_64-nacl',
                  'out_newlib32%': '<(SHARED_INTERMEDIATE_DIR)/tc_<(tool_name)/lib32/>(nlib_target)',
                  'objdir_newlib32%': '>(INTERMEDIATE_DIR)/<(tool_name)-x86-32/>(_target_name)',
                  'source_list_newlib32%': '<(tool_name)-x86-32.>(_target_name).source_list.gypcmd',
                     '--lib-dirs=>(lib_dirs_newlib32)',
                     '--compile_flags=-m32 ^(newlib_tls_flags) ^(gcc_compile_flags) >(_gcc_compile_flags) ^(compile_flags) >(_compile_flags)',
                     '--defines=^(defines) >(_defines)',
-#--- /home/users/glen/rpm/packages/chromium-browser/autoupdate/beta/BUILD/chromium-browser-24.0.1312.45/src/native_client/src/untrusted/nacl/nacl.gyp  2012-12-19 10:03:43.000000000 +0200
-#+++ ../../../chromium-browser-24.0.1312.45-almost-there/src/native_client/src/untrusted/nacl/nacl.gyp 2013-01-01 22:26:15.004609235 +0200
-#@@ -94,7 +94,7 @@
-#         'nlib_target': 'libnacl.a',
-#         'build_glibc': 0,
-#         'build_newlib': 1,
-#-        'build_pnacl_newlib': 1,
-#+        'build_pnacl_newlib': 0,
-#       },
-#       'sources': [
-#         '<@(sources_for_nacl_extensions)',
-#--- chromium-browser-24.0.1312.45/src/native_client/tools.gyp~        2012-12-19 10:04:23.000000000 +0200
-#+++ chromium-browser-24.0.1312.45/src/native_client/tools.gyp 2013-01-01 17:22:30.098261613 +0200
-#@@ -134,7 +134,6 @@
-#               'msvs_cygwin_shell': 0,
-#               'description': 'Prep newlib',
-#               'inputs': [
-#-                 '<(newlib_dir)/stamp.untar',
-#                  '>!@pymod_do_main(prep_nacl_sdk --inputs --tool newlib)',
-#               ],
-#               'outputs': ['<(newlib_dir)/stamp.prep'],
-#@@ -154,7 +153,6 @@
-#               'msvs_cygwin_shell': 0,
-#               'description': 'Prep glibc',
-#               'inputs': [
-#-                 '<(glibc_dir)/stamp.untar',
-#                  '>!@pymod_do_main(prep_nacl_sdk --inputs --tool glibc)',
-#               ],
-#               'outputs': ['<(glibc_dir)/stamp.prep'],
-#@@ -174,7 +172,6 @@
-#               'msvs_cygwin_shell': 0,
-#               'description': 'Prep pnacl',
-#               'inputs': [
-#-                 '<(pnacl_dir)/stamp.untar',
-#                  '>!@pymod_do_main(prep_nacl_sdk --inputs --tool pnacl)',
-#               ],
-#               'outputs': ['<(pnacl_dir)/stamp.prep'],
+Could not find toolchain prep stamp file: ../native_client/toolchain/linux_x86_newlib/stamp.prep
+Could not find toolchain prep stamp file: ../native_client/toolchain/linux_x86_newlib/stamp.prep
+make: *** [out/Release/obj/gen/tc_newlib/lib32/crtn.o] Error 1
+make: *** Waiting for unfinished jobs....
+make: *** [out/Release/obj/gen/tc_newlib/lib32/crti.o] Error 1
+--- chromium-browser-33.0.1750.117/native_client/build/build_nexe.py   2014-02-20 22:28:56.000000000 +0200
++++ chromium-browser-33.0.1750.117.patched/native_client/build/build_nexe.py   2014-02-27 19:27:23.085288396 +0200
+@@ -251,9 +251,6 @@
+     # Set the toolchain directories
+     self.toolchain = os.path.join(options.toolpath, tooldir)
+     self.toolbin = os.path.join(self.toolchain, 'bin')
+-    self.toolstamp = os.path.join(self.toolchain, 'stamp.prep')
+-    if not IsFile(self.toolstamp):
+-      raise Error('Could not find toolchain prep stamp file: ' + self.toolstamp)
+     self.inc_paths = ArgToList(options.incdirs)
+     self.lib_paths = ArgToList(options.libdirs)
+@@ -465,10 +462,6 @@
+     return path
+   def NeedsRebuild(self, outd, out, src, rebuilt=False):
+-    if not IsFile(self.toolstamp):
+-      if rebuilt:
+-        raise Error('Could not find toolchain stamp file %s.' % self.toolstamp)
+-      return True
+     if not IsFile(outd):
+       if rebuilt:
+         raise Error('Could not find dependency file %s.' % outd)
+@@ -477,15 +470,9 @@
+       if rebuilt:
+         raise Error('Could not find output file %s.' % out)
+       return True
+-    stamp_tm = GetMTime(self.toolstamp)
+     out_tm = GetMTime(out)
+     outd_tm = GetMTime(outd)
+     src_tm = GetMTime(src)
+-    if IsStale(out_tm, stamp_tm, rebuilt):
+-      if rebuilt:
+-        raise Error('Output %s is older than toolchain stamp %s' % (
+-            out, self.toolstamp))
+-      return True
+     if IsStale(out_tm, src_tm, rebuilt):
+       if rebuilt:
+         raise Error('Output %s is older than source %s.' % (out, src))
This page took 0.045528 seconds and 4 git commands to generate.