| OLD | NEW |
| (Empty) | |
| 1 #!/bin/bash -e |
| 2 |
| 3 # Copyright (c) 2011 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. |
| 6 |
| 7 # Use this to copy all config files into the tree. |
| 8 |
| 9 # Linux (all combinations). |
| 10 for target in Chromium ChromiumOS Chrome ChromeOS; do |
| 11 # ia32/x64 have this funny little config.asm file! |
| 12 for arch in ia32 x64; do |
| 13 for f in config.h config.asm; do |
| 14 FROM="build.$arch.linux/$target/$f" |
| 15 TO="source/config/$target/linux/$arch/$f" |
| 16 [ -e $FROM ] && cp -u -v $FROM $TO |
| 17 done |
| 18 done |
| 19 |
| 20 # arm/arm-neon only have a config.h. |
| 21 for arch in arm arm-neon; do |
| 22 FROM="build.$arch.linux/$target/config.h" |
| 23 TO="source/config/$target/linux/$arch/config.h" |
| 24 [ -e $FROM ] && cp -u -v $FROM $TO |
| 25 done |
| 26 done |
| 27 |
| 28 # Mac/Windows (ia32). |
| 29 for os in mac win; do |
| 30 for target in Chromium Chrome ; do |
| 31 for f in config.h config.asm; do |
| 32 FROM="build.ia32.$os/$target/$f" |
| 33 TO="source/config/$target/$os/ia32/$f" |
| 34 [ -e $FROM ] && cp -u -v $FROM $TO |
| 35 done |
| 36 done |
| 37 done |
| 38 |
| 39 echo "Copied all existing newer configs successfully." |
| OLD | NEW |