summaryrefslogtreecommitdiffstats
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
* Merge 287711 "[Android] Temporarily suppress RTL start&end check..."dfalcantara@chromium.org2014-08-061-7/+7
| | | | | | | | | | | | | | | | | | | > [Android] Temporarily suppress RTL start&end check error. > > The newest Android SDK had start&end attributes in non -v17 resources. > Temporarily change the checking script from error to warning so that > people can continue to work before it is fixed. This should be > reverted once the issue is addressed > > BUG=None > > Review URL: https://codereview.chromium.org/445753002 TBR=kkimlabs@chromium.org Review URL: https://codereview.chromium.org/445993003 git-svn-id: svn://svn.chromium.org/chrome/branches/2062/src@287790 0039d316-1c4b-4281-b951-d872f2087c98
* Merge 282498 "Start using proguard.jar directly instead of progu..."aurimas@google.com2014-07-184-8/+10
| | | | | | | | | | | | | | | | | | > Start using proguard.jar directly instead of proguard.sh > > android_tools/sdk/tools/proguard/bin/proguard.sh was removed with SDK tools > update. https://gerrit.chromium.org/gerrit/#/c/70802/ updates SDK tools > and we want to roll to start using it. > > BUG=394835,393019 > > Review URL: https://codereview.chromium.org/377353003 TBR=aurimas@chromium.org Review URL: https://codereview.chromium.org/403073002 git-svn-id: svn://svn.chromium.org/chrome/branches/2062/src@284239 0039d316-1c4b-4281-b951-d872f2087c98
* Merge 283926 "[Android]: Roll NDK to r10b-rc1."rmcilroy@chromium.org2014-07-181-9/+6
| | | | | | | | | | | | | | | | | | > [Android]: Roll NDK to r10b-rc1. > > This roll updates the arm64 and x86_64 ABIS to include changes in NDK r10b-rc1. > This also removes android_tools/ndk_experimental and moves all 64 bit targets > over to using android_tools/ndk instead. > > BUG=393903 > > Review URL: https://codereview.chromium.org/404553002 TBR=rmcilroy@chromium.org Review URL: https://codereview.chromium.org/401863002 git-svn-id: svn://svn.chromium.org/chrome/branches/2062/src@284110 0039d316-1c4b-4281-b951-d872f2087c98
* Merge 283526 "Roll Android SDK to v20"aurimas@google.com2014-07-173-6/+15
| | | | | | | | | | | | | | | > Roll Android SDK to v20 > > BUG=393019 > NOTRY=true > > Review URL: https://codereview.chromium.org/394593002 TBR=aurimas@chromium.org Review URL: https://codereview.chromium.org/402733002 git-svn-id: svn://svn.chromium.org/chrome/branches/2062/src@283829 0039d316-1c4b-4281-b951-d872f2087c98
* Merge 283004 "Start using 20.0.0 of Android build tools."aurimas@google.com2014-07-171-1/+1
| | | | | | | | | | | | | | > Start using 20.0.0 of Android build tools. > > BUG=393019 > > Review URL: https://codereview.chromium.org/387403002 TBR=aurimas@chromium.org Review URL: https://codereview.chromium.org/403603003 git-svn-id: svn://svn.chromium.org/chrome/branches/2062/src@283827 0039d316-1c4b-4281-b951-d872f2087c98
* Merge 280725 "Fix generation of v14 resources"cjhopman@chromium.org2014-07-162-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | > Fix generation of v14 resources > > generate_v14_compatible_resources.GenerateV14Resources was deleting and > recreating the output directory. process_resources was calling that > multiple times and reusing the same output directory (and so it would > only actually get v14 resources for the final directory). > > Instead, callers of GenerateV14Resources should handle deleting/creating > the output directory for themselves--this is just > generate_v14_compatible_resources.main and process_resources (which was > already handling this itself). > > BUG=383803 > > Review URL: https://codereview.chromium.org/362543004 TBR=cjhopman@chromium.org Review URL: https://codereview.chromium.org/396243003 git-svn-id: svn://svn.chromium.org/chrome/branches/2062/src@283409 0039d316-1c4b-4281-b951-d872f2087c98
* Merge 279198 "Revert of Enable FIXED_POINT and -O3 for Opus when..."minyue@google.com2014-07-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Revert of Enable FIXED_POINT and -O3 for Opus when building for ARM. (https://codereview.chromium.org/315673002/) > > Reason for revert: > Media tests started failing consistently after this: http://build.chromium.org/p/chromium.memory.fyi/builders/Linux%20Tests%20%28tsan%29%281%29?numbuilds=200 > > It doesn't look super related, but the <() / >() change in common.gypi looks a bit suspicious, so revert this speculatively and see if it helps. > > Original issue's description: > > - Enable FIXED_POINT for Opus when building for arm64. This yields: > > ~21% speed up over floating point. > > 2.6% increase in executable size. > > - Also switched to late expansion of release_optimize in common.gypi (debug_optimize was already using it). This makes it possible to set optimization level via release_optimize in lower level targets. > > > > - Enable -O3 for Opus when building form arm32/arm64. This yields: > > arm32: Speed increase up to 21% (encode) and 5% (decode). > > arm32: 2.8% increase in executable size. > > arm32: Output is bit exact with the output when -Os is used. > > arm64: Speed increase up to 18% (encode) and 25% (decode). > > arm64: 7.4% increase in executable size. > > arm64: Output is exact within one LSB (max difference is 2) with the arm32 output. > > > > Measured using webrtc/audio_codec_speed_tests. > > > > BUG=chromium:354539 > > > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277414 > > TBR=tlegrand1, Sergey Ulanov, Solis > NOTRY=true > NOTREECHECKS=true > > Review URL: https://codereview.chromium.org/349293006 TBR=thakis@chromium.org Review URL: https://codereview.chromium.org/394623007 git-svn-id: svn://svn.chromium.org/chrome/branches/2062/src@283185 0039d316-1c4b-4281-b951-d872f2087c98
* Merge 282370 "[Android]: Don't omit the frame pointer on Arm64."rmcilroy@chromium.org2014-07-151-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | > [Android]: Don't omit the frame pointer on Arm64. > > If we omit the frame pointer on Arm64 there is no way for > breakpad to correctly symbolize stack traces which contain > stack frames for which we don't have CFI information (e.g., > system libraries like libc.so). This is because the Arm64 > ABI does not specify where a frame pointer should be in a > stack frame, so, without CFI information, there is no way > to calculate the start of the caller's frame if the caller > omits the frame pointer. > > More details are on the bug. > > BUG=391706 > > Review URL: https://codereview.chromium.org/381923002 TBR=rmcilroy@chromium.org Review URL: https://codereview.chromium.org/392853002 git-svn-id: svn://svn.chromium.org/chrome/branches/2062/src@283171 0039d316-1c4b-4281-b951-d872f2087c98
* Merge 279545 "Enable WebAudio on ARM64 and MIPS"rtoy@google.com2014-06-301-4/+4
| | | | | | | | | | | | | | | | > Enable WebAudio on ARM64 and MIPS > > This CL adds WebAudio support for ARM64 and MIPS. WebAudio is enabled by default. > > BUG=354532, 349422 > > Review URL: https://codereview.chromium.org/343593003 TBR=rtoy@chromium.org Review URL: https://codereview.chromium.org/336093005 git-svn-id: svn://svn.chromium.org/chrome/branches/2062/src@280630 0039d316-1c4b-4281-b951-d872f2087c98
* Move experimental NDK to Lkerz@chromium.org2014-06-271-3/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/branches/2062/src@280431 0039d316-1c4b-4281-b951-d872f2087c98
* JarJar resources when building the android_webview.mkosiba@chromium.org2014-06-201-0/+121
| | | | | | | | | | | | | | | | | The android_webview build will require there only be a single R class (details in bug). This change makes the necessary changes to the build infrastructure for this to happen but the actual swap to building the webview this way will land as a subsequent CL. BUG=387155 build-only change, all trybots compile fine. NOTRY=true Review URL: https://codereview.chromium.org/255613003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278849 0039d316-1c4b-4281-b951-d872f2087c98
* Telemetry: Set scaling governor on all cpus (on all devices)epenner@chromium.org2014-06-203-54/+62
| | | | | | | | | | | | | | | | | | | | | | | We try to set the scaling governor for all CPU cores, but this doesn't work SOCs that dynamically disable cores entirely (ie. Qualcomm). Since this only happens on Qcomm, this patch stops the 'mpdecision' process on Qualcomm, which makes it behave like other devices. PERF-SHERIFFS: This may improve metrics for the better given all cores are in 'performance' mode now. It should hopefully reduce noise, since a different number of cores might have had 'performance' set on each run, and any code that runs on a non-performance core will suffer from noisy timings/rates. Example: Tough-compositor-cases std-dev went from 0.25ms to 0.04ms with this change. BUG=383566 Review URL: https://codereview.chromium.org/338233003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278837 0039d316-1c4b-4281-b951-d872f2087c98
* Make chrome/common compile in GNbrettw@chromium.org2014-06-203-0/+144
| | | | | | | | | | | | | | Adds extensions common API target and extensions templates. Adds a number of new targets: widevine, flash, sync proto, metrics proto, device serial. Minor enhancements to protobuf and mojo templates. TBR=jamesr Review URL: https://codereview.chromium.org/343233002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278828 0039d316-1c4b-4281-b951-d872f2087c98
* [android_webview] Add more params to request intercepting.mkosiba@chromium.org2014-06-201-0/+2
| | | | | | | | | | | | | | | | | | | | This adds the following to the shouldInterceptRequest params: - isMainFrame - hasUserGesture - method - headers This adds the following to InterceptedRequestData: - status code - response phrase - headers BUG=387086 android_webview-only CL, trybots are happy. NOTRY=true Review URL: https://codereview.chromium.org/284123004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278806 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed build on Windows with Cygwin (get_syzygy_binaries script).mgiuca@chromium.org2014-06-201-1/+3
| | | | | | | | | | | | 1. Allow get_syzygy_binaries to run in cygwin. 2. On cygwin, get_syzygy_binaries makes all of the binaries it unpacks executable (to avoid "permission denied" errors during compilation). BUG=386911 Review URL: https://codereview.chromium.org/341183002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278748 0039d316-1c4b-4281-b951-d872f2087c98
* Define a single macro for enabling backup function on desktop: win, mac ↵haitaol@chromium.org2014-06-201-0/+8
| | | | | | | | | | | | (exclude ios), linux (exclude cros). BUG=362679 Review URL: https://codereview.chromium.org/347653006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278659 0039d316-1c4b-4281-b951-d872f2087c98
* Remove memory_watcher tool as well as --memory-profile command line flag.cbentzel@chromium.org2014-06-201-7/+0
| | | | | | | | | | This tool has not been maintained or used in a while, and tools such as UMDH work well as a replacement. BUG=383024 Review URL: https://codereview.chromium.org/314253003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278607 0039d316-1c4b-4281-b951-d872f2087c98
* Work toward a chrome/common GN target.brettw@chromium.org2014-06-201-0/+5
| | | | | | | | | | | | | This adds more of the chrome/common target. The sources don't all compile yet so this is commented out. Add many resources targets required my chrome/common. R=thestig@chromium.org TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/348663003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278586 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Switch long form test result reporting to a gtest-esque format.jbudorick@chromium.org2014-06-203-18/+32
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/342823004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278557 0039d316-1c4b-4281-b951-d872f2087c98
* Add option to provision_devices script to disable location.navabi@chromium.org2014-06-202-5/+22
| | | | | | | | | BUG=385379,379219 R=tedchoc@chromium.org Review URL: https://codereview.chromium.org/348673003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278556 0039d316-1c4b-4281-b951-d872f2087c98
* Remove secondary version of speex BUILD file.tfarina@chromium.org2014-06-191-90/+0
| | | | | | | | | | | | | Now that we rolled the DEPS for speex library, we can use the GN BUILD file directory from src/third_party/speex. BUG=None TEST=gn gen out/Debug_gn && ninja -C out/Debug_gn speex TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/343943003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278531 0039d316-1c4b-4281-b951-d872f2087c98
* Fix device status report email to chromium.org.zty@chromium.org2014-06-191-1/+1
| | | | | | | | R=navabi@chromium.org Review URL: https://codereview.chromium.org/345793003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278529 0039d316-1c4b-4281-b951-d872f2087c98
* Fix installation of libgbm-dev package in install-build-deps.shprimiano@chromium.org2014-06-191-15/+27
| | | | | | | | | | | | | | | | | | | crrev.com/106633002 has recently introduced a dependency on libgbm-dev. Unfortunatelly, this package is a bit more trickier to install, for the following reason: it depends on mesa-glx and, conversely to most of the other packages, only one version of mesa (w.r.t backports) can exist in the system. Google's workstations are configured to use the -lts-saucy version of mesa. The right package in this case is libgbm-dev-lts-saucy and attempting to install just libgbm-dev ends up in a failure. This change fixes install-build-deps.sh, installing the matching version of libgbm-dev (w.r.t libgl1-mesa-glx), falling back to libgbm-dev. BUG= NOTRY=true Review URL: https://codereview.chromium.org/344623002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278433 0039d316-1c4b-4281-b951-d872f2087c98
* GN: Use -Wl,-filelist for rsp files on mac instead of @jamesr@chromium.org2014-06-191-4/+4
| | | | | | | | | | | | | | The mac GN build exceeds the command line limit when linking large targets like webkit_unit_tests. The fix is to pass a response file to the linker instead of passing a list of object files. Passing this by @rspfile ends up expanding the list before calling clang, so this instead passes it via the filelist parameter. BUG=386046 Review URL: https://codereview.chromium.org/340233002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278424 0039d316-1c4b-4281-b951-d872f2087c98
* Rezip tool used to modify the APK.anton@chromium.org2014-06-193-0/+546
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/333433002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278423 0039d316-1c4b-4281-b951-d872f2087c98
* Sort nacl_list alphabetically.thakis@chromium.org2014-06-191-10/+8
| | | | | | | | | | No intended behavior change. BUG=none Review URL: https://codereview.chromium.org/348493002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278394 0039d316-1c4b-4281-b951-d872f2087c98
* Move gn secondary_source to the build/ directorycmasone@chromium.org2014-06-1921-0/+4648
| | | | | | | | | | | | | It's a goodness to sequester build configuration in the build/ directory. The gn secondary_source stuff was under tools/gn for historical reasons, so move it to a more appropriate place. BUG=None TEST=do a gn build of base_unittests, run said unittests. Review URL: https://codereview.chromium.org/340153004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278355 0039d316-1c4b-4281-b951-d872f2087c98
* Android: cleanup old perf sharding list.bulach@chromium.org2014-06-192-32/+1
| | | | | | | | | | | All dependent patches have landed and cycled, remove support for the old format. BUG=378862 Review URL: https://codereview.chromium.org/326933003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278280 0039d316-1c4b-4281-b951-d872f2087c98
* Add probe to warm data reduction proxybengr@chromium.org2014-06-191-0/+8
| | | | | | | | | | On startup and on network changes, a request is made to the data reduction proxy to warm the connection. This reduces the page load time for first loads. BUG=354438 Review URL: https://codereview.chromium.org/338723002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278210 0039d316-1c4b-4281-b951-d872f2087c98
* Add a dependency on libelf-dev:i386.thakis@chromium.org2014-06-181-1/+1
| | | | | | | | | | | | | | | | | This is needed for https://codereview.chromium.org/341573003/ On Lucid, libelf-dev:i386 couldn't be installed in parallel to the 64bit version. So nacl has a hack to remove -m32 flags from a target that depends on libelf, to make a target_arch=ia32 on a 64bit system with multilibs work. In precise, libelf-dev:i386 can be installed in parallel, so do so as a prerequisite for removing this hack. BUG=368384 R=thestig@chromium.org Review URL: https://codereview.chromium.org/347663002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278180 0039d316-1c4b-4281-b951-d872f2087c98
* Revert of Disable excluding of tested apk's code in test apks ↵yusufo@chromium.org2014-06-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (https://codereview.chromium.org/331683005/) Reason for revert: We are hitting the issue in https://code.google.com/p/chromium/issues/detail?id=272790 again. So we will have to reenable this fix. The failing tests are being handled in separate CLs I believe. Original issue's description: > The new way of building test APKs loses some > necessary classes from them, hence causing them to fail with > "Class not found" errors. > > Disable this until we have a fix. > > BUG=384537,272790 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277756 TBR=aberent@chromium.org,cjhopman@chromium.org NOTREECHECKS=true NOTRY=true BUG=384537,272790 Review URL: https://codereview.chromium.org/341973002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278118 0039d316-1c4b-4281-b951-d872f2087c98
* Rename FORCE_DETERMINISTIC_BUILD to DONT_EMBED_BUILD_METADATA.sebmarchand@chromium.org2014-06-182-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | Strictly speaking this flag isn't here to force a deterministic build, it's here to help us to make sure that no build metadata ends up in the build artifacts to help us guarantee a deterministic build. (See the discussion in https://codereview.chromium.org/324403006/ for more details) FTR, Nico said he'll take care of getting rid of __DATE__ and __TIME__ so this new define will not be necessary for that. On the other hand we may have issues with absolute path in __FILE__ and whatever unforeseen C++ issue. This would require #ifdef'ing them out. This is not something devs would want to do normally so this flag is off by default. Eventually we'll want to fix the build system to not have to hack __FILE__ out by ensuring they are *always* relative paths but until then, this variable can be used to make progress R=maruel@chromium.org, thakis@chromium.org TBR=brettw@chromium.org BUG=314403 Review URL: https://codereview.chromium.org/330813003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278053 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the "universal" accel. overflow scroll flagsvollick@chromium.org2014-06-181-2/+0
| | | | | | | | | | | They're not used anymore. R=abarth@chromium.org BUG=None Review URL: https://codereview.chromium.org/333293003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278039 0039d316-1c4b-4281-b951-d872f2087c98
* Moving compositor_bindings from webkit to contentamogh.bihani@samsung.com2014-06-181-2/+1
| | | | | | | | | | | | | | | - All files from webkit/renderer/compositor_bindings have been moved to content/renderer/compositor_bindings - Webkit_compositor_support is moved in content_renderer - Webkit_compositor_bindings_unittests is moved in content_unittests - A dummy target has been left for webkit_compositor_bindings_unittests so as to not break the build. TBR=nduca BUG=265753 Review URL: https://codereview.chromium.org/317163002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277988 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Move canvas tests into gfx_unittests target.tfarina@chromium.org2014-06-182-2/+2
| | | | | | | | | | | | | Pretty straightforward, nothing really blocks it, so we can move it easily from ui_unittests target to gfx_unittests now. BUG=331829 TEST=ui_unittests, gfx_unittests with/out --test-launcher-bot-mode TBR=danakj@chromium.org,ben@chromium.org Review URL: https://codereview.chromium.org/332353004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277978 0039d316-1c4b-4281-b951-d872f2087c98
* Add GN support for midl.brettw@chromium.org2014-06-172-0/+95
| | | | | | | | | | Implement iaccessible and isimpledom R=scottmg@chromium.org Review URL: https://codereview.chromium.org/330413002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277855 0039d316-1c4b-4281-b951-d872f2087c98
* Changed default gdb lookup path for Android.fdegans@chromium.org2014-06-171-3/+3
| | | | | | | | BUG=385308 Review URL: https://codereview.chromium.org/336373003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277820 0039d316-1c4b-4281-b951-d872f2087c98
* .cjhopman@chromium.org2014-06-171-2/+2
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/331683005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277756 0039d316-1c4b-4281-b951-d872f2087c98
* Check the path in the zip archive not the path to the file.mkosiba@chromium.org2014-06-171-1/+1
| | | | | | | | | | | | | This check was breaking the Android checked builds. BUG=internal b/15621260 TBR=cjhopman@chromium.org // Android-only build-only change, builds fine on Android trybots. NOTRY=true Review URL: https://codereview.chromium.org/326393004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277746 0039d316-1c4b-4281-b951-d872f2087c98
* ChromeDriver has pre-installed APK's, thus should not wipe during provisioning.navabi@google.com2014-06-172-1/+5
| | | | | | | | | BUG=383106 TBR=craigdh@chromium.org Review URL: https://codereview.chromium.org/332093003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277628 0039d316-1c4b-4281-b951-d872f2087c98
* Add GN build for some chrome common, chrome net, and resources targets.brettw@chromium.org2014-06-161-0/+2
| | | | | | | | | | Slight enhancements to the grit template. R=thestig@chromium.org Review URL: https://codereview.chromium.org/335053002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277517 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Switch to DeviceUtils version of RunShellCommand.jbudorick@chromium.org2014-06-1623-79/+137
| | | | | | | | BUG=267773 Review URL: https://codereview.chromium.org/333933003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277508 0039d316-1c4b-4281-b951-d872f2087c98
* Enable policy support for registering protocol handler.kaliamoorthi@chromium.org2014-06-161-0/+1
| | | | | | | | | | The CL adds a new policy for registering protocol handlers. BUG=116119 Review URL: https://codereview.chromium.org/309553011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277475 0039d316-1c4b-4281-b951-d872f2087c98
* version.py: Use argparse instead of getopt.raphael.kubo.da.costa@intel.com2014-06-161-74/+43
| | | | | | | | | | | | | | | | | | | Rewrite the argument handling code using argparse. It allows us to get rid of a lot of manual parsing as well as the whole help message. In addition, it fixes a few other bugs present in the previous implementation: - Passing 3 or more arguments that are not values for parameters would cause an infinite loop. - The "--template" option was not allowed (only its short form "-t" was). R=mark@chromium.org, brettw@chromium.org Review URL: https://codereview.chromium.org/336513002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277450 0039d316-1c4b-4281-b951-d872f2087c98
* - Enable FIXED_POINT for Opus when building for arm64. This yields:solenberg@chromium.org2014-06-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | ~21% speed up over floating point. 2.6% increase in executable size. - Also switched to late expansion of release_optimize in common.gypi (debug_optimize was already using it). This makes it possible to set optimization level via release_optimize in lower level targets. - Enable -O3 for Opus when building form arm32/arm64. This yields: arm32: Speed increase up to 21% (encode) and 5% (decode). arm32: 2.8% increase in executable size. arm32: Output is bit exact with the output when -Os is used. arm64: Speed increase up to 18% (encode) and 25% (decode). arm64: 7.4% increase in executable size. arm64: Output is exact within one LSB (max difference is 2) with the arm32 output. Measured using webrtc/audio_codec_speed_tests. BUG=chromium:354539 Review URL: https://codereview.chromium.org/315673002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277414 0039d316-1c4b-4281-b951-d872f2087c98
* Update the default GYP flags for sanitizer tools.earthdok@chromium.org2014-06-161-6/+9
| | | | | | | | | | | | | - use_allocator=none is the default for all tools which replace the allocator, - for MSan, use_custom_libcxx=1 and v8_target_arch=arm64 are the default. BUG=302040 R=glider@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/327803005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277404 0039d316-1c4b-4281-b951-d872f2087c98
* Move Syzygy symbol files to 'exe' subdirectory as they were before.chrisha@chromium.org2014-06-151-1/+6
| | | | | | | | | | | The current script places the symbols in their own subdirectory, which breaks the expectations of the SyzyASAN build integration. BUG= TBR=sebmarchand@chromium.org Review URL: https://codereview.chromium.org/334093002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277330 0039d316-1c4b-4281-b951-d872f2087c98
* Fix python build util script exceptionhush@chromium.org2014-06-141-2/+2
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/328343005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277268 0039d316-1c4b-4281-b951-d872f2087c98
* Make test apks only dex files not in tested apk (proguard version)cjhopman@chromium.org2014-06-145-22/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | At runtime, the classloader will look for classes in both apk's dex files. In the standard Android build system, an instrumentation test apk's dex file does not include the classes included in the tested apk's dex file. To do this, when doing obfuscation for an apk, write the list of libraries included in the obfuscated jar and the list of proguard config files. Then, when proguarding the test apk's code, exclude those libraries included in the tested apk, use the configs from the tested apk, and apply the proguard mapping (the renames from obfuscation). Also add some extra test-specific proguard options. Now that the test apk does not bundle its own copy of all the tested apk's classes, some things may need to be kept in the main apk just for tests. However, we already keep everything in org.chromium.** and com.google.android.apps.** because of the fact that the test apk was using its own copy of all the classes and so we couldn't depend on the tests to actually catch us from over-optimizing with proguard. BUG=272790 Review URL: https://codereview.chromium.org/321883002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277257 0039d316-1c4b-4281-b951-d872f2087c98
* Add flag to force clobbering of index in gdb-add-indexajwong@chromium.org2014-06-141-3/+33
| | | | | | | | BUG=374952 Review URL: https://codereview.chromium.org/330333005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277212 0039d316-1c4b-4281-b951-d872f2087c98