summaryrefslogtreecommitdiffstats
path: root/testing/android
Commit message (Collapse)AuthorAgeFilesLines
* Remove the OWNERS that no longer work on the project.aurimas@chromium.org2013-07-011-1/+0
| | | | | | | | | Remove jcivelli@, and nileshagrawal@ who no longer work on Chrome for Android. Review URL: https://chromiumcodereview.appspot.com/18178014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209531 0039d316-1c4b-4281-b951-d872f2087c98
* Move CreateFIFO() and RedirectStream() from testing/android/ to base/android/.scherkus@chromium.org2013-06-183-52/+46
| | | | | | | | | | | They will be used by content_shell to create the necessary fifos when running layout tests. BUG=232044 TBR=darin,yfriedman Review URL: https://chromiumcodereview.appspot.com/16599008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207060 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of strings headers in testing/, third_party/, tools/.avi@chromium.org2013-06-112-2/+2
| | | | | | | | | | BUG=247723 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/15851009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205470 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Build gtest APKs like other APKscjhopman@chromium.org2013-04-114-303/+2
| | | | | | | | | | | | After much work, we can build gtest APKs without first transforming .java files, resource files, or the AndroidManifest.xml. We can directly use java_apk.gypi and build like all other APKs. Do that. Also, native_test_apk.xml was the last user of common.xml and sdk-targets.xml, and so those can now be removed. Review URL: https://chromiumcodereview.appspot.com/13828003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193576 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Use the build-generated list of libraries for gtest APKscjhopman@chromium.org2013-04-112-60/+10
| | | | | | | | | | | | | | | For normal APKs, the build generates a list of libraries to load at build time and this is used at runtime to load libraries. Update our gtest APKs to use this. This makes gtest APKs work in the component build. BUG=158821 Review URL: https://chromiumcodereview.appspot.com/13962003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193536 0039d316-1c4b-4281-b951-d872f2087c98
* Split the power monitoring feature from SystemMonitorhongbo.min@intel.com2013-04-031-2/+2
| | | | | | | | | | | | | | | | | | The SystemMonitor is a mixed monitor which not only monitors the power state changes but also the devices changes. This patch is to separate the power monitor from SystemMonitor as a new class PowerMonitor which is dedicated to monitor power state. The next step is to seek a opportunity to refactor SystemMonitor as something like DeviceMonitor. BUG=149059 TEST=base_unittests --gtest_filter=PowerMonitorTest.* Review URL: https://chromiumcodereview.appspot.com/10959020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192114 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Fix remaining linker errors for components buildyfriedman@chromium.org2013-04-031-0/+1
| | | | | | | | | | | Miscellaneous missing dependencies and a few more exports. BUG=158821 Review URL: https://chromiumcodereview.appspot.com/12988003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191944 0039d316-1c4b-4281-b951-d872f2087c98
* Add MODIFY_AUDIO_SETTINGS permission in Android manifest and implementation ↵wjia@chromium.org2013-03-201-1/+1
| | | | | | | | | | | | | | | in android audio manager. MODIFY_AUDIO_SETTINGS allows application to be able to configure audio settings. In android audio manager, a function SetAudioMode is added to set audio mode. BUG=180328 Contributed by leozwang@chromium.org (https://codereview.chromium.org/12571006/). Review URL: https://codereview.chromium.org/12843015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189210 0039d316-1c4b-4281-b951-d872f2087c98
* [Cleanup] Remove StringPrintf from global namespacegroby@chromium.org2013-03-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | use of StringPrintf now requires prefixing with base:: or a per-scope using directive TBR'd: abodenha: chrome/service brettw: content, third_party, webkit darin: base, chrome/browser, chrome/renderer dgarret: courgette enne: cc fischmann: media gbillock: sql joi: google_apis,components rsleevi: net, crypto sky: chrome/test thestig: printing, chrome/common, tsepez: ipc wez: remoting yfriedman: testing/android NOTRY=true R=brettw@chromium.org TBR=joi@chromium.org, rsleevi@chromium.org, enne@chromium.org, thestig@chromium.org, darin@chromium.org, abodenha@chromium.org, sky@chromium.org, dgarret@chromium.org, tsepez@chromium.org, fishman@chromium.org, wez@chromium.org, gbillock@chromium.org, yfriedman@chromium.org BUG= Review URL: https://codereview.chromium.org/12767006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188857 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Change jni_gen_dir to jni_gen_package for jni_generator.yfriedman@chromium.org2013-03-071-1/+1
| | | | | | | | | | | | | With the old name it was getting relativized which is undesirable. See bug for more details. BUG=159133 TBR=ben (nobody really cares about this outside of build/ which cjhopman approved) Review URL: https://chromiumcodereview.appspot.com/12558005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186803 0039d316-1c4b-4281-b951-d872f2087c98
* Move file_path.h to base/files.brettw@chromium.org2013-02-242-3/+3
| | | | | | TBR=sky git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184344 0039d316-1c4b-4281-b951-d872f2087c98
* Move ant call from python to gypcjhopman@chromium.org2013-02-201-11/+12
| | | | | | | | | | | | | | | | | All of our APKs should be built with build/java_apk.gypi. Currently, native test APKs are built very differently. This change makes them build more like other apks, as a first step to using java_apk.gypi. Since WebKit's gyp files use generate_native_test.py directly, rather than including apk_test.gypi, generate_native_test.py needs to continue to support using it for ant compilation. :( BUG=177121 Review URL: https://chromiumcodereview.appspot.com/12310002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183614 0039d316-1c4b-4281-b951-d872f2087c98
* Fix more remaining FilePath -> base::FilePath.brettw@chromium.org2013-02-181-5/+6
| | | | | | | | This removes the "using" in file_path.h for Mac since Mac now passes trybots with no using. It still leaves the using for Windows. Review URL: https://codereview.chromium.org/12294008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183066 0039d316-1c4b-4281-b951-d872f2087c98
* Add RECORD_AUDIO in Android manifest.leozwang@chromium.org2013-02-091-0/+1
| | | | | | | | | | This CL enables audio capture on Android. BUG=161417 Review URL: https://chromiumcodereview.appspot.com/12209041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181610 0039d316-1c4b-4281-b951-d872f2087c98
* Android: Refactor native test setup in a util class.nileshagrawal@chromium.org2013-02-094-86/+159
| | | | | | | | | | | | This is also needed by content_browsertests. Also redirecting stdout,stderr for content_browsertests to a fifo file to be read by the test runner scripts. BUG=138275 TBR=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/12213035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181587 0039d316-1c4b-4281-b951-d872f2087c98
* Move string tokenizer to base/strings.brettw@chromium.org2013-02-021-3/+3
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/12087091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180211 0039d316-1c4b-4281-b951-d872f2087c98
* Add camera permission in manifest files.wjia@chromium.org2013-01-311-0/+1
| | | | | | | | | This allows webrtc to access camera. This is a split of https://codereview.chromium.org/11860002/. BUG=161417 Review URL: https://codereview.chromium.org/12090095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179959 0039d316-1c4b-4281-b951-d872f2087c98
* Nuke jrg from android OWNERS files.yfriedman@chromium.org2013-01-161-1/+0
| | | | | | | | | | It's the only way to be sure... ... he doesn't get android code reviews. Review URL: https://codereview.chromium.org/11968018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177174 0039d316-1c4b-4281-b951-d872f2087c98
* Throw exception when initialization failed.michaelbai@chromium.org2013-01-151-26/+21
| | | | | | | | | | | | | | | | | | | | | Previously the initialization return code was ignored, it will lead us crash later. We need a way to exit and maybe show error message if something wrong during initialization. Using exception might better than returning the result code since the initialization code could be called from constructor and initialization error is an exception at most of time. In activity, the exception is caught, then call finish() to exit. In tests, the exception is wrapped with Error and threw out. BUG=b/7705055 Review URL: https://chromiumcodereview.appspot.com/11567061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176975 0039d316-1c4b-4281-b951-d872f2087c98
* Fix findbugs issueskristianm@chromium.org2013-01-111-3/+3
| | | | | | | | | | | | Constants should be private static final. Since I'm there, renamed TAG to LOGTAG so it is obvious it is only used for logging. BUG= Review URL: https://chromiumcodereview.appspot.com/11827057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176288 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 176198yfriedman@chromium.org2013-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed permissions on build/android/envsetup.sh > Revert 176176 > > Update Android build to API level 17 and SDK Tools version 21 > > > > Some fixes included: > > - Changes to resource management to account for new R.java packaging > > from library projects > > (https://android-review.googlesource.com/#/c/43134/). > > - Fixed the package for some inludes in ModalDialogTest.java. This only > > worked because of how we previously used to aggregate all resoures > > from the prior layer. With the new packaging, we must use the resource > > from the appropriate layer. > > > > BUG=163001,166434 > > NOTRY=true > > > > Review URL: https://chromiumcodereview.appspot.com/11819047 > > TBR=yfriedman@chromium.org > Review URL: https://codereview.chromium.org/11783108 TBR=smckay@chromium.org Review URL: https://codereview.chromium.org/11820065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176202 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 176176smckay@chromium.org2013-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | > Update Android build to API level 17 and SDK Tools version 21 > > Some fixes included: > - Changes to resource management to account for new R.java packaging > from library projects > (https://android-review.googlesource.com/#/c/43134/). > - Fixed the package for some inludes in ModalDialogTest.java. This only > worked because of how we previously used to aggregate all resoures > from the prior layer. With the new packaging, we must use the resource > from the appropriate layer. > > BUG=163001,166434 > NOTRY=true > > Review URL: https://chromiumcodereview.appspot.com/11819047 TBR=yfriedman@chromium.org Review URL: https://codereview.chromium.org/11783108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176198 0039d316-1c4b-4281-b951-d872f2087c98
* Update Android build to API level 17 and SDK Tools version 21yfriedman@chromium.org2013-01-101-1/+1
| | | | | | | | | | | | | | | | | | Some fixes included: - Changes to resource management to account for new R.java packaging from library projects (https://android-review.googlesource.com/#/c/43134/). - Fixed the package for some inludes in ModalDialogTest.java. This only worked because of how we previously used to aggregate all resoures from the prior layer. With the new packaging, we must use the resource from the appropriate layer. BUG=163001,166434 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11819047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176176 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce verbosity of Android builds.yfriedman@chromium.org2012-12-183-9/+8
| | | | | | | | | | | There's a lot of boilerplate from running ant. Passing '-q' silences most of it. BUG=164395 NOTRY=True Review URL: https://chromiumcodereview.appspot.com/11606010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173688 0039d316-1c4b-4281-b951-d872f2087c98
* android: Improve ActivityStatus and add ChromiumActivity.digit@chromium.org2012-12-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | The ActivityStatus class used to track activity state changes is too basic for some usage scenarios. This patch does the following: - Augment ActivityStatus with a new StateListener type that can be registered to listen to all activity state changes. Also add getActivity(), getState(), registerStateListener() and unregisterStateListener() as static method. - Add a new ChromiumActivity class that all Chromium main activities should sub-class, to ensure that the ActivityStatus state is updated appropriately. - Modify all main activities in the Chromium code base to extend from ChromiumActivity instead of Activity. BUG=none Review URL: https://chromiumcodereview.appspot.com/11419287 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171789 0039d316-1c4b-4281-b951-d872f2087c98
* Remove hardcoded chromium_*.jar pathscjhopman@chromium.org2012-12-053-30/+15
| | | | | | | | | | | | | | | | | | | | | Targets with dependencies (direct/indirect) on a java target receive the chromium_*.jar paths in the variable input_jars_paths. Targets should use that rather than hardcoding where they think the jar will be. Change native_test_apk.xml to build with a list of jars in INPUT_JARS_PATHS rather than using all jars in a specific output directory. Make generate_native_test.py pass the --jars argument to ant with -DINPUT_JARS_PATHS. This supports those targets (WebKit) that are not updated to pass the ant-arg directly. BUG= Review URL: https://chromiumcodereview.appspot.com/11308351 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171131 0039d316-1c4b-4281-b951-d872f2087c98
* Remove redundant option from script.shashishekhar@chromium.org2012-10-191-4/+0
| | | | | | | | | | | | gyp files using sdk-build were already cleaned up, it is now safe to remove this option. Cleanup in chromium here: https://chromiumcodereview.appspot.com/11066094 Cleanup in webkit here: http://trac.webkit.org/changeset/131681 Review URL: https://chromiumcodereview.appspot.com/11185069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162915 0039d316-1c4b-4281-b951-d872f2087c98
* Android: Integrates native and java SystemMonitor.bulach@chromium.org2012-10-161-0/+4
| | | | | | | | BUG=154293 Review URL: https://chromiumcodereview.appspot.com/11027024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162124 0039d316-1c4b-4281-b951-d872f2087c98
* Nuke unused test code.shashishekhar@chromium.org2012-10-101-22/+3
| | | | | | | | | | SDK build is the default build, we do not need Android.mk based compilation. Review URL: https://chromiumcodereview.appspot.com/11066094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161127 0039d316-1c4b-4281-b951-d872f2087c98
* Android: creates fifo for test runners in internal directory.bulach@chromium.org2012-09-212-5/+3
| | | | | | | | | | | | Some devices have $EXTERNAL_STORAGE filesystems that don't support mkfifo. Create in the internal app dir instead. BUG= TEST= Review URL: https://codereview.chromium.org/10957036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157962 0039d316-1c4b-4281-b951-d872f2087c98
* Support creating a fifo for stdin and separating stderr in its own fifo for ↵peter@chromium.org2012-09-211-8/+37
| | | | | | | | | | | | | | | Android This is necessary to properly support DumpRenderTree. Now that Chromium also uses fifos for getting output from the device, WebKit can change to using that. BUG= Review URL: https://chromiumcodereview.appspot.com/10969010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157882 0039d316-1c4b-4281-b951-d872f2087c98
* Android: uses a fifo rather than logcat for the test runner.bulach@chromium.org2012-09-192-78/+48
| | | | | | | | | | | | | | | | | | | - This uses the same mechanism as webkit drt. - It fixes the "timestamping" bug (147800), as the fifo order is guaranteed (as opposed to logcat). - It also removes AndroidLogPrinter which was injected in the gtest framework. - Downside is that we won't get inline crashstack. However, those were normally useless as they were not symbolized anyways. We can still get tombstones if we detect a crash. BUG=147800 TEST=build/android/run_tests.py Review URL: https://chromiumcodereview.appspot.com/10938014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157541 0039d316-1c4b-4281-b951-d872f2087c98
* Use checked in keystore to sign debug apkscjhopman@chromium.org2012-09-111-1/+1
| | | | | | | | | | | | | | | | | keystore created with command: keytool -genkey -v -keystore chromium-debug.keystore -alias chromiumdebugkey -keyalg RSA -keysize 2048 -validity 36525 with password "chromium" and alias password "chromium". Android's SDK tools by default create a debug keystore in ~/.android. This has caused all kinds of grief. Instead, this change makes us use the new chrome-debug.keystore. BUG=145860 Review URL: https://chromiumcodereview.appspot.com/10918149 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155927 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the gdb path for NDK-r8b.michaelbai@chromium.org2012-09-062-2/+1
| | | | | | | | | | | | | - Removed android.toolchain property. - Added android.gdbserver property. - Changed property-location to check the both file and directory's existence. TBR=jam BUG= Review URL: https://chromiumcodereview.appspot.com/10823435 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155108 0039d316-1c4b-4281-b951-d872f2087c98
* Increase logging priority for test markers.nileshagrawal@chromium.org2012-08-312-7/+7
| | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/10910021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154333 0039d316-1c4b-4281-b951-d872f2087c98
* Add gdb server variable for antmichaelbai@chromium.org2012-08-301-0/+1
| | | | | | | | | | | | | | | | | | | This is the first CL to replace the ant property toolchain.dir with android.gdbserver. After this submitted - Add android_gdbserver into WebKit gypis. - Retire the toolchain.dir from ant by using android.gdbserver. - Remove the ANDROID_TOOLCHAIN from both WebKit and chromium's gyp/gypi - Remove the android_toolchain from envsetup_function.sh TBR=jam BUG= Review URL: https://chromiumcodereview.appspot.com/10886046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154298 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the dependency on the STRIP env variable for Androidpeter@chromium.org2012-08-161-3/+13
| | | | | | | | | | | | Android builds currently rely on the STRIP environment variable to be available during build time, rather than just at project generation time. It shouldn't. BUG=142642 Review URL: https://chromiumcodereview.appspot.com/10832295 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151886 0039d316-1c4b-4281-b951-d872f2087c98
* Remove uses of Android's test runner's --ant-compile, as well as the flag ↵peter@chromium.org2012-08-151-8/+3
| | | | | | | | | | | | | | itself. It has been superseded by --sdk-build, which has already been set for all other Chromium and WebKit users. BUG= Review URL: https://chromiumcodereview.appspot.com/10855147 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151709 0039d316-1c4b-4281-b951-d872f2087c98
* Android's native_tests.gyp should take WebKit's directory structure into ↵peter@chromium.org2012-08-132-3/+12
| | | | | | | | | | | | account. This broke the WebKit Chromium Android bot. BUG=142322 Review URL: https://chromiumcodereview.appspot.com/10829291 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151257 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Add chrome_java target for building Java code in the chromium layer.yfriedman@chromium.org2012-08-063-15/+20
| | | | | | | | | | | Also includes a refactoring of the Ant xml scripts to use a common template (contributed by shashishekhar@chromium.org). As part of this, I also continued Torne's effort of removing our reliance on environment variables. Unfortunately this currently means that you have to specify 5 gyp flags: ANDROID_SDK, ANDROID_SDK_ROOT, ANDROID_SDK_TOOLS, ANDROID_SDK_VERSION, ANDROID_TOOLCHAIN. This'll get better as we make further use of the checked in sdk both upstream and downstream. The problem stems from the android tree and released sdk having different configurations. Review URL: https://chromiumcodereview.appspot.com/10830012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150172 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce the --sdk-build flag for Android's native test generatorpeter@chromium.org2012-08-011-4/+9
| | | | | | | | | | | | | This flag supersedes --ant-compile and takes its value from gyp's sdk_build variable. It will tell the native test generator script to use Ant for Java compilation (default) instead of the Android.mk file. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10821128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149440 0039d316-1c4b-4281-b951-d872f2087c98
* Run unit_tests bundle on Android tester bots.nileshagrawal@chromium.org2012-07-301-1/+1
| | | | | | | | BUG=138115 Review URL: https://chromiumcodereview.appspot.com/10830068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148976 0039d316-1c4b-4281-b951-d872f2087c98
* Add yfriedman to several Android OWNERS filesyfriedman@chromium.org2012-07-261-0/+1
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10829023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148555 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the invalid jni header in native_test_launcher on Android.shouqun.liu@intel.com2012-07-201-1/+1
| | | | | | | | | | | | | The rule of generating jni header is changed, need to update the related source file. BUG= TEST=unittests Review URL: https://chromiumcodereview.appspot.com/10809029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147609 0039d316-1c4b-4281-b951-d872f2087c98
* Uses gyp "rules" rather than "actions" templates for the JNI generator.bulach@chromium.org2012-07-191-20/+7
| | | | | | | | | | | | | | | | | This allow finer grain control over what is rebuilt. Also, since we have approval over the generated header file name, it greatly simplifies both the generator and also all the gyp files as they no longer need to list the header file and keep in sync with the java file, so the process now is as simple as adding a single java file to the sources. BUG=137069 TEST=build on android Review URL: https://chromiumcodereview.appspot.com/10798010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147515 0039d316-1c4b-4281-b951-d872f2087c98
* Android: fix test runners for non-rooted devices.bulach@chromium.org2012-07-192-1/+9
| | | | | | | | | | | | | Move the generated file for GetAllTests() to a public directory in the device. Adds the necessary permission to the manifest for the test. BUG= TEST=run android tests in a non-rooted device. Review URL: https://chromiumcodereview.appspot.com/10804003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147430 0039d316-1c4b-4281-b951-d872f2087c98
* Remove "chrome" hardcoded suffix from Android .pak path.tedchoc@chromium.org2012-07-172-1/+13
| | | | | | | | | | BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10778023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147043 0039d316-1c4b-4281-b951-d872f2087c98
* Do check variable PRODUCT_DIR before any ant targetsyongsheng.zhu@intel.com2012-07-131-12/+7
| | | | | | | | | | | | Use fail and condition to do check firstly before any targets BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10696189 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146540 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the conflict of input and output manifest filesyongsheng.zhu@intel.com2012-07-121-0/+7
| | | | | | | | | | | | | | | | | | The ant building base dir is the same as the output directory. In SDK r20, mergemanifest task will use the same file to do copying. As a result, it will empty the manifest file - AndroidManifest.xml. For the backward compatibility, fix it by copying input manifest file into a new directory so the output manifest file is still in the ant building base directory which could be used later by other tasks. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10694128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146296 0039d316-1c4b-4281-b951-d872f2087c98
* Allow unit tests to run in a sub thread for chrome on androidqinmin@chromium.org2012-07-111-8/+20
| | | | | | | | | | | | | | Some of the tests, such as layout tests, need to run on a seperate thread. Adding an extra to the intent to achieve this. When invoking the test, users can use 'adb shell am start -e RunInSubThread -n testName' BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10696172 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146220 0039d316-1c4b-4281-b951-d872f2087c98