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