| 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 generate .gypi, .gni files and files in the | 7 # This script is used to generate .gypi, .gni files and files in the |
| 8 # config/platform directories needed to build libvpx. | 8 # config/platform directories needed to build libvpx. |
| 9 # Every time libvpx source code is updated just run this script. | 9 # Every time libvpx source code is updated just run this script. |
| 10 # | 10 # |
| (...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 583 echo "Remove temporary directory." | 583 echo "Remove temporary directory." |
| 584 cd $BASE_DIR | 584 cd $BASE_DIR |
| 585 rm -rf $TEMP_DIR | 585 rm -rf $TEMP_DIR |
| 586 | 586 |
| 587 gn format --in-place $BASE_DIR/BUILD.gn | 587 gn format --in-place $BASE_DIR/BUILD.gn |
| 588 gn format --in-place $BASE_DIR/libvpx_srcs.gni | 588 gn format --in-place $BASE_DIR/libvpx_srcs.gni |
| 589 | 589 |
| 590 cd $BASE_DIR/$LIBVPX_SRC_DIR | 590 cd $BASE_DIR/$LIBVPX_SRC_DIR |
| 591 echo | 591 echo |
| 592 echo "Update README.chromium:" | 592 echo "Update README.chromium:" |
| 593 git log -1 --format="%cd%nCommit: %H" --date=format:"%A %B %d %Y" | 593 git log -1 --format="%cd%nCommit: %H" --date=format:"Date: %A %B %d %Y" |
| 594 | 594 |
| 595 cd $BASE_DIR | 595 cd $BASE_DIR |
| 596 | 596 |
| 597 # TODO(fgalligan): Can we turn on "--enable-realtime-only" for mipsel? | 597 # TODO(fgalligan): Can we turn on "--enable-realtime-only" for mipsel? |
| OLD | NEW |