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

Side by Side Diff: chromeos-base/autotest/autotest-9999.ebuild

Issue 5568008: Add cros dir into autotest ebuild. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/chromiumos-overlay.git@master
Patch Set: patch Created 10 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 # Distributed under the terms of the GNU General Public License v2 2 # Distributed under the terms of the GNU General Public License v2
3 3
4 EAPI=2 4 EAPI=2
5 5
6 inherit toolchain-funcs flag-o-matic cros-workon 6 inherit toolchain-funcs flag-o-matic cros-workon
7 7
8 DESCRIPTION="Autotest scripts and tools" 8 DESCRIPTION="Autotest scripts and tools"
9 HOMEPAGE="http://src.chromium.org" 9 HOMEPAGE="http://src.chromium.org"
10 SRC_URI="" 10 SRC_URI=""
(...skipping 17 matching lines...) Expand all
28 src_prepare() { 28 src_prepare() {
29 mkdir -p "${AUTOTEST_WORK}/client" 29 mkdir -p "${AUTOTEST_WORK}/client"
30 mkdir -p "${AUTOTEST_WORK}/server" 30 mkdir -p "${AUTOTEST_WORK}/server"
31 cp -fpu "${S}"/client/* "${AUTOTEST_WORK}/client" &>/dev/null 31 cp -fpu "${S}"/client/* "${AUTOTEST_WORK}/client" &>/dev/null
32 cp -fpru "${S}"/client/{bin,common_lib,tools} "${AUTOTEST_WORK}/client" 32 cp -fpru "${S}"/client/{bin,common_lib,tools} "${AUTOTEST_WORK}/client"
33 cp -fpu "${S}"/server/* "${AUTOTEST_WORK}/server" &>/dev/null 33 cp -fpu "${S}"/server/* "${AUTOTEST_WORK}/server" &>/dev/null
34 cp -fpru "${S}"/server/{bin,control_segments,hosts} "${AUTOTEST_WORK}/se rver" 34 cp -fpru "${S}"/server/{bin,control_segments,hosts} "${AUTOTEST_WORK}/se rver"
35 cp -fpru "${S}"/{conmux,tko,utils} "${AUTOTEST_WORK}" 35 cp -fpru "${S}"/{conmux,tko,utils} "${AUTOTEST_WORK}"
36 cp -fpru "${S}"/shadow_config.ini "${AUTOTEST_WORK}" 36 cp -fpru "${S}"/shadow_config.ini "${AUTOTEST_WORK}"
37 37
38 # cros directory is not from autotest upstream but cros project specific .
39 cp -fpru "${S}"/client/cros "${AUTOTEST_WORK}/client"
40 cp -fpru "${S}"/server/cros "${AUTOTEST_WORK}/server"
41
38 sed "/^enable_server_prebuild/d" "${S}/global_config.ini" > \ 42 sed "/^enable_server_prebuild/d" "${S}/global_config.ini" > \
39 "${AUTOTEST_WORK}/global_config.ini" 43 "${AUTOTEST_WORK}/global_config.ini"
40 } 44 }
41 45
42 src_install() { 46 src_install() {
43 insinto /usr/local/autotest 47 insinto /usr/local/autotest
44 doins -r "${AUTOTEST_WORK}"/* 48 doins -r "${AUTOTEST_WORK}"/*
45 49
46 # base __init__.py 50 # base __init__.py
47 touch "${D}"/usr/local/autotest/__init__.py 51 touch "${D}"/usr/local/autotest/__init__.py
(...skipping 15 matching lines...) Expand all
63 # setup stuff needed for read/write operation 67 # setup stuff needed for read/write operation
64 dodir "/usr/local/autotest/packages" 68 dodir "/usr/local/autotest/packages"
65 chmod a+wx "${D}/usr/local/autotest/packages" 69 chmod a+wx "${D}/usr/local/autotest/packages"
66 70
67 dodir "/usr/local/autotest/client/packages" 71 dodir "/usr/local/autotest/client/packages"
68 chmod a+wx "${D}/usr/local/autotest/client/packages" 72 chmod a+wx "${D}/usr/local/autotest/client/packages"
69 73
70 dodir "/usr/local/autotest/server/tmp" 74 dodir "/usr/local/autotest/server/tmp"
71 chmod a+wx "${D}/usr/local/autotest/server/tmp" 75 chmod a+wx "${D}/usr/local/autotest/server/tmp"
72 } 76 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698