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

Unified Diff: mojo/mojo.gyp

Issue 25895002: Simple shell that loads a dll and calls an entrypoint function passing in a handle to a pipe create… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: exports to template instantiations Created 7 years, 2 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
« build/all.gyp ('K') | « build/all.gyp ('k') | mojo/public/system/core.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/mojo.gyp
diff --git a/mojo/mojo.gyp b/mojo/mojo.gyp
index d8f3121b11026b8281029135f4b367d3f1991fde..5a86936275ae0e004c35bf8f238dfd44e258a1f6 100644
--- a/mojo/mojo.gyp
+++ b/mojo/mojo.gyp
@@ -64,10 +64,13 @@
{
'target_name': 'mojo_system',
# TODO(vtl): This should probably be '<(component)'; make it work.
- 'type': 'static_library',
+ 'type': '<(component)',
'dependencies': [
'../base/base.gyp:base',
],
+ 'defines': [
+ 'MOJO_SYSTEM_IMPLEMENTATION',
+ ],
'sources': [
'public/system/core.h',
'system/core.cc',
@@ -120,5 +123,31 @@
'system/waiter_unittest.cc',
],
},
+ {
+ 'target_name': 'mojo_shell',
+ 'type': 'executable',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ 'mojo_system',
+ ],
+ 'sources': [
+ 'shell/app_container.cc',
+ 'shell/app_container.h',
+ 'shell/shell.cc',
+ 'shell/switches.cc',
+ 'shell/switches.h',
+ ],
+ },
+ {
+ 'target_name': 'sample_app',
+ 'type': '<(component)',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ 'mojo_system',
+ ],
+ 'sources': [
+ 'shell/sample_app.cc',
+ ],
+ },
],
}
« build/all.gyp ('K') | « build/all.gyp ('k') | mojo/public/system/core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698