steveblock@chromium.org
f790e4ea8c
Pass android_sdk as a variable to gyp
...
This avoids the need for shell script in the gyp file.
Review URL: https://chromiumcodereview.appspot.com/10696047
git-svn-id: http://src.chromium.org/svn/trunk/src/build@145195 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-02 21:26:03 +00:00
ilevy@chromium.org
b0749d00d9
Add trybot compiler/tester annotator scripts
...
These are not currently called. Hooks will be added in a later CL.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10700037
git-svn-id: http://src.chromium.org/svn/trunk/src/build@145050 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-30 02:01:18 +00:00
mkosiba@chromium.org
e815ddae73
Disable URLFetcherEmptyPostTest.Basic on Android.
...
The test server spawner that this test depends on doesn't work
on Android yet.
TEST=
BUG=135165
Review URL: https://chromiumcodereview.appspot.com/10697034
git-svn-id: http://src.chromium.org/svn/trunk/src/build@144908 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-29 14:57:25 +00:00
nileshagrawal@chromium.org
b8ffae1378
Register JNI methods before running unittests on android.
...
A better way to implement: http://codereview.chromium.org/10658017/
BUG=125059
TEST=
Review URL: https://chromiumcodereview.appspot.com/10668047
git-svn-id: http://src.chromium.org/svn/trunk/src/build@144374 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-27 02:21:02 +00:00
dfalcantara@chromium.org
70530284ff
[Android] Upstreaming flag_changer.py
...
Upstreams one of the build scripts needed for Android.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10657002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@144269 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-26 20:51:34 +00:00
benm@chromium.org
caa591c207
Disable URLFetcher tests that require the test server on Android.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10636026
git-svn-id: http://src.chromium.org/svn/trunk/src/build@143916 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-25 17:00:21 +00:00
nileshagrawal@chromium.org
b19477a53b
Push pak files for APK tests.
...
BUG=125059
TEST=
Review URL: https://chromiumcodereview.appspot.com/10658003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@143757 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-23 00:19:06 +00:00
nileshagrawal@chromium.org
8f4bc8d902
Default to apk tests in run_tests.py
...
BUG=125059
TEST=
Review URL: https://chromiumcodereview.appspot.com/10667003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@143756 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-23 00:18:57 +00:00
jgreenwald@chromium.org
3fd4bb4913
Disable SyncHttpBridgeTest.* unit tests for Android
...
These tests were moved into sync unitests by r143575. However, these tests
don't work on Android.
BUG=133791
TEST=
Review URL: https://chromiumcodereview.appspot.com/10639019
git-svn-id: http://src.chromium.org/svn/trunk/src/build@143681 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-22 19:39:28 +00:00
nileshagrawal@chromium.org
2e799c9a67
Fail the buildbot step if no devices are connected.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10651003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@143565 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-22 09:16:35 +00:00
ilevy@chromium.org
9d7fe4fff8
Disable set -e for extract build step
...
This python script is returning warnings via error codes and
we don't want to halt our tests from these warnings.
BUG=132707
TEST=
Review URL: https://chromiumcodereview.appspot.com/10629011
git-svn-id: http://src.chromium.org/svn/trunk/src/build@143550 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-22 06:36:08 +00:00
ilevy@chromium.org
2e839781bc
Exclude lib.target folder from apk test tarballs
...
- We don't need this folder for our builds
BUG=132707
TEST=
Review URL: https://chromiumcodereview.appspot.com/10645008
git-svn-id: http://src.chromium.org/svn/trunk/src/build@143547 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-22 06:20:40 +00:00
nileshagrawal@chromium.org
dd5e4845a9
Build and run APK tests by default.
...
BUG=125059
TEST=
Review URL: https://chromiumcodereview.appspot.com/10580022
git-svn-id: http://src.chromium.org/svn/trunk/src/build@143478 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-21 22:46:24 +00:00
ilevy@chromium.org
18eed4eaec
Commenting out test step on new fyi tester
...
- apk tests are failing. We'll fix on my test buildbot setup
and then uncomment when they're green so we don't add a bad
upsteam bot.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10572051
git-svn-id: http://src.chromium.org/svn/trunk/src/build@143356 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-21 07:03:56 +00:00
ilevy@chromium.org
84f609499e
Revert "Revert 143261 - Upstreaming android tools"
...
- fixing permissions and relanding. CQ does not run
check_perms apparently.
- original review:
https://chromiumcodereview.appspot.com/10578032/
- failing bot log:
http://build.chromium.org/p/chromium/builders/Linux/builds/26592/steps/check_perms/logs/stdio
This reverts commit 1ad94575470ccb61f9a64915638aafac3269a28f.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10598004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@143329 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-21 01:57:32 +00:00
creis@chromium.org
e86bdc973e
Revert 143261 - Upstreaming android build tools
...
- These are used to monitor and debug devices when running tests
Hooks will be added in a separate CL.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10578032
TBR=ilevy@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10583044
git-svn-id: http://src.chromium.org/svn/trunk/src/build@143268 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-20 21:45:04 +00:00
ilevy@chromium.org
5968638430
Upstreaming android build tools
...
- These are used to monitor and debug devices when running tests
Hooks will be added in a separate CL.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10578032
git-svn-id: http://src.chromium.org/svn/trunk/src/build@143261 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-20 21:05:29 +00:00
nileshagrawal@chromium.org
b37a12c1a0
Disable HostResolverImplDnsTest on Android.
...
These tests need JNI (APK tests).
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10580041
git-svn-id: http://src.chromium.org/svn/trunk/src/build@143245 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-20 20:07:40 +00:00
ilevy@chromium.org
a2e6db8962
Adding buildbot main scripts for fyi builders and testers.
...
I'm removing the experimental compiler step from the builder to
reduce zip size.
BUG=132707
Review URL: https://chromiumcodereview.appspot.com/10533144
git-svn-id: http://src.chromium.org/svn/trunk/src/build@143149 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-20 05:34:33 +00:00
satish@chromium.org
9689aef196
Add quotes around command line arg to allow a wider range of URLs.
...
Without quotes the shell complains when trying to open URLs with shell special
characters including parentheses, single/double quotes etc. (e.g. data URLs)
TEST=adb_run_content_shell "data:text/html,<script>console.log(1);</script>"
BUG=None
Review URL: https://chromiumcodereview.appspot.com/10581025
git-svn-id: http://src.chromium.org/svn/trunk/src/build@143080 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-19 23:17:08 +00:00
digit@chromium.org
f183fe4f09
Fix build/android/run_tests.sh
...
Ensure run_tests.sh works properly on all devices by putting temporary
test files under /data/local/tmp, instead of /data/local/ which restricted
on some device builds.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10566028
git-svn-id: http://src.chromium.org/svn/trunk/src/build@142969 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-19 16:22:06 +00:00
zhenghao@chromium.org
9368f780a9
Make GetWebKitRootDirFilePath return correct dir on Android.
...
http://codereview.chromium.org/9433049 added a trick in
single_test_runner to pretend we have a chrome/ dir for
webkit_unit_tests. Now webkit layout test runs into the same problem, so
I change the implementation directly to make sure it returns correct dir
for both webkit_unit_tests and layout test.
BUG=webkit_unit_tests,layout test
Review URL: https://chromiumcodereview.appspot.com/10536140
git-svn-id: http://src.chromium.org/svn/trunk/src/build@142673 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-18 05:53:57 +00:00
jnd@chromium.org
8fd4da3a3a
Enable DiskCacheEntryTest.* on Chromium Android.
...
Those tests pass now
BUG=124731
TEST=net_unittests DiskCacheEntryTest.* pass
Review URL: https://chromiumcodereview.appspot.com/10546165
git-svn-id: http://src.chromium.org/svn/trunk/src/build@142190 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-14 19:28:18 +00:00
peter@chromium.org
3caf82e9e8
Duplicate Android's main builder entry-point for a WebKit Canary bot.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10542154
git-svn-id: http://src.chromium.org/svn/trunk/src/build@142119 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-14 09:51:31 +00:00
ilevy@chromium.org
25c5a4b13c
Fix STEP_WARNINGS for android buildbot
...
- bb_goma_make does not return the exit status of make
due to the goma shutdown step.
For bb_compile_experimental, bash exit on error is disabled
and we are relying on bb_goma_make exit status to determine
failure.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10536165
git-svn-id: http://src.chromium.org/svn/trunk/src/build@142111 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-14 08:48:52 +00:00
ilevy@chromium.org
0ffebc8764
Minor build/android/envsetup.sh tweaks
...
- Fixed todo comment
- Echoing gyp_generator variable when running android_gyp
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10546153
git-svn-id: http://src.chromium.org/svn/trunk/src/build@142109 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-14 08:03:50 +00:00
james.wei@intel.com
0dd4323d48
add option to suport setting target device for test
...
Sometimes multiple devices attached but want to run test suite on a specific device.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10532106
git-svn-id: http://src.chromium.org/svn/trunk/src/build@142059 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-14 01:33:21 +00:00
james.wei@intel.com
52c4cd0cad
Disable tests for GetMimeTypeFromExtension
...
After enable GetMimeTypeFromExtension with JNI implementation, need to disable these tests firstly
and can enable them after switch to APK test runner.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10533103
git-svn-id: http://src.chromium.org/svn/trunk/src/build@141752 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-12 21:54:02 +00:00
nileshagrawal@chromium.org
10b46f7443
Run ProcessUtil tests on Android.
...
TBRing as it is a simple gyp change.
TBR=mark@chromium.org
BUG=125059
TEST=
Review URL: https://chromiumcodereview.appspot.com/10544080
git-svn-id: http://src.chromium.org/svn/trunk/src/build@141337 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-09 01:08:51 +00:00
satish@google.com
77c500fa23
Get DomStorageDatabaseTest.TestCanOpenAndReadWebCoreDatabase pass on Android FYI builder.
...
The test requires a data file which is now in the whitelist of files copied over to device.
Sample failure on the bot:
http://build.chromium.org/p/chromium.fyi/builders/Chromium%20Linux%20Android/builds/10125/steps/Test%20suite%20content_unittests/logs/stdio
BUG=None
TEST=content_unittests should run successfully on the Android FYI builder.
Review URL: https://chromiumcodereview.appspot.com/10532064
git-svn-id: http://src.chromium.org/svn/trunk/src/build@141200 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-08 12:54:01 +00:00
bulach@chromium.org
42c1763119
Fix pexpect index for android test runner.
...
Following https://chromiumcodereview.appspot.com/10310046/
The index for pexpect.TIMEOUT is wrong.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10545055
git-svn-id: http://src.chromium.org/svn/trunk/src/build@141168 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-08 04:48:45 +00:00
tedchoc@chromium.org
8a1e8756dc
Disable failing android StopOnRedirect test.
...
We do not yet support the test server in android land.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10537068
git-svn-id: http://src.chromium.org/svn/trunk/src/build@141163 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-08 02:54:36 +00:00
wangxianzhu@chromium.org
253dfd874c
Fix gyp on Android called by gclient or makefile regen
...
v8/build/common.gypi now uses environment variable CXX_target which is only
set in android_gyp, not set when gyp_chromium is called by gclient or automatic
makefile regeneration.
Now exports the environment variables needed by gyp generation.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10511019
git-svn-id: http://src.chromium.org/svn/trunk/src/build@140431 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-04 23:39:58 +00:00
haitao.feng@intel.com
f022eaaaa0
Make emulator.py runnable and adjust partition size to 512
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10456078
git-svn-id: http://src.chromium.org/svn/trunk/src/build@140009 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-01 09:32:35 +00:00
nileshagrawal@chromium.org
bdc2d7d8cb
Enable APK based tests for all test bundles.
...
Any new test bundle should be APK enabled by default.
BUG=125059
TEST=
Review URL: https://chromiumcodereview.appspot.com/10458055
git-svn-id: http://src.chromium.org/svn/trunk/src/build@139832 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-31 18:40:15 +00:00
haitao.feng@intel.com
5af193827b
Add native debugging support for no-root mode
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10448096
git-svn-id: http://src.chromium.org/svn/trunk/src/build@139767 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-31 09:47:23 +00:00
nileshagrawal@chromium.org
2e37a543a8
Add net, content and ipc to the default list of APK test bundles.
...
These APK bundles are compiled and run on the android_test try bot.
Test run: http://build.chromium.org/p/tryserver.chromium/builders/android_test/builds/117
All tests pass.
BUG=125059
TEST=
Review URL: https://chromiumcodereview.appspot.com/10447050
git-svn-id: http://src.chromium.org/svn/trunk/src/build@139497 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-30 08:12:39 +00:00
james.wei@intel.com
524a46decf
validate CHROME_SRC setting to avoid confusion
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10409048
git-svn-id: http://src.chromium.org/svn/trunk/src/build@139480 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-30 07:44:21 +00:00
mkosiba@chromium.org
b0154db186
Fix Android run_tests.py to report failure on crashes.
...
This fixes the Android run_tests.py script to report crashed
tests as failures in both single-device and sharded mode.
BUG=none
TEST=run on trybot
Review URL: https://chromiumcodereview.appspot.com/10412054
git-svn-id: http://src.chromium.org/svn/trunk/src/build@139235 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-28 10:36:24 +00:00
nileshagrawal@chromium.org
e349fb8566
Fix regyp on android_test try bot.
...
BUG=125059
TEST=
Review URL: https://chromiumcodereview.appspot.com/10454039
git-svn-id: http://src.chromium.org/svn/trunk/src/build@139155 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-25 23:41:27 +00:00
wangxianzhu@chromium.org
1b837b7e7d
Fix break building v8 with goma
...
The error is caused by missing '-m32' parameter when building v8 for host.
CXX(host) out/Release/obj.host/v8_base/v8/src/accessors.o
v8/src/globals.h:120:2: error: #error Target architecture arm is only supported on arm and ia32 host
v8/build/common.gypi tests if the compiler supports -m32:
'm32flag': '<!((echo | $(echo ${CXX_host:-$(which g++)}) -m32 -E - > /dev/null 2>&1) && echo -n "-m32" || true)',
but goma is confused by the environment variable GOMA_WRAPPER and exits
with an error:
GOMA_WRAPPER=<anything>: unkown GOMA_ parameter
and the gyp script thinks that the compiler doesn't support -m32.
Rename GOMA_WRAPPER to ANDROID_GOMA_WRAPPER to avoid confusing goma.
git-svn-id: http://src.chromium.org/svn/trunk/src/build@138916 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-24 22:43:23 +00:00
nileshagrawal@chromium.org
c4002912c3
Run base_unittests_apk on the test try bot for realz.
...
This will make the android_test bot red when apk tests fail.
The ANDROID_APK_TEST_TARGET flag is required while we transition from executable to APK tests.
- Executable tests need the DIR_CACHE override as the default path comes from the java side.
BUG=125059
Review URL: https://chromiumcodereview.appspot.com/10332230
git-svn-id: http://src.chromium.org/svn/trunk/src/build@138407 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-23 00:48:50 +00:00
dfalcantara@chromium.org
6505be3bb0
[Android] Disable unit test relying on unimplemented function
...
The ResourceBundle.DelegateGetFont test has been failing since it was added in.
BUG=128661
TEST=
Review URL: https://chromiumcodereview.appspot.com/10386203
git-svn-id: http://src.chromium.org/svn/trunk/src/build@137804 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-18 02:42:42 +00:00
nileshagrawal@chromium.org
5ee821eab8
Fix test data push for APK tests.
...
test_package.test_suite_basename is used at a lof of places. For APK
tests we need to strip "-debug" from the full test name.
BUG=125059
TEST=
Review URL: https://chromiumcodereview.appspot.com/10406030
git-svn-id: http://src.chromium.org/svn/trunk/src/build@137737 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-17 21:20:41 +00:00
nileshagrawal@chromium.org
b65c31ef78
Fix test filter filename for APK based tests.
...
BUG=125059
TEST=
Review URL: https://chromiumcodereview.appspot.com/10391172
git-svn-id: http://src.chromium.org/svn/trunk/src/build@137614 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-17 02:09:57 +00:00
jingzhao@chromium.org
e460401de5
Upstream: Depend on OpenSSL directly instead of via system.gyp
...
build/android/system.gyp has an extra level of abstraction for openssl
which is currently not really doing anything since we don't yet support
using the system openssl on android. Remove it for now, because this
stops there from being two targets called "ssl" (this one and the one
for linux) - solving some problems with the android build backend for
gyp.
Review URL: https://chromiumcodereview.appspot.com/10332106
git-svn-id: http://src.chromium.org/svn/trunk/src/build@137379 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-16 07:40:01 +00:00
nileshagrawal@chromium.org
84a13a33f5
Put commandline for apk tests in /data/local/tmp
...
We were trying to use the application directory which is not usually
writable (unless the device is rooted). This allows us to run the tests
on non-rooted devices.
BUG=125059
TEST=
Review URL: https://chromiumcodereview.appspot.com/10398049
git-svn-id: http://src.chromium.org/svn/trunk/src/build@137368 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-16 05:50:18 +00:00
nileshagrawal@chromium.org
c6fb20115b
Run APK tests on the android_test trybot.
...
Test failures are ignored for now.
TBR=mark@chromium.org ,tsepez@chromium.org
BUG=125059
TEST=
Review URL: https://chromiumcodereview.appspot.com/10387086
git-svn-id: http://src.chromium.org/svn/trunk/src/build@137352 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-16 03:46:39 +00:00
jrg@chromium.org
e0a97f8d26
Add ${ANDROID_TOOLCHAIN} to $PATH to assist ninja.
...
Also minor upstreaming command movement.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10382177
git-svn-id: http://src.chromium.org/svn/trunk/src/build@137243 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-15 21:16:20 +00:00
mmocny@chromium.org
7cb2af2a3c
Fixing failing unittest for android: GpuMemoryManagerTest.TestForegroundStubsGetBonusAllocation
...
BUG=126521
TEST=fixing content_unittests, adding GpuMemoryManagerTest.TestForegroundStubsGetBonusAllocationAndroid
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=136593
Review URL: https://chromiumcodereview.appspot.com/10383067
git-svn-id: http://src.chromium.org/svn/trunk/src/build@136904 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-14 17:44:12 +00:00
mmocny@chromium.org
8ded7b7f87
Revert 136593 - Fixing failing unittest for android: GpuMemoryManagerTest.TestForegroundStubsGetBonusAllocation
...
BUG=126521
TEST=fixing content_unittests, adding GpuMemoryManagerTest.TestForegroundStubsGetBonusAllocationAndroid
Review URL: https://chromiumcodereview.appspot.com/10383067
TBR=mmocny@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10332121
git-svn-id: http://src.chromium.org/svn/trunk/src/build@136613 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-11 18:09:43 +00:00
jrg@chromium.org
dbafb5fd9d
Rename Compile to compile for CQ happiness
...
BUG=None
TEST=
Review URL: https://chromiumcodereview.appspot.com/10377110
git-svn-id: http://src.chromium.org/svn/trunk/src/build@136600 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-11 17:21:05 +00:00
mmocny@chromium.org
3b254fd88b
Fixing failing unittest for android: GpuMemoryManagerTest.TestForegroundStubsGetBonusAllocation
...
BUG=126521
TEST=fixing content_unittests, adding GpuMemoryManagerTest.TestForegroundStubsGetBonusAllocationAndroid
Review URL: https://chromiumcodereview.appspot.com/10383067
git-svn-id: http://src.chromium.org/svn/trunk/src/build@136593 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-11 17:04:55 +00:00
nileshagrawal@chromium.org
3715609667
Fix chromium_base.jar path for APK builds.
...
Also, Don't make try_compile_test bot RED if native tests APK fails to compile.
BUG=125059
TBR=mark@chromium.org ,tsepez@chromium.org
TEST=
Review URL: https://chromiumcodereview.appspot.com/10310098
git-svn-id: http://src.chromium.org/svn/trunk/src/build@136496 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-11 03:23:47 +00:00
mkosiba@chromium.org
e49a9ab4c9
Remove the 'Test Finished' step from run_tests.py.
...
The 'Test Finished' step was introduced in r130823 to absorb the
non-zero exit status which we'd get if any of the test suites in
the batch would fail.
Since the run_tests.py script will print a STEP_FAILURE annotation
for every suite the exit status is redundant and therefore should
be removed.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10382100
git-svn-id: http://src.chromium.org/svn/trunk/src/build@136302 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-10 15:00:56 +00:00
yongsheng.zhu@intel.com
d537c9b2ff
Strip 'webkit_unit_tests' before uploading to Android emulator or devices
...
This binary is not stripped in the build step. It should be stripped
for it's too big.
BUG=126616
TEST=
Review URL: https://chromiumcodereview.appspot.com/10375050
git-svn-id: http://src.chromium.org/svn/trunk/src/build@136236 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-10 03:13:07 +00:00
jrg@chromium.org
ee05979f3f
Android content shell bringup.
...
Build media java files (we weren't).
Fix adb_install_content_shell for cases where the app was stuck.
Add upstream staging gyp var / #define.
Be more consistent about jar output files (all in lib.java).
Upstream a bunch of random files (e.g. ppapi).
Upstream a bunch of java and native code hit as part of shlib init.
Properly package jar files in content shell.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10377059
git-svn-id: http://src.chromium.org/svn/trunk/src/build@136219 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-10 01:50:47 +00:00
nileshagrawal@chromium.org
c566fff619
Detect crashes while running native tests in APK.
...
Adding signal handlers (for fatal signals) to output a marker indicating
that the test crashed.
BUG=125059
TEST=
Review URL: https://chromiumcodereview.appspot.com/10310046
git-svn-id: http://src.chromium.org/svn/trunk/src/build@136050 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-09 16:59:12 +00:00
jnd@chromium.org
ca9c4be795
Disable some test server based tests on Chromium Linux Android.
...
The test server based tests are because test server spawner is not enabled
on Chromium Android. Once the net upstreaming is done, test server spawner
can be enabled and those tests should pass on Chromium Android.
BUG=None.
TEST=Make Chromium Linux Android bot green.
TBR=jrg, yfriedman
Review URL: https://chromiumcodereview.appspot.com/10381069
git-svn-id: http://src.chromium.org/svn/trunk/src/build@135996 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-09 06:40:41 +00:00
nileshagrawal@chromium.org
654d1b355d
Disable failing GpuMemoryManagerTest for android.
...
BUG=126521
TEST=
Review URL: https://chromiumcodereview.appspot.com/10375040
git-svn-id: http://src.chromium.org/svn/trunk/src/build@135859 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-08 17:23:38 +00:00
wangxianzhu@chromium.org
8a16b30210
Let android_gyp pass extra parameters to gyp
...
This is useful for example
android_gyp --help
or
android_gyp --format=dump_dependency_json (to generate a dependency graph).
BUG=none
TEST=Run android_gyp --help
Review URL: https://chromiumcodereview.appspot.com/10381043
git-svn-id: http://src.chromium.org/svn/trunk/src/build@135746 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-07 22:33:19 +00:00
jrg@chromium.org
c17692295b
Add native debugging support to android content shell.
...
How to native debug:
- apply the patch listed in the code review description
- adb_run_content_shell
- gdb_content_shell
- attach Eclipse; continue
- now boom! SEGV in gdb.
Sadly the native library crashes while loading so it's not registered
with gdb yet (e.g no symbols or stack).
This CL also adds in a file that got lost
(testing/android/README.chromium).
BUG=
TEST=
Review URL: http://codereview.chromium.org/10254028
git-svn-id: http://src.chromium.org/svn/trunk/src/build@135652 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-07 16:25:57 +00:00
wangxianzhu@chromium.org
916b0c36fe
Reapply "Changes according to review comments"
...
Fixed an "unused variable" issue of the original CL (http://codereview.chromium.org/10224004/ ).
Use Android API for GetDisplayNameForLocale().
Using Android API, we can reduce the data size of ICU and thus reduce the
binary size of chromium-android.
BUG=none
TEST=L10nUtilTest.GetDisplayNameForLocale,L10nUtilTest.GetDisplayNameForCountry
TBR=jrg@chromium.org ,isherman@chromium.org,mark@chromium.org,jshin@chromium.org,rvargas@chromium.org
Review URL: http://codereview.chromium.org/10310029
git-svn-id: http://src.chromium.org/svn/trunk/src/build@135524 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-05 03:11:38 +00:00
rvargas@google.com
10107d303f
Revert 135484 - Use Android API for GetDisplayNameForLocale().
...
failure:
http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28x86%29/builds/4835/steps/BuildTarget/logs/stdio
Using Android API, we can reduce the data size of ICU and thus reduce the
binary size of chromium-android.
BUG=none
TEST=L10nUtilTest.GetDisplayNameForLocale,L10nUtilTest.GetDisplayNameForCountry
TBR=sky
Review URL: http://codereview.chromium.org/10224004
TBR=wangxianzhu@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10380018
git-svn-id: http://src.chromium.org/svn/trunk/src/build@135490 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-04 23:55:30 +00:00
wangxianzhu@chromium.org
cddb72154a
Use Android API for GetDisplayNameForLocale().
...
Using Android API, we can reduce the data size of ICU and thus reduce the
binary size of chromium-android.
BUG=none
TEST=L10nUtilTest.GetDisplayNameForLocale,L10nUtilTest.GetDisplayNameForCountry
TBR=sky
Review URL: http://codereview.chromium.org/10224004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@135484 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-04 23:32:56 +00:00
james.wei@intel.com
3bb4660eb6
This patch is to enable x86 android build.
...
patch includes two parts:
1. gyp files modification to include x86 android build.
2. add android config files for yasm which is copied from linux ones. enable android x86 build
This patch is cloned from the issue #10198027 for ownership issue.
https://chromiumcodereview.appspot.com/10198027/
BUG=125160
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=135087
Review URL: http://codereview.chromium.org/10271039
git-svn-id: http://src.chromium.org/svn/trunk/src/build@135110 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-03 09:17:45 +00:00
rsleevi@chromium.org
757089c2e1
Revert 135087 - This patch is to enable x86 android build.
...
patch includes two parts:
1. gyp files modification to include x86 android build.
2. add android config files for yasm which is copied from linux ones. enable android x86 build
This patch is cloned from the issue #10198027 for ownership issue.
https://chromiumcodereview.appspot.com/10198027/
BUG=125160
TEST=
Review URL: http://codereview.chromium.org/10271039
TBR=james.wei@intel.com
Review URL: https://chromiumcodereview.appspot.com/10331008
git-svn-id: http://src.chromium.org/svn/trunk/src/build@135095 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-03 05:03:14 +00:00
james.wei@intel.com
f686c213c2
This patch is to enable x86 android build.
...
patch includes two parts:
1. gyp files modification to include x86 android build.
2. add android config files for yasm which is copied from linux ones. enable android x86 build
This patch is cloned from the issue #10198027 for ownership issue.
https://chromiumcodereview.appspot.com/10198027/
BUG=125160
TEST=
Review URL: http://codereview.chromium.org/10271039
git-svn-id: http://src.chromium.org/svn/trunk/src/build@135087 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-03 04:00:39 +00:00
dfalcantara@chromium.org
f8167ac3d9
Disables a test to get the Android FYI bot green
...
Disables FileUtilProxyTest.Touch; it doesn't seem to have ever worked for Android and is keeping the bot red.
BUG=
TEST=
Review URL: http://codereview.chromium.org/10253018
git-svn-id: http://src.chromium.org/svn/trunk/src/build@134411 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-28 00:43:08 +00:00
jrg@chromium.org
a6747feb99
Package and load native library in content shell. Add content shell util scripts.
...
BUG=None
TEST=
Review URL: http://codereview.chromium.org/10223007
git-svn-id: http://src.chromium.org/svn/trunk/src/build@134030 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-26 00:48:41 +00:00
nileshagrawal@chromium.org
b75696ded7
Fix commandline and disabling tests for apk based tests.
...
Command for running with a test filter:
./build/android/run_tests.py -s
out/Release/base_unittests_apk/base_unittests-debug.apk -f
FileUtilTest.*
The _disabled file should be base_unittests-debug_disabled
BUG=
TEST=
Review URL: http://codereview.chromium.org/10214002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@133838 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-25 01:50:21 +00:00
nileshagrawal@chromium.org
bd742e0900
Add test summaries for native tests for Android.
...
Modify test_result.LogFull() to print the summary, and call it when
native finish running.
BUG=
TEST=
Review URL: http://codereview.chromium.org/10210001
git-svn-id: http://src.chromium.org/svn/trunk/src/build@133830 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-25 01:04:45 +00:00
yfriedman@chromium.org
e35c9e9494
Update net/android/network_library.cc with fresher code.
...
Also adds it to the build to ensure it doesn't suffer bit-rot again, and
include Java-side component.
Review URL: http://codereview.chromium.org/10171009
git-svn-id: http://src.chromium.org/svn/trunk/src/build@133591 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-24 01:34:41 +00:00
maruel@chromium.org
ad0f4df047
Remove shebang from non-executable script.
...
R=jrg@chromium.org
BUG=
TEST=
Review URL: http://codereview.chromium.org/10186005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@133567 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-23 23:45:29 +00:00
nileshagrawal@chromium.org
55ff008c78
Look for "END" marker while runnig APK tests.
...
test_package_apk is watching adb logcat and will never see EOF.
BUG=
TEST=
Review URL: http://codereview.chromium.org/10204001
git-svn-id: http://src.chromium.org/svn/trunk/src/build@133566 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-23 23:40:59 +00:00
maruel@chromium.org
ff50d0dcb5
Set svn:executable bit on scripts that are executable.
...
R=mark@chromium.org
BUG=
TEST=
Review URL: http://codereview.chromium.org/10165021
git-svn-id: http://src.chromium.org/svn/trunk/src/build@133399 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-23 03:24:12 +00:00
jrg@chromium.org
5354603cad
apk-based test runner work for android. 2 unit test bundles converted over (ipc, base).
...
OFF by default; enable with a gyp var. E.g.
GYP_DEFINES="$GYP_DEFINES gtest_target_type=shared_library" android_gyp
Some useful commands:
adb uninstall org.chromium.native_test
adb install -r out/Release/base_unittests_apk/ChromeNativeTests-debug.apk
adb shell am start -n org.chromium.native_test/org.chromium.native_test.ChromeNativeTestActivity
For the moment, all apks can be built simultaneously but use the same
activity name. Thus you cannot have more than one installed at the
same time.
BUG=None
TEST=
Review URL: http://codereview.chromium.org/10051021
git-svn-id: http://src.chromium.org/svn/trunk/src/build@133053 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-19 21:02:09 +00:00
yfriedman@chromium.org
a5bc72ea2a
Disable newly added test for Android.
...
Depends on test server which isn't operational yet.
Review URL: https://chromiumcodereview.appspot.com/10124011
git-svn-id: http://src.chromium.org/svn/trunk/src/build@133015 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-19 18:07:37 +00:00
yfriedman@chromium.org
3a1b1b2d3e
Enable gpu_unittests for Android.
...
It builds and runs successfully.
Review URL: http://codereview.chromium.org/10107023
git-svn-id: http://src.chromium.org/svn/trunk/src/build@132622 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-17 19:58:12 +00:00
jrg@chromium.org
d91074ccb4
Disable some tests which newly fail on Android
...
BUG=None
TEST=
Review URL: https://chromiumcodereview.appspot.com/10082015
git-svn-id: http://src.chromium.org/svn/trunk/src/build@132241 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-13 19:41:47 +00:00
wangxianzhu@chromium.org
dd8796dfb3
Don't show failure of the last succeeded test
...
Before this change, if some test failed before the last test succeeded,
because of the return value, the buildbot will show that the last test also
failed. Add a summary build step to avoid that.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/9989001
git-svn-id: http://src.chromium.org/svn/trunk/src/build@130823 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-05 02:53:29 +00:00
wangxianzhu@chromium.org
d80ce0caef
Build and push chrome.pak for ui_unittests on Android.
...
BUG=None
TEST=build/android/run_tests.py -s out/Release/ui_unittests
Review URL: http://codereview.chromium.org/9963086
git-svn-id: http://src.chromium.org/svn/trunk/src/build@130547 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-04 03:03:04 +00:00
rsleevi@chromium.org
2e6201830d
Update test suppressions / disabled tests following refactoring.
...
Some of these suppressed tests no longer exist or were renamed. They
have not been failing since they were renamed, so it should be fine.
Additionally, in the case of the CertVerifier tests, these tests now
use a mock stub for testing caching behaviour, and thus no longer
block dependent on the system libraries.
R=wtc
BUG=117372, 67599
TEST=net_unittests
Review URL: https://chromiumcodereview.appspot.com/9965036
git-svn-id: http://src.chromium.org/svn/trunk/src/build@130419 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-03 18:28:52 +00:00
wangxianzhu@chromium.org
a44d5abcb4
Disable ui_unittests before we resolve resource pack issue.
...
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/9963076
git-svn-id: http://src.chromium.org/svn/trunk/src/build@130271 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-03 01:02:23 +00:00
wangxianzhu@chromium.org
ff12ec33c2
Enable ui_unittests in Android build
...
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/9958026
git-svn-id: http://src.chromium.org/svn/trunk/src/build@130188 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-02 20:09:43 +00:00
bulach@chromium.org
06e1c0fdd8
Android fyi content_unittests fix.
...
Disables a couple of tests that are already marked as flaky
on other platforms, and currently failing on our FYI bots:
http://build.chromium.org/p/chromium.fyi/builders/Chromium%20Linux%20Android/builds/7638/steps/Test%20suite%20content_unittests/logs/stdio
BUG=104950
TEST=content_unittests runs fine on android
Review URL: http://codereview.chromium.org/9875017
git-svn-id: http://src.chromium.org/svn/trunk/src/build@129430 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-28 17:09:14 +00:00
bulach@chromium.org
b4127ddfa3
Fixes android.fiy bot base_unittests.
...
Following:
http://codereview.chromium.org/9860035
we need to push an extra data file.
BUG=
TEST=JSONReaderTest.ReadFromFile
Review URL: http://codereview.chromium.org/9844017
git-svn-id: http://src.chromium.org/svn/trunk/src/build@129419 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-28 15:59:29 +00:00
rsleevi@chromium.org
962d5c4564
Revert 128679 - Speculative revert. xcodebuilders hosed between r128678 - 128680 in GYP phse, this is the only change that touched GYP files.
...
apk-based test runner work. Not enabled yet. This CL is a combination of upstreaming, ndk/ant-ification, and other tweaks.
BUG=None
TEST=
Review URL: http://codereview.chromium.org/9834037
TBR=jrg@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9852004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@128685 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-24 04:44:41 +00:00
jrg@chromium.org
d168ae37cd
apk-based test runner work. Not enabled yet. This CL is a combination of upstreaming, ndk/ant-ification, and other tweaks.
...
BUG=None
TEST=
Review URL: http://codereview.chromium.org/9834037
git-svn-id: http://src.chromium.org/svn/trunk/src/build@128679 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-24 03:57:36 +00:00
jrg@chromium.org
a1974b3a7f
Enable goma for Android. Fix non-goma 'make' builds.
...
BUG=None
TEST=
Review URL: http://codereview.chromium.org/9693016
git-svn-id: http://src.chromium.org/svn/trunk/src/build@127919 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-21 07:09:49 +00:00
bulach@chromium.org
f0219b05fd
Chrome on Android: fix cross-compilation setup.
...
This patch removes the need of exporting / setting
CROSS_C* variables when calling make for android.
Instead, set them at Makefile generation time so that gyp will
set the right compilers when calling android_gyp.
This also allows goma builds.
BUG=
TEST=builds for android.
Review URL: http://codereview.chromium.org/9693042
git-svn-id: http://src.chromium.org/svn/trunk/src/build@127667 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-20 10:45:27 +00:00
wangxianzhu@google.com
30c32b9748
Disable GPUTestExpectationsParserTest.WebGLTestExpectationsValidation on Android
...
BUG=118542
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9699101
git-svn-id: http://src.chromium.org/svn/trunk/src/build@127075 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-16 01:46:58 +00:00
wangxianzhu@google.com
b71f9590d8
Disable URLFetcherUploadProgressTest.Basic
...
It's not feasible to run it on Android for now.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9701087
git-svn-id: http://src.chromium.org/svn/trunk/src/build@127050 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-16 00:44:32 +00:00
satish@chromium.org
a75b06b5a1
Enable running content_unittests on the android builder.
...
This adds a blacklist of known test failures and adds content_unittests to the
list of test suites to run.
BUG=None
TEST=content_unittests should start running and pass on the android builder.
Review URL: http://codereview.chromium.org/9703066
git-svn-id: http://src.chromium.org/svn/trunk/src/build@127020 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-15 23:09:34 +00:00
peter@chromium.org
08bcd48b81
Upstream Android's PathUtils implementation.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org/9443018
git-svn-id: http://src.chromium.org/svn/trunk/src/build@126624 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-14 11:24:04 +00:00
yfriedman@chromium.org
bcc556a429
Add sync_unit_test to known lists of Android unit tests.
...
This will cause them to be run on the test/experimental bots.
These tests are currently passing and we should keep them that way.
BUG=
TEST=
Review URL: http://codereview.chromium.org/9696031
git-svn-id: http://src.chromium.org/svn/trunk/src/build@126556 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-14 04:14:09 +00:00
steveblock@chromium.org
f0f4e0995b
Move third_party/android/testrunner to third_party/android_testrunner
...
The original intent was to have multiple subdirectories under
third_party/android/, but the need for these has not arisen and it potentially
adds complexity.
Also update the license checker tool to prune this directory, as the code is
used only for testing.
'tools/licenses.py scan | grep android'
See http://codereview.chromium.org/8322008 .
Review URL: http://codereview.chromium.org/9622010
git-svn-id: http://src.chromium.org/svn/trunk/src/build@125451 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-07 21:12:36 +00:00
navabi@google.com
4973b55eb9
Add install script for ant/java for Android and rename sdk install script.
...
As we upstream Java source code, the upstream bots and developers need to hava
java and ant. Ant is used to build the java source code. Installing ant/java
requires sudo privileges which installation of sdk/ndk does not require. The
patch moves the install script for sdk/ndk to install-build-deps-android-sdk.sh.
The new install script for ant/java is called install-ubild-deps-android.sh and
will prompt the user for sudo password.
BUG=http://code.google.com/p/chromium/issues/detail?id=117023
TEST=
Review URL: http://codereview.chromium.org/9605020
git-svn-id: http://src.chromium.org/svn/trunk/src/build@125297 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-07 02:22:18 +00:00
jgreenwald@chromium.org
3186f6605c
Filter out more tests from net_unittests
...
Some refactoring occured that broke some more Chrome on Android tests.
See: https://chromiumcodereview.appspot.com/9582034
These will be fixed later.
BUG=
TEST=
Review URL: http://codereview.chromium.org/9597027
git-svn-id: http://src.chromium.org/svn/trunk/src/build@124997 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-05 21:03:03 +00:00
jrg@chromium.org
85d18c0909
Replace make function back now that not using goma (removed in http://chromiumcodereview.appspot.com/9570042 )
...
TBR=maruel@chromium.org
BUG=None
TEST=
Review URL: https://chromiumcodereview.appspot.com/9585002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@124615 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-02 06:44:16 +00:00
jrg@chromium.org
92950e94b5
Disable Goma for Android bots.
...
BUG=None
TEST=
Review URL: https://chromiumcodereview.appspot.com/9584001
git-svn-id: http://src.chromium.org/svn/trunk/src/build@124612 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-02 06:31:06 +00:00
jrg@chromium.org
9e9f9540f8
Use goma for android builds.
...
BUG=None
TEST=
Review URL: https://chromiumcodereview.appspot.com/9570042
git-svn-id: http://src.chromium.org/svn/trunk/src/build@124565 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-02 01:30:42 +00:00
bulach@chromium.org
953d4d6923
Upstream test sharder.
...
On chromium for android, we shard tests by splitting the set of tests
and running on multiple connected devices.
BUG=
TEST=build/android/run_tests.py
Review URL: http://codereview.chromium.org/9494007
git-svn-id: http://src.chromium.org/svn/trunk/src/build@124214 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-29 18:40:27 +00:00
jrg@google.com
9e8734ebea
Self-install Android SDK/NDK tools on each build.
...
This mechanism was enabled for the FYI bot a week ago and looks good.
BUG=None
TEST=
Review URL: https://chromiumcodereview.appspot.com/9429073
git-svn-id: http://src.chromium.org/svn/trunk/src/build@124048 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-28 22:38:19 +00:00
jrg@google.com
cc7d425020
'make -k' for android_experimental compile (not just make)
...
BUG=None
TEST=
Review URL: https://chromiumcodereview.appspot.com/9514007
git-svn-id: http://src.chromium.org/svn/trunk/src/build@124015 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-28 20:24:57 +00:00
zhenghao@chromium.org
29f3ec4e85
Fix Android FYI bot.
...
Disable StackContainer.BufferAlignment.
BUG=115612
TEST=None
Review URL: http://codereview.chromium.org/9455050
git-svn-id: http://src.chromium.org/svn/trunk/src/build@123466 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-24 11:58:53 +00:00
jknotten@chromium.org
fe6fec623c
Make sure that chrome/ dir exists for webkit_unit_tests on Android.
...
webkit_support::GetWebKitRootDirFilePath() looks for a chrome/ directory so
that it can identify this as a chrome working directory and therefore add
third_party/WebKit to the path to get the WebKit root dir. This normally
works because other unit tests pull in the chrome directory for their own
reasons, but if this is the first test run on a blank /data/local/tmp
directory, webkit_unit_test fails when it tries to load resources required
for the tests.
Pull in chrome/VERSION and thus ensure that the chrome/ directory exists.
TEST=webkit_unit_tests
Review URL: http://codereview.chromium.org/9433049
git-svn-id: http://src.chromium.org/svn/trunk/src/build@123312 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-23 20:32:53 +00:00
yfriedman@chromium.org
ceb36ef58d
Switch android fyi builder to actually build the "android_experimental" target.
...
Also updates that target with in process build targets and disables a
failing test.
BUG=113487
TEST=
Review URL: http://codereview.chromium.org/9433007
git-svn-id: http://src.chromium.org/svn/trunk/src/build@122905 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-21 23:30:13 +00:00
jrg@chromium.org
8dc4c35c48
Android build: 64-bit linker issues.
...
Fix install-build-deps-android.sh so it can be re-run cheaply.
Update install-build-deps-android.sh so it installs the 64-bit linker.
Run install-build-deps-android.sh each build on the FYI bot.
Move content_unittests to experimental so the FYI builder hits it.
BUG=None
TEST=
Review URL: http://codereview.chromium.org/9401029
git-svn-id: http://src.chromium.org/svn/trunk/src/build@122665 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-18 01:58:43 +00:00
wangxianzhu@chromium.org
8161bd6d41
Use 'readlink -f .' instead of 'pwd' when setting CHROME_SRC
...
Some python script (e.g. tools/grit/grit/node/misc.py) assumes that there is no
symblic link in the path of CHROME_SRC.
BUG=
TEST=
Review URL: http://codereview.chromium.org/9350052
git-svn-id: http://src.chromium.org/svn/trunk/src/build@121788 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-14 00:41:55 +00:00
jrg@google.com
dfed5ee6c1
Disable some tests to get Android FYI bot green.
...
BUG=None
TEST=
Review URL: https://chromiumcodereview.appspot.com/9346011
git-svn-id: http://src.chromium.org/svn/trunk/src/build@120719 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-07 04:40:56 +00:00
jrg@google.com
e9a269cedf
Fix comment about non-emulator android tests.
...
Switch FYI bot to run non-emulator tests (see related CL to switch over).
BUG=None
TEST=
Review URL: https://chromiumcodereview.appspot.com/9223034
git-svn-id: http://src.chromium.org/svn/trunk/src/build@119754 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-30 22:52:38 +00:00
jrg@google.com
599f63691d
Android buildbot refactor.
...
Add distinct entry points for each type of chromium android buildbot.
Make it super-ez for a sheriff to disable (force green) any of them.
BUG=None
TEST=
Review URL: https://chromiumcodereview.appspot.com/9249030
git-svn-id: http://src.chromium.org/svn/trunk/src/build@118471 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-20 19:59:10 +00:00
jrg@google.com
1abcbf7e39
Cycle through port pools for Android emulator.
...
BUG=None
TEST=
Review URL: http://codereview.chromium.org/9194006
git-svn-id: http://src.chromium.org/svn/trunk/src/build@117616 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-13 06:50:01 +00:00
jrg@google.com
6a48d3983a
Add annotator tags for better debugging. More suppressions and other tweaks.
...
BUG=None
TEST=
Review URL: http://codereview.chromium.org/9104002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@117583 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-13 02:34:21 +00:00
jrg@google.com
4cf7a559e1
Restart the Android emulator for each test.
...
BUG=None
TEST=
Review URL: http://codereview.chromium.org/9187062
git-svn-id: http://src.chromium.org/svn/trunk/src/build@117508 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-12 21:36:37 +00:00
jrg@google.com
a45f7bc4cb
Increase Android test robustness.
...
Use of the emulator is probably a lost cause, but maybe this can hold
us for now.
BUG=None
TEST=
Review URL: http://codereview.chromium.org/9185043
git-svn-id: http://src.chromium.org/svn/trunk/src/build@117458 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-12 18:47:45 +00:00
peter@chromium.org
cdee1a8014
Check whether the file exists before cleaning it up.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org/9190012
git-svn-id: http://src.chromium.org/svn/trunk/src/build@117244 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-11 18:27:22 +00:00
peter@chromium.org
051ba405f6
Always enable the ARMv7 architecture for Android builds
...
BUG=
TEST=
Review URL: http://codereview.chromium.org/9111018
git-svn-id: http://src.chromium.org/svn/trunk/src/build@116662 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-06 13:10:07 +00:00
jrg@chromium.org
19f63a01d7
Rename env var to match new output folder of latest SDK
...
BUG=None
TEST=
Review URL: http://codereview.chromium.org/9114002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@116527 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-05 19:25:41 +00:00
jrg@google.com
12d1df1df6
Android emulator image cleanup.
...
BUG=None
TEST=
Review URL: http://codereview.chromium.org/8889040
git-svn-id: http://src.chromium.org/svn/trunk/src/build@113771 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-09 07:04:32 +00:00
jrg@google.com
642bb7bf74
Disable a test that hangs (on both emulator and device).
...
BUG=None
TEST=
Review URL: http://codereview.chromium.org/8890046
git-svn-id: http://src.chromium.org/svn/trunk/src/build@113689 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-08 23:23:40 +00:00
jrg@google.com
51c11e2a7c
Use -wipe-data on emulator launch to improve android bot reliability.
...
BUG=None
TEST=
Review URL: http://codereview.chromium.org/8863003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@113492 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-07 22:57:52 +00:00
jrg@chromium.org
cb846b6c0c
Android buildbot: be more tolerant of 'stuck' devices.
...
Be explicit about which device we are 'wait for boot'ing on. Also add
explicit timeout on wait-for-boot.
BUG=None
TEST=
Review URL: http://codereview.chromium.org/8831002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@113363 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-07 08:12:45 +00:00
jrg@chromium.org
1c43eeb41a
Adapt Android buildbot.sh towards an Android trybot.
...
For now, the trybot will be compile-only to help with reliability.
BUG=None
TEST=
Review URL: http://codereview.chromium.org/8816004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@113271 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-06 23:23:54 +00:00
jrg@google.com
7d20ff4535
Android buildbot reliability fixes.
...
More changes to help make the chromium android buildbot more reliable.
Unlikely to be comprehensive but in the right direction.
BUG=None
TEST=
Review URL: http://codereview.chromium.org/8787010
git-svn-id: http://src.chromium.org/svn/trunk/src/build@113004 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-05 20:28:13 +00:00
jrg@google.com
31879914d7
Android bot changes for robustness, profiling, and debugging.
...
Kill all emulators before starting a test to be more robust on error.
Print error if a file fails to copy to the device.
Speed up emulator launch by 40%.
Increase emulator partition size to fix 'out of space on device' errors.
Log emulator launch time to help profile bot costs.
Run tests in verbose mode to assist with bot debugging.
BUG=None
TEST=
Review URL: http://codereview.chromium.org/8769020
git-svn-id: http://src.chromium.org/svn/trunk/src/build@112552 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-01 22:09:03 +00:00
jrg@google.com
5e75de21b2
Check $? of 'make' before a 'set -e' call. Else it is overridden.
...
BUG=None
TEST=
Review URL: http://codereview.chromium.org/8758007
git-svn-id: http://src.chromium.org/svn/trunk/src/build@112360 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-01 00:49:14 +00:00
jrg@google.com
3bda64a549
Expand android tests.
...
Add net_unittests to baseline build/run; add some test disabling.
Add experimental build phase to bot script.
BUG=None
TEST=
Review URL: http://codereview.chromium.org/8746003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@112296 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-30 21:46:12 +00:00
jrg@chromium.org
845656eb55
Android 'all' (and All) changes.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org/8677021
git-svn-id: http://src.chromium.org/svn/trunk/src/build@111802 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-28 23:07:53 +00:00
jrg@chromium.org
b6a0661351
Verbose on test list in output. Add test-related comment near deps.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org/8676022
git-svn-id: http://src.chromium.org/svn/trunk/src/build@111738 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-28 19:19:20 +00:00
maruel@chromium.org
54cc84e6fd
Remove svn:executable bit from non executable script build/android/single_test_runner.py
...
BUG=105108
git-svn-id: http://src.chromium.org/svn/trunk/src/build@111656 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-27 20:35:07 +00:00
maruel@chromium.org
628d2696f1
Fix python scripts in src/build/
...
Make sure that:
- shebang is only present for executable files
- shebang is #!/usr/bin/env python
- __main__ is only present for executable files
- file's executable bit is coherent
Also fix EOF LF to be only one.
TBR=michaelbai@chromium.org
BUG=105108
TEST=
Review URL: http://codereview.chromium.org/8667008
git-svn-id: http://src.chromium.org/svn/trunk/src/build@111385 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-23 19:13:44 +00:00
jingzhao@chromium.org
0fff30ce7f
Upstream: Gyp changes to build net_unittests for Android.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org/8610006
git-svn-id: http://src.chromium.org/svn/trunk/src/build@111114 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-22 07:53:01 +00:00
jrg@google.com
ea6cfee5c6
Jack up timeouts for buildbots running android tests.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org/8622002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@111025 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-21 23:07:55 +00:00
jrg@google.com
6ad790e582
Refuse to always clobber.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org/8624003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@111017 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-21 22:42:40 +00:00
jrg@google.com
8274c3726c
Fix imports
...
BUG=
TEST=
Review URL: http://codereview.chromium.org/8629001
git-svn-id: http://src.chromium.org/svn/trunk/src/build@111014 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-21 22:25:21 +00:00
jrg@google.com
db35b6cf71
Annotator based "compile and run tests" script for android bot.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org/8536052
git-svn-id: http://src.chromium.org/svn/trunk/src/build@110983 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-21 19:48:24 +00:00
jrg@google.com
1b9db5b9cb
Add xvfb option for running android tests on a bot.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org/8536051
git-svn-id: http://src.chromium.org/svn/trunk/src/build@110982 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-21 19:40:25 +00:00
peter@chromium.org
8f639a149b
Ensure that WebKit can use envsetup.sh
...
Right now Android's envsetup.sh requires the chdir to be in Chromium's
src directory, whereas this will be different for WebKit. Furthermore,
disabling build_ffmpegsumo will resolve a gyp error in ffmpeg.gyp.
BUG=
TEST=
Review URL: http://codereview.chromium.org/8523029
git-svn-id: http://src.chromium.org/svn/trunk/src/build@110697 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-18 13:57:48 +00:00
jrg@chromium.org
19df5466b9
Android IPC changes.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org/8437033
git-svn-id: http://src.chromium.org/svn/trunk/src/build@108589 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-04 00:14:16 +00:00
jrg@chromium.org
3d4501d9ed
Enable sql_unittests for Android.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org/8351064
git-svn-id: http://src.chromium.org/svn/trunk/src/build@108414 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-03 03:29:20 +00:00
michaelbai@google.com
3eeced1d59
Make flager public so it can be accessed by subclass
...
The flager has been used by the other subclass. The previous change
was a mistake.
BUG=
TEST=
Review URL: http://codereview.chromium.org/8394024
git-svn-id: http://src.chromium.org/svn/trunk/src/build@107450 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-26 22:27:37 +00:00
michaelbai@google.com
7589da5ce7
Upstream: Android Test scripts (phase 3)
...
BUG=
TEST=
Review URL: http://codereview.chromium.org/8383020
git-svn-id: http://src.chromium.org/svn/trunk/src/build@107189 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-25 20:32:49 +00:00
michaelbai@google.com
91f7bc60fe
Add Android SDK to system path
...
As the requirement of third_party/android/testrunner, the Android SDK needs in the system path.
BUG=
TEST=
Review URL: http://codereview.chromium.org/8380026
git-svn-id: http://src.chromium.org/svn/trunk/src/build@107130 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-25 16:12:24 +00:00
michaelbai@google.com
712740ca27
Upstream: Test scripts for Android (phase 2)
...
Currently only support run base_unittests
BUG=
TEST=
Review URL: http://codereview.chromium.org/8364020
git-svn-id: http://src.chromium.org/svn/trunk/src/build@106953 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-24 18:59:20 +00:00
michaelbai@google.com
05349cd3ca
Upstream: Test scripts for Android (phase 1)
...
These are the utilities
BUG=
TEST=
Review URL: http://codereview.chromium.org/8356013
git-svn-id: http://src.chromium.org/svn/trunk/src/build@106507 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-20 16:20:47 +00:00
michaelbai@google.com
695c3263b9
Upstream: Set build target and evnvironment for Android
...
BUG=
TEST=
Review URL: http://codereview.chromium.org/8008026
git-svn-id: http://src.chromium.org/svn/trunk/src/build@102807 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-26 21:40:38 +00:00