Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(470)

Unified Diff: extensions/extensions.gyp

Issue 399363002: Add support for writing unit tests for Mojo-backed apps/extensions APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/DEPS ('k') | extensions/renderer/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/extensions.gyp
diff --git a/extensions/extensions.gyp b/extensions/extensions.gyp
index 7faa1911cb224640ff8fa6004ad2d8489faddcb3..ece9476725a9b1a131875ab3e69e95baaf7f7b8f 100644
--- a/extensions/extensions.gyp
+++ b/extensions/extensions.gyp
@@ -535,7 +535,9 @@
'dependencies': [
'extensions_resources.gyp:extensions_resources',
'../chrome/chrome_resources.gyp:chrome_resources',
+ '../content/content_resources.gyp:content_resources',
'../gin/gin.gyp:gin',
+ '../mojo/mojo.gyp:mojo_js_bindings',
'../third_party/WebKit/public/blink.gyp:blink',
],
'include_dirs': [
@@ -733,6 +735,7 @@
'target_name': 'extensions_pak',
'type': 'none',
'dependencies': [
+ '../content/content_resources.gyp:content_resources',
'../ui/strings/ui_strings.gyp:ui_strings',
'extensions_resources.gyp:extensions_resources',
],
@@ -741,6 +744,7 @@
'action_name': 'repack_extensions_pak',
'variables': {
'pak_inputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak',
'<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_resources.pak',
'<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_renderer_resources.pak',
'<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.pak',
@@ -763,6 +767,11 @@
'../base/base.gyp:base',
'../base/base.gyp:test_support_base',
'../content/content_shell_and_tests.gyp:test_support_content',
+ '../device/serial/serial.gyp:device_serial',
+ '../mojo/mojo.gyp:mojo_environment_chromium',
+ '../mojo/mojo.gyp:mojo_cpp_bindings',
+ '../mojo/mojo.gyp:mojo_js_bindings_lib',
+ '../mojo/mojo.gyp:mojo_system_impl',
'../testing/gmock.gyp:gmock',
'../testing/gtest.gyp:gtest',
'extensions_common',
@@ -781,6 +790,9 @@
'common/one_shot_event_unittest.cc',
'common/permissions/manifest_permission_set_unittest.cc',
'common/user_script_unittest.cc',
+ 'renderer/api_test_base.cc',
+ 'renderer/api_test_base.h',
+ 'renderer/api_test_base_unittest.cc',
'renderer/event_unittest.cc',
'renderer/json_schema_unittest.cc',
'renderer/messaging_utils_unittest.cc',
« no previous file with comments | « extensions/DEPS ('k') | extensions/renderer/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698