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

6536 Коммитов

Автор SHA1 Сообщение Дата
earthdok@chromium.org 9819ea1185 Update the default GYP flags for sanitizer tools.
- 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: http://src.chromium.org/svn/trunk/src/build@277404 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-16 11:21:17 +00:00
chrisha@chromium.org c7183b332a Move Syzygy symbol files to 'exe' subdirectory as they were before.
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: http://src.chromium.org/svn/trunk/src/build@277330 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-15 18:28:48 +00:00
hush@chromium.org 7e71917218 Fix python build util script exception
BUG=

Review URL: https://codereview.chromium.org/328343005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@277268 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-14 20:26:28 +00:00
cjhopman@chromium.org 5604fa9993 Make test apks only dex files not in tested apk (proguard version)
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: http://src.chromium.org/svn/trunk/src/build@277257 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-14 19:51:58 +00:00
ajwong@chromium.org 06a7c35d40 Add flag to force clobbering of index in gdb-add-index
BUG=374952

Review URL: https://codereview.chromium.org/330333005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@277212 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-14 08:50:22 +00:00
ajwong@chromium.org 69978e526a Remove -Wl,gdb-index.
The common case build path does not include running things under a debugger.
Use gdb-add-index instead to generate the index section.

See this chromium-dev thread for background:
  https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/CnRm0EIBp0E

BUG=374952

Review URL: https://codereview.chromium.org/335903002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@277210 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-14 08:48:16 +00:00
zty@chromium.org b2a612ad9d Alert chrome-labs-tech-ticket when new offline device detected.
BUG=384139
R=navabi@chromium.org

Review URL: https://codereview.chromium.org/336713002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@277191 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-14 07:28:13 +00:00
tonyg@chromium.org 379768582d Wait for perfbot devices to charge between runs.
We were draining the battery faster than it was charging. So this causes us to
sleep until battery is at least 95% charged.

BUG=379807

Review URL: https://codereview.chromium.org/333723003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@277163 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-14 02:58:33 +00:00
brettw@chromium.org 52c1224e76 Hook up content/browser compile in GN build.
I've started changing the way grit headers are included so the include path is relative to the root gen path (liek internal Google does). This also means we don't accumulate another implicit include path for every grit target in the build.

Updates the grit target a bit so that it also includes the generated id file as a dependency, since if this changes everything will need to be re-run.

This adds a bunch of tracing targets required by the content browser build

TBR=scottmg

Review URL: https://codereview.chromium.org/335693004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@277124 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-13 23:18:04 +00:00
brettw@chromium.org 4703e12536 Don't delete the manifest when linking on Windows in GN
This is causing errors for incremental rebuilds and we can't figure out why it is necessary.

R=scottmg@chromium.org

Review URL: https://codereview.chromium.org/330323003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@277066 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-13 19:07:58 +00:00
johnme@chromium.org fc8d962bb6 GCMDriver.java should start the browser processes if necessary
When GCMDriver is woken up for an Intent, now if the browser processes
aren't yet started (along with GCMDriver's corresponding native
counterpart), it will start the browser processes itself.

Depends on https://codereview.chromium.org/314293006/

BUG=350384
R=aberent@chromium.org, fgorski@chromium.org

Review URL: https://codereview.chromium.org/331443004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@277060 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-13 18:40:53 +00:00
yang.gu@intel.com 63283308f4 Add option device in install apk script
Sometimes we need to designate device to install apk on, so this option
is needed.

BUG=

Review URL: https://codereview.chromium.org/321403002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@277050 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-13 18:08:25 +00:00
chrisha@chromium.org cf994b44d7 Bring Syzygy binaries in using a script rather than as a dependency.
BUG=

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273353

Review URL: https://codereview.chromium.org/306543006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@277048 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-13 18:07:26 +00:00
skyostil@chromium.org cb368a5dba Move adb_profile_chrome under tools/android/
Move adb_profile_chrome from build/android/ to tools/android/ to make
its purpose clearer.
    
BUG=375754
TEST=tools/android/adb_profile_chrome/run_tests

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276779

Review URL: https://codereview.chromium.org/310413003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@277031 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-13 16:27:27 +00:00
hamaji@chromium.org fcf148aeab Do not define OS_CHROMEOS for untrusted NaCl code
so that we do not need !defined(__native_client) for Chrome
OS specific clock ID.

TEST=Manually checked untrusted code does not have OS_CHROMEOS
     and trusted code does have it.
TEST=trybots
BUG=None

Review URL: https://codereview.chromium.org/324403002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276985 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-13 09:28:41 +00:00
rickyz@google.com 96863e5f58 Fix sourcing envsetup.sh under zsh.
r262292 moved much of the script under the android_envsetup_main
function.  Since zsh does not define BASH_SOURCE, SCRIPT_DIR ends up
being set to $0, which contains the name of the function.  As a result,
the various paths are computed incorrectly under when envsetup.sh is
sourced from zsh.
BUG=

Review URL: https://codereview.chromium.org/330513007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276931 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-13 05:15:48 +00:00
varkha@chromium.org fd7b79628d Prevents error when using build/install-build-deps.sh --quick-check
BUG=380556
TEST=run "build/install-build-deps.sh --quick-check". Should not produce error described in the bug.

Review URL: https://codereview.chromium.org/330153002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276922 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-13 04:17:43 +00:00
navabi@google.com 86be4b1a33 Refactor wipe option to wipe on default and have option to skip wipe.
Also remove the option -w to only wipe without provisioning. This was temporary
functionality to recover from INSUFFICIENT_STORAGE on device error. With the
default wiping, this should be unnecessary. For bots that skip wiping, we can
still manually fix by manually running without --skip-wipe.

BUG=383106
TBR=craigdh@chromium.org

Review URL: https://codereview.chromium.org/334503002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276866 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-13 00:37:40 +00:00
anandc@chromium.org 55aea45296 Now that the fix to the build-warning seen earlier,
https://codereview.chromium.org/333443002 has landed, reactivate building
browser_tests.exe for official Windows builds.

BUG=379986

Review URL: https://codereview.chromium.org/328423002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276835 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-12 22:45:50 +00:00
sebmarchand@chromium.org d0506e6d31 Add a new FORCE_DETERMINISTIC_BUILD define.
This flag will be used to make the builds determinist, e.g. in place like this one: https://code.google.com/p/chromium/codesearch#chromium/src/base/build_time.h&l=15

BUG=314403

Review URL: https://codereview.chromium.org/324403006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276801 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-12 21:01:19 +00:00
cjhopman@chromium.org 1cfc7c4524 Make test apks only dex files not in tested apk
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 dexing, write a file listing the inputs to the dex
file. When dexing for an instrumentation apk, exclude those files listed
as inputs of the tested apk's dex file.

For proguarded apks, this exclusion will need to happen for proguard
inputs instead of dex inputs, so this change does not cover that case.

BUG=272790
NOTRY=true

Review URL: https://codereview.chromium.org/313273004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276788 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-12 20:28:16 +00:00
rouslan@chromium.org 309b8b25a6 Revert 276779 "Move adb_profile_chrome under tools/android/"
Appears to have broken
http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Full/builds/5246

  src/tools/android/adb_profile_chrome/main.py: Has executable bit but
  not shebang or ELF header.

Please add the shebang and reland. Sorry for the inconvenience.

> Move adb_profile_chrome under tools/android/
>
> Move adb_profile_chrome from build/android/ to tools/android/ to make
> its purpose clearer.
>
> BUG=375754
> TEST=tools/android/adb_profile_chrome/run_tests
>
> Review URL: https://codereview.chromium.org/310413003

TBR=skyostil@chromium.org

Review URL: https://codereview.chromium.org/330713002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276784 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-12 20:21:59 +00:00
skyostil@chromium.org d79e24f33a Move adb_profile_chrome under tools/android/
Move adb_profile_chrome from build/android/ to tools/android/ to make
its purpose clearer.
    
BUG=375754
TEST=tools/android/adb_profile_chrome/run_tests

Review URL: https://codereview.chromium.org/310413003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276779 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-12 19:52:32 +00:00
brettw@chromium.org f1c0134684 More work on content/browser GN build.
Still not hooked up and not quite everything compiles but this should be the bulk of the functionality.

BUG=
R=scottmg@chromium.org

Review URL: https://codereview.chromium.org/328313003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276774 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-12 19:38:50 +00:00
brettw@chromium.org 2e63e4f6df Add yasm to the GN build.
This is forked off of https://codereview.chromium.org/266613002 The code to compile yasm itself is mostly from that patch, with a few updates for the other changes.

Adds a template for running compiled binaries. Compared to Albert's patch above, this assumes the binary is generated by the source tree so can have a cleaner interface (just specify the label of the tool you use).

The yasm rule is new compared to Albert's patch. It uses a special wrapper script instead of the new compiled_action templates so it can properly support depfiles. This also adds convenient support for defines and include dirs.

This adds some trivial ios changes to the content/public/browser. This should be a NOP now.

Fixes a bug in GN depfile creation. Previously, the .d file was emitted as an output of the script, but this confuses ninja. This change just removes that.

BUG=
R=ajwong@chromium.org

Review URL: https://codereview.chromium.org/321323004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276772 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-12 19:35:55 +00:00
cjhopman@chromium.org 00a2d7c2ff Use raw strings for javac colorize regexes
Particularly the '\\' in fileline_prefix would need to be '\\\\' in a
normal (non-raw) python string.

NOTRY=true

Review URL: https://codereview.chromium.org/330573003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276748 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-12 18:20:37 +00:00
sebmarchand@chromium.org 3c4d535f49 Add a target to produce a SyzyASan instrumented version of pdf.dll
This will be used on Clusterfuzz, and we might ship this on the Canary sometimes if the performances are reasonable.

BUG=

Review URL: https://codereview.chromium.org/321303002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276746 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-12 18:19:49 +00:00
sebmarchand@chromium.org 16c89af355 Disable Warning 4702 for the PGO builds.
There's more optimization done on a PGO build than on a regular one, this results in some "Unreachable code" warnings that we don't see normally.

But probably anything that this would catch that wouldn't be caught in a normal build isn't going to actually be a bug, so the incremental value of C4702 for PGO builds is likely very small and blocks the setup of the PGO bots.

BUG=380175

Review URL: https://codereview.chromium.org/315323002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276737 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-12 18:06:31 +00:00
sehr@chromium.org db2d0ef2fe Enable about:nacl and correct symbol visibility for the plugin
After this change, if libppGoogleNaClPluginChrome.so is placed in the install
directory it correctly starts and attempts to create a subprocess.

BUG= https://code.google.com/p/nativeclient/issues/detail?id=3032
R=bradnelson@google.com, darin@chromium.org

Review URL: https://codereview.chromium.org/329853002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276724 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-12 17:20:42 +00:00
jbudorick@chromium.org f117f4656f [Android] Switch to DeviceUtils versions of Reboot and Install.
BUG=267773
NOTRY=true

Review URL: https://codereview.chromium.org/292313015

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276702 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-12 16:24:23 +00:00
kjellander@chromium.org e523d70dcf Pass GYP DEPTH variable to isolate.
This should make it possible to get rid of the ugly
relative paths in the isolate files.

I'm including an example for base_unittests.isolate for 
demonstrative purposes only. I can remove it (or convert all
.isolate files in Chromium) before landing.

BUG=343106
TEST=Successful compile+test on Linux using:
ninja -C out/Release base_unittests_run xdisplaycheck
tools/swarming_client/isolate.py run -s out/Release/base_unittests.isolated

Review URL: https://codereview.chromium.org/322403003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276671 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-12 14:29:01 +00:00
cjhopman@chromium.org 8a71208e73 Update some gyp targets to use dex_action.gypi
This makes the way that we invoke dex more consistent (and easier to
change).

Review URL: https://codereview.chromium.org/317423003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276518 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-12 03:40:40 +00:00
tapted@chromium.org e57a145398 Whitespace change to overcome the great tree sadness of 2014-06-11.
TBR=tapted@chromium.org

Review URL: https://codereview.chromium.org/329923003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276503 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-12 02:42:32 +00:00
acolwell@chromium.org 671d40b679 Revert 276388 "Enable building and output-ing of browser_tests.e..."
This appears to be causing the Google Chrome Win bot to have a compiler failure.
http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Win/builds/24886

> Enable building and output-ing of browser_tests.exe for official Windows builds.
> 
> BUG=379986
> 
> Review URL: https://codereview.chromium.org/323163003

TBR=anandc@chromium.org

Review URL: https://codereview.chromium.org/327273003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276427 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-11 16:21:06 +00:00
anandc@chromium.org a9ac1e635b Enable building and output-ing of browser_tests.exe for official Windows builds.
BUG=379986

Review URL: https://codereview.chromium.org/323163003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276388 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-11 14:29:13 +00:00
cjhopman@chromium.org 9a78557855 Convert apk obfuscation to python
For the apk specific java files, we now run proguard on the jar instead of the classes.

BUG=375324,359249

Review URL: https://codereview.chromium.org/322443005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276377 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-11 13:19:47 +00:00
starodub@google.com 13a0d7453b Adding milliseconds to test timestamps.
BUG=

Review URL: https://codereview.chromium.org/327823004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276322 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-11 09:37:57 +00:00
raphael.kubo.da.costa@intel.com 8c481aa2e5 version.py: Pass the right object to Usage in getopt exceptions.
Usage() expects a string, not a full GetoptError object.

TEST=build/util/version.py --file chrome/VERSION --blargh
R=brettw@chromium.org, mark@chromium.org

Review URL: https://codereview.chromium.org/326043004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276315 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-11 09:13:21 +00:00
cjhopman@chromium.org 05bcfb85a0 Make javac.py output colorful
This highlights warnings in yellow, errors in red(ish), and the ^ marker
in blue.

Adds stdout_filter and stderr_filter to build_utils.CheckOutput. If the
caller handled this themselves they would need to print stdout/stderr
themselves and modify the value stored in the ProcessCalledException.

NOTRY=true

Review URL: https://codereview.chromium.org/295683002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276231 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-11 01:59:37 +00:00
cjhopman@chromium.org 4e3b24ef3f Pass resources to dependents as zip files instead of directories
This makes all temporary work be done in temporary directories.

This change is particularly helpful for 2 reasons: first, it makes it
more difficult to accidentally include stale, unwanted files during an
incremental build. Second, it is easier to trigger dependent actions
(zip file timestamps should be updated when their contents change, while
the same is not true for directories).

Makes the output of build/java_strings_grd.gypi be a zipfile containing
the resources.

BUG=359249,375431

Review URL: https://codereview.chromium.org/321463002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276226 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-11 01:20:55 +00:00
skyostil@chromium.org 554a325079 adb_profile_chrome: Show interactive perf command
Show interactive perf command in case the user wants to view the raw
perf profile.

BUG=375754
NOTRY=true

Review URL: https://codereview.chromium.org/321163005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276201 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-10 23:22:37 +00:00
xhwang@chromium.org 1b11225f7e Introduce the ENABLE_BROWSER_CDMS macro.
This will be defined when a platform needs to use browser side CDM to implement
EME API. Currently this is only used on Android.

Note that MediaWebContentsObserver is shared by Android media player managers
and browser CDM managers. Since ENABLE_BROWSER_CDMS is always true on Android,
we only check ENABLE_BROWSER_CDMS to decide whether MediaWebContentsObserver
should be used. Also, in media_web_contents_observer.*, we only check
OS_ANDROID to decide whether Android media player code should be used. This is
not perfect but makes the current code simple. This will be fixed when we have
a general (not Android specic) media player manager.

TBR=yfriedman@chromium.org
BUG=315312
TEST=Compiles on Android. Test pages still work on Android. Compiles when I choose to use browser CDM on Linux.

Review URL: https://codereview.chromium.org/318753010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276200 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-10 23:21:53 +00:00
johnme@chromium.org 7304e7d159 Keep a static reference to Java GCMDriver instance
This is so that intent handlers etc will be able to access the GCMDriver
instance (if any), or if it's null they'll know that they need to launch
the native browser process and tell it to create a C++ GCMDriverAndroid.

BUG=350384

Review URL: https://codereview.chromium.org/316963003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276187 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-10 22:51:00 +00:00
navabi@google.com 49b53a2784 Reboot device after configuring in provision script.
BUG=379219

Review URL: https://codereview.chromium.org/327573003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276162 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-10 21:35:56 +00:00
zty@google.com d6b16f0946 Return 1 ony if no online device presents.
BUG=310881
R=navabi@chromium.org

Review URL: https://codereview.chromium.org/324513006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276131 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-10 20:48:10 +00:00
brettw@chromium.org d6e8296c12 Pull GN binary at r275833
Also fixes some build errors on non-Linux platforms.

R=jamesr@chromium.org

Review URL: https://codereview.chromium.org/323643004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276063 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-10 17:48:03 +00:00
skyostil@chromium.org 7466aee971 telemetry: Improve perf profiler
This patch makes some improvements to the perf profiler in telemetry:

1. Add a prebuilt perf binary to be run on the Linux x86_64 host. This
   lets us rely on always having a recent perf binary present, allowing
   us to use source code annotation by default on Android. The binary
   also includes patches needed for importing perf data into Trace
   Viewer.

2. Use better defaults for running perf. Most importantly, sample at
   2000 Hz instead of the default 100 Hz.

3. On the Linux host, disable kernel symbol hiding for more complete
   symbolization. Note that this is also required by the new version of
   perf which this patch adds.

4. Turn on all CPUs on Android while running perf. This works around
   a bug in perf where samples from CPUs that were brought online while
   perf was running were not collected. The rationale for doing this
   only for perf instead of performance tests in general (to reduce noise)
   is that having all CPUs enabled for a long time is likely to lead to
   thermal throttling.

BUG=375754
TEST=tools/telemetry/run_tests --browser=android-content-shell TestAndroidProfilingHelper;
     tools/telemetry/run_tests --browser=android-content-shell TestPerfProfiler;
     build/android/chrome_profiler/run_tests

Review URL: https://codereview.chromium.org/316143002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276049 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-10 16:18:39 +00:00
tfarina@chromium.org 80d130c00e Add GN Build file for ui/events/ozone.
This was tested with:

$ gn gen out/Debug_gn --args='use_ozone=true'
$ ninja -C out/Debug_gn events_ozone events_ozone_evdev

BUG=None
TEST=see above
R=brettw@chromium.org
TBR=ben@chromium # for ui/ changes
NOTRY=true

Review URL: https://codereview.chromium.org/322983002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@276044 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-10 15:58:45 +00:00
kjellander@chromium.org 2913611a39 WebRTC: Update isolate file location for audio_decoder_unittests
The new file is already in place and the old one is just a
copy of it left there waiting for this CL to land before it
can be removed.

I'm setting NOTRY since this is not used by any Chromium 
bot (only WebRTC-maintained bots).

NOTRY=True
TBR=frankf@chromium.org
BUG=webrtc:3462

Review URL: https://codereview.chromium.org/323833002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@275804 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-09 14:16:11 +00:00
bulach@chromium.org 49996b0009 Android Perf tests: obtain the list of tests from the test runner.
This decouples the buildbot from the test runner, and makes the
test list format an internal detail.

BUG=378862

Review URL: https://codereview.chromium.org/312293003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@275797 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-09 12:33:56 +00:00