forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathremove_files_not_needed_for_chromium.sh
executable file
·49 lines (46 loc) · 1.59 KB
/
remove_files_not_needed_for_chromium.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/bin/bash -e
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This is a simple script that strips out all of the files from the
# Apache distribution we don't actually need to run the Chromium
# layout tests.
find . \! \( \
-path . -o \
-path .. -o \
-path ./ABOUT_APACHE.txt -o \
-path ./bin -o \
-path ./bin/ApacheMonitor.exe -o \
-path ./bin/httpd.exe -o \
-path ./bin/libapr-1.dll -o \
-path ./bin/libapriconv-1.dll -o \
-path ./bin/libaprutil-1.dll -o \
-path ./bin/libeay32.dll -o \
-path ./bin/libhttpd.dll -o \
-path ./bin/openssl.exe -o \
-path ./bin/php5ts.dll -o \
-path ./bin/ssleay32.dll -o \
-path ./bin/zlib1.dll -o \
-path ./CHANGES.txt -o \
-path ./INSTALL.txt -o \
-path ./LICENSE.txt -o \
-path ./modules -o \
-path ./modules/mod_alias.so -o \
-path ./modules/mod_asis.so -o \
-path ./modules/mod_authz_host.so -o \
-path ./modules/mod_autoindex.so -o \
-path ./modules/mod_cgi.so -o \
-path ./modules/mod_headers.so -o \
-path ./modules/mod_log_config.so -o \
-path ./modules/mod_mime.so -o \
-path ./modules/mod_rewrite.so -o \
-path ./modules/mod_ssl.so -o \
-path ./modules/php5apache2_2.dll -o \
-path ./NOTICE.txt -o \
-path ./OPENSSL-NEWS.txt -o \
-path ./OPENSSL-README.txt -o \
-path ./README-win32.txt -o \
-path ./README.chromium -o \
-path ./README.txt -o \
-path ./remove_files_not_needed_for_chromium.sh \
\) | xargs rm -fr