Граф коммитов

49 Коммитов

Автор SHA1 Сообщение Дата
torne@chromium.org 85f0e7c6ae Android WebView: tidy up source/gyp layout.
1) Rename WebViewMainDelegate to AwMainDelegate for consistency with
other classes.

2) Move gyp file to the top level and don't bother having separate gypi
files for the subcomponents for now; the file list is very short anyway
and is not going to be a significant source of contention between the
small number of webview developers at this time, and it's easier to see
what's going on if it's all in one place.

BUG=


Review URL: https://chromiumcodereview.appspot.com/10893025

git-svn-id: http://src.chromium.org/svn/trunk/src/build@154020 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-30 00:29:56 +00:00
mkosiba@chromium.org 2a89de9d2e Build the android_webview APKs on the FYI waterfall.
This adds the android_webview APKs to the FYI build.
This will result in building the android_webview Java
code and Java test code.

BUG=


Review URL: https://chromiumcodereview.appspot.com/10883026

git-svn-id: http://src.chromium.org/svn/trunk/src/build@153806 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-29 00:18:49 +00:00
torne@chromium.org c0ebc46369 Android: start building libwebview on FYI waterfall.
Move the libwebview target to android_experimental so it gets compiled
and linked on the FYI waterfall (but not the main waterfall or trybots
yet). This will help us see when it's been broken by other changes.

Review URL: https://chromiumcodereview.appspot.com/10829333

git-svn-id: http://src.chromium.org/svn/trunk/src/build@151877 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-16 10:56:13 +00:00
ilevy@chromium.org e600a81a1c Add compiler_experiemental stage to fyi builder
Also deleting unused fyi_buildertester script

BUG=
TEST=


Review URL: https://chromiumcodereview.appspot.com/10802033

git-svn-id: http://src.chromium.org/svn/trunk/src/build@151780 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-15 23:10:32 +00:00
torne@chromium.org 8607b7b7a0 Build target for Android WebView.
This creates a "libwebview" build target for the JNI code to power the
Android WebView. This is unfinished and can't run without additional
code that has not yet been upstreamed, but it compiles and links
successfully.

In its present state the WebViewMainDelegate reuses Chrome
implementations of other content client interfaces. This is a temporary
state of affairs until necessary refactorings can be performed.

Review URL: https://chromiumcodereview.appspot.com/10825155

git-svn-id: http://src.chromium.org/svn/trunk/src/build@150780 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-08-09 10:55:04 +00:00
bulach@chromium.org 09a1a07360 Android: follow up on instrumentation tests.
Follow up from:
http://codereview.chromium.org/10826071/
Build and install content shell on all attached devices.

BUG=139365
TEST=Android FYI tester runs instrumentation tests.


Review URL: https://chromiumcodereview.appspot.com/10825100

git-svn-id: http://src.chromium.org/svn/trunk/src/build@149186 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-31 15:21:28 +00:00
nileshagrawal@chromium.org 3580a04009 Run media_unittests on android test bots.
BUG=137131

TEST=


Review URL: https://chromiumcodereview.appspot.com/10808115

git-svn-id: http://src.chromium.org/svn/trunk/src/build@148493 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-26 02:35:57 +00:00
nileshagrawal@chromium.org 6512294960 Add unit_tests bundle as a default compile target for Android.
Since With this change we will start compiling unit_tests_apk on the main
waterfall, we are making android a default try bot.

To be submitted after we have increased our capacity to handle the extra
load.

BUG=117407
TEST=


Review URL: https://chromiumcodereview.appspot.com/10808022

git-svn-id: http://src.chromium.org/svn/trunk/src/build@147453 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-19 16:30:31 +00:00
satish@chromium.org 5f332a2053 Add an activity monitor which profiles IO and CPU utilization.
This consists of a simple native program which dumps /proc/diskstats and
/proc/stat to a file at a regular interval. The dump is then processed host-side
into a JSON format which is charted in HTML via the Google Charts API.

The perf test runners are not upstreamed yet and when they are this will be part
of the set of profilers available.

BUG=136690
TEST=manual, run activity_monitor.py to try out.


Review URL: https://chromiumcodereview.appspot.com/10783020

git-svn-id: http://src.chromium.org/svn/trunk/src/build@147019 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-07-17 16:48:03 +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
torne@chromium.org 1579ccd4ab The LASTCHANGE file is created and updated by gclient runhooks under
normal circumstances, so it makes more sense to treat it as if it were a
checked-in source file, not a generated file. The rule for its
generation was still getting run once on a clean build, because the
other targets that depended on it expected a gyp timestamp file to exist
for the target.

There's no need for any other targets to actually depend on lastchange
(and in fact several of the targets that make use of the file already
don't depend on the target); it should already exist, and if it doesn't
then the source checkout is probably broken (as the other steps in
runhooks are also mandatory). So, remove the rule entirely.

Review URL: https://chromiumcodereview.appspot.com/10388213

git-svn-id: http://src.chromium.org/svn/trunk/src/build@139765 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-05-31 09:25:47 +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
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
akalin@chromium.org 766d8e4fe6 [Sync] Put correct path to sync_unit_tests target in all_android.gyp
BUG=117585
TEST=
TBR=tim@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10139021

git-svn-id: http://src.chromium.org/svn/trunk/src/build@133350 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-21 10:08:37 +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 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
yfriedman@chromium.org 88e1566620 Temporarily make unit_tests a static library on Android.
While we sort out the remaining linker errors, this at least ensures we
can add compliation of a bunch of chrome code for Android to gatekeeper.
This is motivated by having the android unit_tests compilation step
broken 4 out of 4 days this week.

BUG=117407


Review URL: http://codereview.chromium.org/10065018

git-svn-id: http://src.chromium.org/svn/trunk/src/build@132154 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-13 07:37:15 +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
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
satish@chromium.org 5490b7ad13 Add skeleton of content shell for android.
This is heavily based on http://codereview.chromium.org/9834037/ which added
an APK-based test runner for android. This CL adds a content_shell_apk target
for android containing an empty activity.

BUG=118591
TEST=build/test/install ContentShell-debug.apk on device

Review URL: http://codereview.chromium.org/9860032

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129831 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-30 11:44:06 +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
peter@chromium.org 84ec34dce5 Include the WebKit targets on all Android builds
Promote DumpRenderTree and webkit_unit_tests to targets being part of All (thus
out of experimental), while also adding TestWebKitAPI by correctly referring to
WebKit's All.gyp instead of (the seemingly Windows-oriented) webkit/webkit.gyp.

After this change, three new targets will be build for Android on the main
waterfall. The compile time for new required files (they all rely heavily on
webkit.a) is negligible, link time is more significant, namely ~40 seconds per
target, but this will be parallelized on the bot with other targets. Increase
in build time is ~50 seconds on my T3500.

BUG=
TEST=DumpRenderTree, webkit_unit_tests and TestWebKitAPI should be build on the
Android buildbots.


Review URL: http://codereview.chromium.org/9701070

git-svn-id: http://src.chromium.org/svn/trunk/src/build@127459 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-19 13:53:28 +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 86a6bbf460 Build Java files as part of the base target for Android builds
Move the dependency to the base target, causing Java to be compiled on all
configurations (including trybots and the main waterfall bot). We currently
build two source files.

BUG=
TEST=Build output should execute the "base_java" action.

Review URL: http://codereview.chromium.org/9699018

git-svn-id: http://src.chromium.org/svn/trunk/src/build@126693 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-14 19:01:37 +00:00
yfriedman@chromium.org 26fc9a1bed Turn on sync_unit_tests compilation for Android.
It's been green for a bit and our try-job load is acceptable.

BUG=
TEST=


Review URL: http://codereview.chromium.org/9693035

git-svn-id: http://src.chromium.org/svn/trunk/src/build@126439 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-13 19:40:23 +00:00
yfriedman@chromium.org 149c9b09b2 Add sync_unit_tests to the experimental builder.
It now links, but we'll keep it off the default build until we can verify load issues

BUG=
TEST=


Review URL: http://codereview.chromium.org/9634013

git-svn-id: http://src.chromium.org/svn/trunk/src/build@125687 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-08 21:33:21 +00:00
nileshagrawal@chromium.org 83ee3d3e27 Android build: move media_unittests to default target.
BUG=None
TEST=


Review URL: http://codereview.chromium.org/9535016

git-svn-id: http://src.chromium.org/svn/trunk/src/build@124303 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-01 00:25:18 +00:00
navabi@google.com f006bcc067 Add first java source code and gyp/ant changes to build java code.
Introduce the first java source for chrome on android to base/android/java.
Also add new target to build the java source in the directory.  Currently
there is a dummy java file called DeleteStaging.java that should be replaced
when real base java source code is upstreamed.  This will be the java files
from this patch: https://chromiumcodereview.appspot.com/9443018/.  The
DeleteStaging.java file should be removed once real java code is checked in.

BUG=
TEST=


Review URL: http://codereview.chromium.org/9514018

git-svn-id: http://src.chromium.org/svn/trunk/src/build@124134 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-29 06:06:07 +00:00
jrg@chromium.org db57755ae8 Android build: move content_unittests to default target.
Also expand PRESUBMIT.py to include content files (e.g. everything).

BUG=None
TEST=


Review URL: http://codereview.chromium.org/9416117

git-svn-id: http://src.chromium.org/svn/trunk/src/build@124108 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-29 03:52:02 +00:00
nileshagrawal@chromium.org a7402cd82e Adding media_unittests to android_experimental.
BUG=
TEST=


Review URL: http://codereview.chromium.org/9442007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@123347 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-23 22:32:09 +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
wangxianzhu@chromium.org 162aa3fce7 Remove temporary workaround for http://codereview.chromium.org/9419020/
http://codereview.chromium.org/9419020 was blocked by crbug.com/109763
without the workaround. Now remove the workaround.

BUG=
TEST=


Review URL: http://codereview.chromium.org/9421014

git-svn-id: http://src.chromium.org/svn/trunk/src/build@122870 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-21 20:53:08 +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 eb284adb92 fake_dns tool for Android (fixed DEPS).
It runs on device to resolves any host name to 127.0.0.1.
With it and the forwarder, all HTTP requests are redirected to our replay server
running on the host machine.

Review URL: http://codereview.chromium.org/9419020

git-svn-id: http://src.chromium.org/svn/trunk/src/build@122630 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-17 23:57:42 +00:00
creis@chromium.org ef7c7bd927 Revert 122320 - fake_dns tool for Android.
It runs on device to resolves any host name to 127.0.0.1.
With it and the forwarder, all HTTP requests are redirected to our replay server
running on the host machine.

Review URL: http://codereview.chromium.org/9401014

TBR=wangxianzhu@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9415018

git-svn-id: http://src.chromium.org/svn/trunk/src/build@122348 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-16 20:20:05 +00:00
wangxianzhu@chromium.org fb27987e4e fake_dns tool for Android.
It runs on device to resolves any host name to 127.0.0.1.
With it and the forwarder, all HTTP requests are redirected to our replay server
running on the host machine.

Review URL: http://codereview.chromium.org/9401014

git-svn-id: http://src.chromium.org/svn/trunk/src/build@122320 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-16 18:32:48 +00:00
jrg@chromium.org c5d1103a15 Presubmit change to add android trybots when needed.
Also add warning in android_all.gyp that extra targets in 'all' can
have a significant impact on the try load so coordinate appropriately.

BUG=None
TEST=


Review URL: http://codereview.chromium.org/9360028

git-svn-id: http://src.chromium.org/svn/trunk/src/build@121560 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-10 23:09:49 +00:00
jrg@chromium.org 18d1ab2fe3 android build: progress on content and libjingle.
BUG=None
TEST=


Review URL: http://codereview.chromium.org/9271028

git-svn-id: http://src.chromium.org/svn/trunk/src/build@119334 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-27 01:57:10 +00:00
jrg@chromium.org 5c62bc97a8 Checkpoint: android fixes towards compilation of unit_tests.
Dependent on clipboard.h change in https://chromiumcodereview.appspot.com/9264014

BUG=None
TEST=


Review URL: http://codereview.chromium.org/9226012

git-svn-id: http://src.chromium.org/svn/trunk/src/build@118567 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-21 00:45:40 +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
jingzhao@chromium.org f035199349 Enable net_unittests for Android.
Review URL: http://codereview.chromium.org/8673011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@112199 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-30 11:40:28 +00:00
jrg@google.com 62315512cd Update android All target to include our unit test bundles.
BUG=None
TEST=

Review URL: http://codereview.chromium.org/8734015

git-svn-id: http://src.chromium.org/svn/trunk/src/build@112090 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-30 01:05:07 +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
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 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