summaryrefslogtreecommitdiffstats
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
* Modify the Android test running scripts so they can be used from WebKitpeter@chromium.org2012-11-155-19/+52
| | | | | | | | | | | | | | | In order to avoid duplicating most of the run-tests-on-devices logic, make sure that the Android scripts are able to be usable from a WebKit checkout. Two flags have been added for this: --webkit, which is necessary as a file's path on the host and device are not per se equal anymore, and --out-directory, accepting a path as it's not always in the Chromium source directory. BUG= Review URL: https://chromiumcodereview.appspot.com/11312239 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167999 0039d316-1c4b-4281-b951-d872f2087c98
* Remove temporary shim for ContentViewCore.updateVSyncskyostil@chromium.org2012-11-151-1/+0
| | | | | | Review URL: https://chromiumcodereview.appspot.com/11366175 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167859 0039d316-1c4b-4281-b951-d872f2087c98
* Put the app launcher on windows/chromeos behind a compile-time flag, and ↵tapted@chromium.org2012-11-151-0/+26
| | | | | | | | | | | | | | | | | | provide defines. This change decouples the logic that associates the app launcher and settings app with windows-only builds, and consolidates the list of app_list sources in chrome_browser_ui.gypi. BUG=160839 TEST=on Windows: compiles with -Denable_app_list=0 (with no app launcher function), and on Windows: compiles with -Denable_settings_app=0 (with app launcher but no settings app in it) on ChromeOS: compiles (functional ChromeOS launcher) Review URL: https://chromiumcodereview.appspot.com/11293267 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167853 0039d316-1c4b-4281-b951-d872f2087c98
* Only show landmines output if the environment says so.iannucci@chromium.org2012-11-151-32/+49
| | | | | | | | | | R=maruel@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/11369238 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167834 0039d316-1c4b-4281-b951-d872f2087c98
* Fix NotImplementedError for vs and ib build-toolsiannucci@chromium.org2012-11-151-1/+1
| | | | | | | | | | R=nsylvain@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/11362244 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167818 0039d316-1c4b-4281-b951-d872f2087c98
* Use universal newlines in gyp_helper.iannucci@chromium.org2012-11-151-1/+1
| | | | | | | | | | | | | This avoids a stack trace for developers who have dos line endings in their chromium.gyp_env files. BUG= Review URL: https://chromiumcodereview.appspot.com/11293286 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167817 0039d316-1c4b-4281-b951-d872f2087c98
* Add --arm option to install-build-deps.sh.sbc@chromium.org2012-11-151-5/+31
| | | | | | | | | | | | | This new option will install the arm cross toolchain (which is only currently available on Ubuntu precise). BUG= Review URL: https://chromiumcodereview.appspot.com/11360255 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167803 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 167793 - Moving prepopulated search engines to a JSON file.danakj@chromium.org2012-11-151-48/+0
| | | | | | | | | | | | | | | | | | This CL also includes the python script required to convert the JSON file to a .cc/.h pair. The generated .cc/.h are not generated by the build process and must be committed to the repository. BUG=159990 Review URL: https://chromiumcodereview.appspot.com/11377049 TBR=beaudoin@chromium.org Compiler errors: http://build.chromium.org/p/chromium.chromiumos/buildstatus?builder=Linux%20ChromiumOS%20Builder&number=28409 http://build.chromium.org/p/chromium.win/buildstatus?builder=Win%20Builder%20%28dbg%29&number=4778 Review URL: https://codereview.chromium.org/11293291 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167796 0039d316-1c4b-4281-b951-d872f2087c98
* Moving prepopulated search engines to a JSON file.beaudoin@chromium.org2012-11-151-0/+48
| | | | | | | | | | | This CL also includes the python script required to convert the JSON file to a .cc/.h pair. The generated .cc/.h are not generated by the build process and must be committed to the repository. BUG=159990 Review URL: https://chromiumcodereview.appspot.com/11377049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167793 0039d316-1c4b-4281-b951-d872f2087c98
* Pass --no-keep-files-mapped for 32-bit Linux builds with Breakpad.thestig@chromium.org2012-11-151-0/+12
| | | | | | | | BUG=160253 Review URL: https://chromiumcodereview.appspot.com/11293284 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167785 0039d316-1c4b-4281-b951-d872f2087c98
* Add the -Wobjc-missing-property-synthesis flag.mirandac@chromium.org2012-11-151-6/+9
| | | | | | | | | | | Add the -Wobjc-missing-property-synthesis compiler flag for iOS and Mac builds. Because Clang now automatically synthesizes properties if it's not done explicitly, forgetting to add a @synthesize directive may result in difficult-to-uncover bugs, as Clang silently synthesizes instance variables and binds them to the wrong property (see, for example, https://chromereviews.googleplex.com/5618018/). Review URL: https://chromiumcodereview.appspot.com/11361240 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167783 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for generating jars from protos and add cacheinvalidation_java.nyquist@chromium.org2012-11-146-2/+148
| | | | | | | | | | | | | The cacheinvalidation_java target is also added to build/all_android.gyp to ensure it is always built since nothing currently depends on it upstream. When all of Android-specific sync code is upstreamed, a target for sync should be used instead of cacheinvalidation. BUG=158382 Review URL: https://chromiumcodereview.appspot.com/11146005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167746 0039d316-1c4b-4281-b951-d872f2087c98
* Move WebContentsDelegateAndroid to content/componentsjknotten@chromium.org2012-11-141-1/+1
| | | | | | | | | | | | | | | | | | | | | 1. Move chrome/browser/component/web_contents_delegate_android to content/components/web_contents_delegate_android. 2. Rename package org.chromium.chrome.browser.component. web_contents_delegate_android to org.chromium.content.components. web_contents_delegate_android. 3. Remove shouldOverrideUrlLoading from WebContentsDelegateAndroid interface, which is no longer required. I will follow up with a second change to completely remove chrome/browser/component/web_contents_delegate_android once external dependencies on it have been removed. BUG=157575 Review URL: https://chromiumcodereview.appspot.com/11365199 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167670 0039d316-1c4b-4281-b951-d872f2087c98
* Enable 307 net unit tests on Android.pliard@chromium.org2012-11-141-113/+41
| | | | | | | | | | | This is possible since r167167 landed. BUG=146979 Review URL: https://chromiumcodereview.appspot.com/11363194 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167653 0039d316-1c4b-4281-b951-d872f2087c98
* Selective build clobbering feature (landmines.py and android build scripts).iannucci@chromium.org2012-11-144-50/+293
| | | | | | | | | | | | | | | | | | | | | | | | | Adds the ability for devs/troopers/etc. to set 'landmines' in the tree so that the build will selectively clobber when a builder moves over a revision with such a change. This cl has an basis landmines.py, and hooks the clobber mechanism to the android build scripts. The relevant cl which implements this for compile.py is here: https://chromiumcodereview.appspot.com/11234013/ I'm planning to also implement an informational invocation for gclient to let devs know about any potential landmines so they can decide if they need to clobber. This previously attempted to land as: https://chromiumcodereview.appspot.com/11175016 R=ilevy@chromium.org,maruel@chromium.org BUG=121897 Review URL: https://chromiumcodereview.appspot.com/11377141 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167595 0039d316-1c4b-4281-b951-d872f2087c98
* Check in protobuf java code and generate lite jar.nyquist@chromium.org2012-11-142-0/+14
| | | | | | | | | | | Since we only need the lite version of protobuf, we generate a jar file based on includes in the maven pom.xml file for the lite profile. BUG=158382 Review URL: https://chromiumcodereview.appspot.com/11347026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167557 0039d316-1c4b-4281-b951-d872f2087c98
* Bring up minimal sync and sync unittest targets on iOS.blundell@chromium.org2012-11-131-1/+1
| | | | | | | | | | | | The sync implementation is not yet complete (e.g., there is not yet an invalidator_factory implementation on iOS), but enough of the structure is in place to allow for the sync target to build and a reduced set of unittests to run successfully. Review URL: https://chromiumcodereview.appspot.com/11360194 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167485 0039d316-1c4b-4281-b951-d872f2087c98
* Android: Warning on license check fail.nileshagrawal@chromium.org2012-11-131-1/+1
| | | | | | | | | | | LIcense check is failing too frequenly, we should put it on the main builder/CQ. Making the step failure a warning for now (it should not block tests). BUG=160741 Review URL: https://codereview.chromium.org/11358219 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167469 0039d316-1c4b-4281-b951-d872f2087c98
* Should recursively make screenshot out dir.frankf@chromium.org2012-11-121-1/+1
| | | | | | | | | | This is only used for testing on Android. BUG= Review URL: https://codereview.chromium.org/11359166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167259 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 165685 - Revert 163638 - Adds units for all Chromium perf tests. ↵sullivan@chromium.org2012-11-121-4/+4
| | | | | | | | | | | | | | These units are recorded in the graphs.dat file, and can then be used to determine whether the test has improved or regressed when the graph goes up. Review URL: https://chromiumcodereview.appspot.com/11234012 TBR=sullivan@chromium.org Review URL: https://codereview.chromium.org/11365067 TBR=sullivan@chromium.org Review URL: https://codereview.chromium.org/11361218 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167180 0039d316-1c4b-4281-b951-d872f2087c98
* Support HTTP test-server based net unit tests on Android.pliard@chromium.org2012-11-128-172/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | This changes forwarder2 to support both test-server spawner and HTTP server forwarding. The main issue was that the device_forwarder was killed when instantiating a second Forwarder (Python object). Test server based unit tests require two device-to-host redirections, one for the test server spawner and one for the HTTP server. The port used by the HTTP server is allocated dynamically which means that we can't know the full forwarding configuration before we spawn a HTTP server (through the test server spawner). This CL changes the forwarder to let it forward new ports while it is running by making host_forwarder a daemon. This is similar to how ADB works. This also means that a single host_forwarder process (daemon) can now handle multiple devices. BUG=146979 Review URL: https://chromiumcodereview.appspot.com/11269036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167167 0039d316-1c4b-4281-b951-d872f2087c98
* Adding build target for WebRTC Chrome testing with peerconnection_server.kjellander@chromium.org2012-11-121-0/+10
| | | | | | | | | | BUG=None TEST=Compiled the target. Review URL: https://chromiumcodereview.appspot.com/11236066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167160 0039d316-1c4b-4281-b951-d872f2087c98
* Replace VSyncMonitor with compositor's VSyncPulseMonitor.aruslan@chromium.org2012-11-101-6/+0
| | | | | | | | | | | | | | Differences: - Constructor doesn't require View. - The listener callback is called at most MAX_VSYNC_COUNT times. - VSYNC_TIMEOUT is not used and Terminator is not created. - Minimal timer-based ICS support is added, but see http://crbug.com/156397. BUG=160017 Review URL: https://chromiumcodereview.appspot.com/11362177 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167095 0039d316-1c4b-4281-b951-d872f2087c98
* Fix handling of spaces with paths in copy_test_data.pystuartmorgan@chromium.org2012-11-092-8/+10
| | | | | | | | | | | | | | | | This allows copying files with spaces in the paths (most notably, profiles, which have a number of files containing spaces). There are two fixes: - Input/output lists \-escape spaces so that gyp will convert the output back into a list correctly. - The argument list is no longer parsed by spaces, and the gyp call instead passes the input list as a list of separate arguments instead of one giant string. BUG=None Review URL: https://chromiumcodereview.appspot.com/11293198 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166931 0039d316-1c4b-4281-b951-d872f2087c98
* Build and archive the new chromedriver (and unittests) on the bots.kkania@chromium.org2012-11-091-0/+3
| | | | | | | | | | | | Also, switch chromedriver2 to a loadable_module, since we never intend to link against it, just dlopen it. NOTRY=true BUG=none Review URL: https://chromiumcodereview.appspot.com/11366163 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166919 0039d316-1c4b-4281-b951-d872f2087c98
* Use -fsanitize=thread instead of -fthread-sanitizer to compile with TSan.glider@chromium.org2012-11-091-7/+5
| | | | | | | | | | Remove -w for TSan builds. BUG=128314 TBR=thakis Review URL: https://codereview.chromium.org/11363164 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166895 0039d316-1c4b-4281-b951-d872f2087c98
* Move navigation interception component to content/componentsjknotten@chromium.org2012-11-091-0/+1
| | | | | | | | | | | | | | | | | | | | 1. Move C++ source from chrome/browser/component/navigation_interception to content/components/navigation_interception. 2. Change the namespace from navigation_interception:: to content:: 3. Change Java package from org.chromium.chrome.browser.components. navigation_interception to org.chromium.content.components. navigation_interception. I will follow up with another patch to completely remove chrome/browser/component/navigation_interception once external dependencies have been updated to use the component at its new component BUG=157575 Review URL: https://chromiumcodereview.appspot.com/11293017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166883 0039d316-1c4b-4281-b951-d872f2087c98
* Add libwebkit-dev in install-build-dep.shsergeyu@chromium.org2012-11-091-7/+7
| | | | | | | | BUG=159752 Review URL: https://codereview.chromium.org/11368155 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166840 0039d316-1c4b-4281-b951-d872f2087c98
* Remove -Wno-asm-operand-widths from Android cflags.hans@chromium.org2012-11-091-4/+0
| | | | | | | | | | | The offending code was fixed in WebKit r133796. BUG=159452 Review URL: https://chromiumcodereview.appspot.com/11368144 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166838 0039d316-1c4b-4281-b951-d872f2087c98
* Fix findbugs failure on Release buildtype.ilevy@chromium.org2012-11-084-19/+15
| | | | | | | | | | | | | Also cleaning up steps a bit. R=yfriedman@chromium.org NOTRY=True Review URL: https://chromiumcodereview.appspot.com/11361179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166791 0039d316-1c4b-4281-b951-d872f2087c98
* Add android findbugs to main builder / main trybotilevy@chromium.org2012-11-082-1/+4
| | | | | | | | | | | - this will stick these tests on CQ. But I will try to rewrite them as a presubmit test next week. NOTRY=True Review URL: https://chromiumcodereview.appspot.com/11364155 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166752 0039d316-1c4b-4281-b951-d872f2087c98
* Upstream recent downstream changes in envsetup.sh.pliard@chromium.org2012-11-081-6/+7
| | | | | | | | | | | | | A superset of this change was needed to fix a bug downstream. Note that the bug doesn't exist upstream since it was caused by a piece of code not upstreamed. Therefore the only purpose of this change is to decrease the upstream vs downstream diff. Review URL: https://chromiumcodereview.appspot.com/11365147 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166699 0039d316-1c4b-4281-b951-d872f2087c98
* Fix findbugs_diff in ContentVideoView.java.pliard@chromium.org2012-11-081-1/+0
| | | | | | | | | | | | | Findbugs was emitting: M P SIC: Should org.chromium.content.browser.ContentVideoView$FullScreenMediaController be a _static_ inner class? At ContentVideoView.java NOTRY=true TEST=findbugs_diff.py Review URL: https://chromiumcodereview.appspot.com/11293170 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166675 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Findbugs Warningsjknotten@chromium.org2012-11-081-3/+4
| | | | | | | | | | TestWebServer moved from Android WebView to net.test in https://chromiumcodereview.appspot.com/11366108 , but the findbugs file was not correctly updated. Review URL: https://codereview.chromium.org/11365148 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166668 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling failing/crash webkit_unit_testscramya@chromium.org2012-11-081-0/+8
| | | | | | | | | BUG=159935 Review URL: https://chromiumcodereview.appspot.com/11365140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166665 0039d316-1c4b-4281-b951-d872f2087c98
* Add android_webview_unittests to the FYI android bot.mkosiba@chromium.org2012-11-081-4/+1
| | | | | | | | | | | | This makes the android FYI test runners run android_webview native unittests. BUG=None Review URL: https://chromiumcodereview.appspot.com/11366133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166663 0039d316-1c4b-4281-b951-d872f2087c98
* Add Sad Tab resources to the iOS build.msarda@chromium.org2012-11-081-0/+3
| | | | | | Review URL: https://chromiumcodereview.appspot.com/11364130 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166651 0039d316-1c4b-4281-b951-d872f2087c98
* Android: Fix invocations of TestResult.LogFullnileshagrawal@chromium.org2012-11-082-3/+4
| | | | | | | | | | | Also remove the tests_to_run output from summay if we do not have the list of tests. BUG= Review URL: https://chromiumcodereview.appspot.com/11365134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166602 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 166547 - Use tcmalloc's debugallocation for Debug buildsscottmg@google.com2012-11-081-0/+3
| | | | | | | | | | | | | | | | | to catch memory problems early, easily, and cleanly. Because of gyp limitations, this can't be now controlled by a flag. BUG=30715 TEST=none Review URL: https://codereview.chromium.org/11266019 TBR=phajdan.jr@chromium.org Review URL: https://codereview.chromium.org/11366141 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166566 0039d316-1c4b-4281-b951-d872f2087c98
* Enable pepper threading by default.brettw@chromium.org2012-11-081-1/+1
| | | | | | | | BUG=159240 Review URL: https://codereview.chromium.org/11361075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166560 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: fix build with system ffmpeg (Chromium side).phajdan.jr@chromium.org2012-11-081-1/+2
| | | | | | | | BUG=118986, 91970 Review URL: https://codereview.chromium.org/11364077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166557 0039d316-1c4b-4281-b951-d872f2087c98
* Use tcmalloc's debugallocation for Debug buildsphajdan.jr@chromium.org2012-11-071-3/+0
| | | | | | | | | | | | | | to catch memory problems early, easily, and cleanly. Because of gyp limitations, this can't be now controlled by a flag. BUG=30715 TEST=none Review URL: https://codereview.chromium.org/11266019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166547 0039d316-1c4b-4281-b951-d872f2087c98
* Fix if/then typo.mmoss@chromium.org2012-11-071-0/+1
| | | | | | | | TBR=scroggo@chromium.org Review URL: https://codereview.chromium.org/11360134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166537 0039d316-1c4b-4281-b951-d872f2087c98
* Export the build type as part of Android's build bot baseline setuppeter@chromium.org2012-11-071-2/+5
| | | | | | | | | | | | The WebKit tester builds in release mode, which we need to tell the run_tests.py script about. Otherwise it'll assume a debug build, causing it to be unable to find the webkit_unit_tests and TestWebKitAPI APKs. BUG=136774 Review URL: https://chromiumcodereview.appspot.com/11368122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166519 0039d316-1c4b-4281-b951-d872f2087c98
* Move Android WebView Test WebServer to net.jknotten@chromium.org2012-11-071-4/+3
| | | | | | | | | | | | Move Android WebView Test WebServer to net so that other test code can make use of it. BUG=159601 Review URL: https://chromiumcodereview.appspot.com/11366108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166493 0039d316-1c4b-4281-b951-d872f2087c98
* Improve warnings about 32bit libs on 64bit systems.mmoss@chromium.org2012-11-071-15/+21
| | | | | | Review URL: https://codereview.chromium.org/11360130 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166488 0039d316-1c4b-4281-b951-d872f2087c98
* Android: uses "import" section and inner classes for obtaining qualified JNI ↵bulach@chromium.org2012-11-071-4/+0
| | | | | | | | | | | | | | | | parameters. Rather than explicitly listing all the parameters (see crbug.com/158722), infer almost all of them from the import section and inner classes. Assumes other classes are in the same package as a fallback. BUG=159397 TEST=base/android/jni_generator/jni_generator_tests.py Review URL: https://chromiumcodereview.appspot.com/11363079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166482 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Clang for the Android port 163674:167488.hans@chromium.org2012-11-071-0/+4
| | | | | | | | | | | | | This brings us up to the same version as the rest of Chromium. Disable -Wasm-operand-widths until crbug.com/159452 is fixed. BUG=159712, 156947, 159452 Review URL: https://chromiumcodereview.appspot.com/11371004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166479 0039d316-1c4b-4281-b951-d872f2087c98
* Fix running WebKit layout tests by not indenting a continuation.peter@chromium.org2012-11-071-1/+1
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/11364128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166440 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unneeded symbolic link to libraries.cjhopman@chromium.org2012-11-072-12/+4
| | | | | | | | | | | | | The stack annotation tool has been changed to work with Chrome output directory structure and so we no longer need to create the artificial structure in out/android. BUG= Review URL: https://chromiumcodereview.appspot.com/11368102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166423 0039d316-1c4b-4281-b951-d872f2087c98