- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / test / chromeos / autotest / files / client / deps / page_cycler_dep / setup_test_links.sh
1 #!/bin/bash
2 #
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.
6 #
7 # This script makes a symlink from the page_cycler_dep to the correct place in
8 # the chrome_test version of the chrome source tree.
9
10 # Return an error code if the chrome_test dep isn't present
11 if [ ! -d /usr/local/autotest/deps/chrome_test ] ; then
12   return 1
13 fi
14
15 if [ ! -e /usr/local/autotest/deps/chrome_test/test_src/data ]; then
16   ln -sf /usr/local/autotest/deps/page_cycler_dep/test_src/data \
17       /usr/local/autotest/deps/chrome_test/test_src/data
18 fi