No longer need to filter out resources dir

Also remove not needed change
This commit is contained in:
John Kleinschmidt 2018-09-21 21:29:55 -04:00
parent a82c4923bd
commit 70fb89e201
2 changed files with 3 additions and 6 deletions

View file

@ -705,7 +705,8 @@ if (is_mac) {
} }
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 = [ public_deps = [

View file

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