Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Side by Side Diff: chromium/scripts/copy_config.sh

Issue 9290059: Initial commit of all previous Chrome build scripts. (Closed) Base URL: http://git.chromium.org/chromium/third_party/ffmpeg.git@master
Patch Set: Drop deprecated subfolder. Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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."
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698