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

Unified Diff: mojo/mojo_apps.gypi

Issue 608333002: Standalone Mojo Javascript application (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the GN build Created 6 years, 3 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
« mojo/apps/js/standalone_main.cc ('K') | « mojo/mojo.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/mojo_apps.gypi
diff --git a/mojo/mojo_apps.gypi b/mojo/mojo_apps.gypi
index 631a5e9c7ee95e3905e67358d642b51f33694447..de1919a734a1272ce8e0e1c050401c8eb46bc1ca 100644
--- a/mojo/mojo_apps.gypi
+++ b/mojo/mojo_apps.gypi
@@ -80,22 +80,49 @@
],
},
{
- # GN version: //mojo/apps/js:mojo_js
- 'target_name': 'mojo_js',
- 'type': 'loadable_module',
+ # GN version: //mojo/apps/js/test:mojo_js_apps_lib
+ 'target_name': 'mojo_js_apps_lib',
+ 'type': 'static_library',
+ 'export_dependent_settings': [
+ 'mojo_base.gyp:mojo_cpp_bindings',
+ ],
'dependencies': [
'mojo_base.gyp:mojo_application_chromium',
+ 'mojo_apps_js_bindings',
'mojo_base.gyp:mojo_cpp_bindings',
'mojo_base.gyp:mojo_utility',
- 'mojo_content_handler_bindings',
'mojo_js_lib',
- '<(mojo_system_for_loadable_module)',
],
'sources': [
'apps/js/application_delegate_impl.cc',
'apps/js/js_app.cc',
'apps/js/mojo_module.cc',
- 'apps/js/main.cc',
+ ],
+ },
+ {
+ # GN version: //mojo/apps/js:mojo_js_content_handler
+ 'target_name': 'mojo_js_content_handler',
+ 'type': 'loadable_module',
+ 'dependencies': [
+ 'mojo_content_handler_bindings',
+ 'mojo_js_apps_lib',
+ '<(mojo_system_for_loadable_module)',
+ ],
+ 'sources': [
+ 'apps/js/content_handler_impl.cc',
+ 'apps/js/content_handler_main.cc',
+ ],
+ },
+ {
+ # GN version: //mojo/apps/js:mojo_js_standalone
+ 'target_name': 'mojo_js_standalone',
+ 'type': 'loadable_module',
+ 'dependencies': [
+ 'mojo_js_apps_lib',
+ '<(mojo_system_for_loadable_module)',
+ ],
+ 'sources': [
+ 'apps/js/standalone_main.cc',
],
},
],
« mojo/apps/js/standalone_main.cc ('K') | « mojo/mojo.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698