From bc8a092729a77677f7e835c0c936b1a0dc8974a4 Mon Sep 17 00:00:00 2001 From: "jamescook@chromium.org" Date: Wed, 20 Aug 2014 00:51:08 +0000 Subject: Add an app_shell_unittests target For now this uses extensions_unittests_main.cc as there are no differences in startup between extensions_unittests and app_shell_unittests. This allows ShellNaClBrowserDelegate to have a test. BUG=402612 TEST=app_shell_unittests Review URL: https://codereview.chromium.org/471453003 Cr-Commit-Position: refs/heads/master@{#290719} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290719 0039d316-1c4b-4281-b951-d872f2087c98 --- extensions/BUILD.gn | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'extensions/BUILD.gn') diff --git a/extensions/BUILD.gn b/extensions/BUILD.gn index 0aef2da..a8ddec3 100644 --- a/extensions/BUILD.gn +++ b/extensions/BUILD.gn @@ -61,9 +61,16 @@ source_set("test_support") { "common/value_builder.h", "renderer/test_extensions_renderer_client.cc", "renderer/test_extensions_renderer_client.h", - ] + "test/test_extensions_client.cc", + "test/test_extensions_client.h", + "test/test_permission_message_provider.cc", + "test/test_permission_message_provider.h", + "test/test_permissions_provider.cc", + "test/test_permissions_provider.h", + ] deps = [ + ":extensions_resources", "//base", "//extensions/browser", "//extensions/common", @@ -155,13 +162,7 @@ test("unittests") { "renderer/script_context_set_unittest.cc", "renderer/utils_unittest.cc", "test/extensions_unittests_main.cc", - "test/test_extensions_client.cc", - "test/test_extensions_client.h", - "test/test_permission_message_provider.cc", - "test/test_permission_message_provider.h", - "test/test_permissions_provider.cc", - "test/test_permissions_provider.h", - ] + ] deps = [ ":extensions_resources", -- cgit v1.1