No longer need to filter out resources dir
Also remove not needed change
This commit is contained in:
parent
a82c4923bd
commit
70fb89e201
2 changed files with 3 additions and 6 deletions
3
BUILD.gn
3
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 = [
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue