OLD | NEW |
1 #!/bin/bash -e | 1 #!/bin/bash -e |
2 # | 2 # |
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 | 6 |
7 # This script is used to compare vpx_config.h and vpx_config.asm to | 7 # This script is used to compare vpx_config.h and vpx_config.asm to |
8 # verify the two files match. | 8 # verify the two files match. |
9 # | 9 # |
10 # Arguments: | 10 # Arguments: |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 # Do some additional filter to make libvpx happy. | 100 # Do some additional filter to make libvpx happy. |
101 combined_config="$(echo "$combined_config" | grep -v ARCH_X86=no)" | 101 combined_config="$(echo "$combined_config" | grep -v ARCH_X86=no)" |
102 combined_config="$(echo "$combined_config" | grep -v ARCH_X86_64=no)" | 102 combined_config="$(echo "$combined_config" | grep -v ARCH_X86_64=no)" |
103 | 103 |
104 # Print out the unique configurations. | 104 # Print out the unique configurations. |
105 if [ -n "$out_file" ]; then | 105 if [ -n "$out_file" ]; then |
106 echo "$combined_config" | sort | uniq > $out_file | 106 echo "$combined_config" | sort | uniq > $out_file |
107 else | 107 else |
108 echo "$combined_config" | sort | uniq | 108 echo "$combined_config" | sort | uniq |
109 fi | 109 fi |
OLD | NEW |