diff options
author | caitkp@chromium.org <caitkp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-25 21:22:21 +0000 |
---|---|---|
committer | caitkp@chromium.org <caitkp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-25 21:22:21 +0000 |
commit | ce05fd0d65d7308400f2eec1fb3e4966cef51c3f (patch) | |
tree | c1b52b0f3893a19aaa02b1067ceaa5906e3c9e0d /chrome_elf/chrome_elf.gyp | |
parent | 27198c59523168aad3644a32a3a8d0644696d088 (diff) | |
download | chromium_src-ce05fd0d65d7308400f2eec1fb3e4966cef51c3f.zip chromium_src-ce05fd0d65d7308400f2eec1fb3e4966cef51c3f.tar.gz chromium_src-ce05fd0d65d7308400f2eec1fb3e4966cef51c3f.tar.bz2 |
Modify fileAtPath stat to track if the call was redirected by chrome_elf.
TEST=Manual: Start chrome.exe, wait ~60s and check chrome://histograms, the Stability.FileAtPath metric should have run (at least) once, and the resulting value should be 6, assuming the check succeeded.
Review URL: https://codereview.chromium.org/169093007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253251 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_elf/chrome_elf.gyp')
-rw-r--r-- | chrome_elf/chrome_elf.gyp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome_elf/chrome_elf.gyp b/chrome_elf/chrome_elf.gyp index 00cee29..fa6ed36 100644 --- a/chrome_elf/chrome_elf.gyp +++ b/chrome_elf/chrome_elf.gyp @@ -40,6 +40,15 @@ ], }, }, + 'conditions': [ + ['component=="shared_library"', { + # In component builds, all targets depend on chrome_redirects by + # default. Remove it here to avoid a circular dependency. + 'dependencies!': [ + '../chrome_elf/chrome_elf.gyp:chrome_redirects', + ], + }], + ], }, { 'target_name': 'chrome_elf_unittests_exe', @@ -168,6 +177,7 @@ ], 'sources': [ 'chrome_redirects.def', + 'chrome_redirects_main.cc', ], 'dependencies': [ 'chrome_elf_lib', |