Browse Source

No longer need to filter out resources dir

Also remove not needed change
John Kleinschmidt 6 years ago
parent
commit
70fb89e201
2 changed files with 3 additions and 6 deletions
  1. 2 1
      BUILD.gn
  2. 1 5
      build/zip.py

+ 2 - 1
BUILD.gn

@@ -705,7 +705,8 @@ if (is_mac) {
     }
 
     if (!is_mac) {
-      data += [ "$root_out_dir/resources" ]
+      data += [ "$root_out_dir/resources/default_app.asar" ]
+      data += [ "$root_out_dir/resources/electron.asar" ]
     }
 
     public_deps = [

+ 1 - 5
build/zip.py

@@ -17,7 +17,6 @@ EXTENSIONS_TO_SKIP = [
 PATHS_TO_SKIP = [
   'angledata', #Skipping because it is an output of //ui/gl that we don't need
   'swiftshader', #Skipping because it is an output of //ui/gl that we don't need
-  'resources/inspector' 
 ]
 
 def skip_path(dep):
@@ -71,10 +70,7 @@ def main(argv):
         if os.path.isdir(dep):
           for root, dirs, files in os.walk(dep):
             for file in files:
-              file_path = os.path.join(root, file)
-              if skip_path(file_path):
-                continue
-              z.write(file_path)
+              z.write(os.path.join(root, file))
         else:
           z.write(dep)