diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-05 07:51:38 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-05 07:51:38 +0000 |
commit | abe4d456e2f591b95e04a20ab86309e1e6d29b34 (patch) | |
tree | cb01dab33b874d83d89dcf5f97f4259881883406 /content/content_app.gypi | |
parent | 561f0347efd8f20de477276122234165ce85d55c (diff) | |
download | chromium_src-abe4d456e2f591b95e04a20ab86309e1e6d29b34.zip chromium_src-abe4d456e2f591b95e04a20ab86309e1e6d29b34.tar.gz chromium_src-abe4d456e2f591b95e04a20ab86309e1e6d29b34.tar.bz2 |
Add extensions_unittests target for unit tests in //extensions.
This introduces a minimal test target, "extensions_unittests", for
building unit tests in //extensions. It starts with files from
extensions/common first, so it is easier to get the dependencies right.
This also list the all the entries that would not introduce more
"chrome" dependencies on any extensions targets.
When running this target you will see that it does not PASS everything
yet:
8 tests failed:
ExtensionURLPatternTest.ConvertToExplicitSchemes
ExtensionURLPatternTest.GetAsString
ExtensionURLPatternTest.Match13
ExtensionURLPatternTest.Match19
ExtensionURLPatternTest.Match9
FileUtilTest.ExtensionResourceURLToFilePath
FileUtilTest.ExtensionURLToRelativeFilePath
9 tests crashed:
APIPermissionSetTest.CreateDifference
APIPermissionSetTest.CreateIntersection
APIPermissionSetTest.CreateUnion
APIPermissionSetTest.General
APIPermissionSetTest.IPC
APIPermissionSetTest.ImplicitPermissions
ManifestHandlerTest.DependentHandlers
ManifestHandlerTest.FailingHandlers
ManifestHandlerTest.Validate
Since we are not running this target on the bots yet, it should be fine,
and we can iterate from this point and fix these failures and crashes later.
BUG=348066
TEST=extensions_unittests
R=yoz@chromium.org,jamescook@chromium.org,jam@chromium.org
Review URL: https://codereview.chromium.org/224993004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261989 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/content_app.gypi')
-rw-r--r-- | content/content_app.gypi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/content/content_app.gypi b/content/content_app.gypi index 6187bce..a66a12d 100644 --- a/content/content_app.gypi +++ b/content/content_app.gypi @@ -35,6 +35,13 @@ 'public/app/startup_helper_win.h', ], 'conditions': [ + # TODO(dmikurube): Kill {linux|android}_use_tcmalloc. http://crbug.com/345554 + ['(use_allocator!="none" and use_allocator!="see_use_tcmalloc") or (use_allocator=="see_use_tcmalloc" and ((OS=="linux" and os_posix==1 and use_aura==1 and linux_use_tcmalloc==1) or (OS=="android" and android_use_tcmalloc==1)))', { + 'dependencies': [ + # This is needed by app/content_main_runner.cc + '../base/allocator/allocator.gyp:allocator', + ], + }], ['OS=="win"', { 'dependencies': [ '../sandbox/sandbox.gyp:sandbox', |