1#!/bin/bash 2# 3# Copyright (c) 2013 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 telemetry_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 11if [ ! -d /usr/local/autotest/deps/chrome_test ] ; then 12 return 1 13fi 14 15if [ ! -e /usr/local/autotest/deps/chrome_test/test_src/data ]; then 16 ln -sf /usr/local/autotest/deps/telemetry_dep/test_src/data \ 17 /usr/local/autotest/deps/chrome_test/test_src/data 18fi 19