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

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

Issue 3327014: Copy pyauto scripts and support libs to autotest image. (Closed) Base URL: ssh://gitrw.chromium.org/chromiumos-overlay.git
Patch Set: after testing Created 10 years, 3 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
« 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) 2009 The Chromium OS Authors. All rights reserved. 1 # Copyright (c) 2009 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 # Usage: by default, downloads chromium browser from the build server. 4 # Usage: by default, downloads chromium browser from the build server.
5 # If CHROME_ORIGIN is set to one of {SERVER_SOURCE SERVER_BINARY,LOCAL_SOURCE, \ 5 # If CHROME_ORIGIN is set to one of {SERVER_SOURCE SERVER_BINARY,LOCAL_SOURCE, \
6 # LOCAL_BINARY}, 6 # LOCAL_BINARY},
7 # The build comes from the chromimum source repository (gclient sync), \ 7 # The build comes from the chromimum source repository (gclient sync), \
8 # build server, locally provided source, or 8 # build server, locally provided source, or
9 # precompiled locally provided source, respectively. 9 # precompiled locally provided source, respectively.
10 # If you are using SERVER_SOURCE, a gclient tempalte file that is in the files 10 # If you are using SERVER_SOURCE, a gclient tempalte file that is in the files
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 fi 330 fi
331 331
332 # For test binaries, we are bypassing the image on purpose. These bits w ill 332 # For test binaries, we are bypassing the image on purpose. These bits w ill
333 # be picked up later by autotest build. 333 # be picked up later by autotest build.
334 TEST_DIR="${D}"/usr/local/autotest/client/deps/chrome_test/test_src 334 TEST_DIR="${D}"/usr/local/autotest/client/deps/chrome_test/test_src
335 AUTOTEST_DIR="${D}"/usr/local/autotest 335 AUTOTEST_DIR="${D}"/usr/local/autotest
336 336
337 echo Copying Chrome tests into "${TEST_DIR}" 337 echo Copying Chrome tests into "${TEST_DIR}"
338 mkdir -p "${TEST_DIR}/out/Release" 338 mkdir -p "${TEST_DIR}/out/Release"
339 339
340 » cp -alv "${CHROME_ROOT}"/src/chrome/test/pyautolib/pyauto.py \ 340 » # Copy PyAuto scripts and suppport libs.
341 » » "${TEST_DIR}/out/Release" 341 » mkdir -p "${TEST_DIR}"/chrome/test
342 » cp -alv "${CHROME_ROOT}"/src/chrome/test/pyautolib \
343 » » "${TEST_DIR}"/chrome/test/pyautolib
344 » cp -alv "${CHROME_ROOT}"/src/chrome/test/functional \
345 » » "${TEST_DIR}"/chrome/test/functional
346 » mkdir -p "${TEST_DIR}"/third_party
347 » cp -alv "${CHROME_ROOT}"/src/third_party/simplejson \
348 » » "${TEST_DIR}"/third_party/simplejson
342 cp -alv "${FROM}"/pyautolib.py "${TEST_DIR}"/out/Release 349 cp -alv "${FROM}"/pyautolib.py "${TEST_DIR}"/out/Release
350
343 cp -alv "${FROM}"/pyproto "${TEST_DIR}"/out/Release 351 cp -alv "${FROM}"/pyproto "${TEST_DIR}"/out/Release
344 352
345 # When the splitdebug USE flag is used, debug info is generated for all 353 # When the splitdebug USE flag is used, debug info is generated for all
346 # executables. We don't want debug info for tests, so we pre-strip these 354 # executables. We don't want debug info for tests, so we pre-strip these
347 # executables. 355 # executables.
348 for f in lib.target/_pyautolib.so libppapi_tests.so browser_tests \ 356 for f in lib.target/_pyautolib.so libppapi_tests.so browser_tests \
349 reliability_tests ui_tests sync_integration_tests \ 357 reliability_tests ui_tests sync_integration_tests \
350 page_cycler_tests; do 358 page_cycler_tests; do
351 cp -alv "${FROM}"/${f} "${TEST_DIR}"/out/Release 359 cp -alv "${FROM}"/${f} "${TEST_DIR}"/out/Release
352 $(tc-getSTRIP) --strip-unneeded ${TEST_DIR}/out/Release/$(basena me ${f}) 360 $(tc-getSTRIP) --strip-unneeded ${TEST_DIR}/out/Release/$(basena me ${f})
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 dosym nspr/libplds4.so /usr/lib/libplds4.so.0d 473 dosym nspr/libplds4.so /usr/lib/libplds4.so.0d
466 dosym nspr/libplc4.so /usr/lib/libplc4.so.0d 474 dosym nspr/libplc4.so /usr/lib/libplc4.so.0d
467 dosym nspr/libnspr4.so /usr/lib/libnspr4.so.0d 475 dosym nspr/libnspr4.so /usr/lib/libnspr4.so.0d
468 476
469 # Use Flash from www-plugins/adobe-flash package. 477 # Use Flash from www-plugins/adobe-flash package.
470 if use x86; then 478 if use x86; then
471 dosym /opt/netscape/plugins/libflashplayer.so \ 479 dosym /opt/netscape/plugins/libflashplayer.so \
472 "${CHROME_DIR}"/plugins/libflashplayer.so 480 "${CHROME_DIR}"/plugins/libflashplayer.so
473 fi 481 fi
474 } 482 }
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