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

Unified Diff: mojo/mojo_edk_nacl.gyp

Issue 2071143003: Various changes to make Mojo work under NaCl non-sfi. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and comment Created 4 years, 6 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 | « mojo/mojo_edk.gypi ('k') | ppapi/ppapi_proxy_nacl.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/mojo_edk_nacl.gyp
diff --git a/mojo/mojo_edk_nacl.gyp b/mojo/mojo_edk_nacl.gyp
index ac562d59a9438bb84a5975a049d6e68e71641002..a1ea79d3e4e190fcb176e4e06255e081502e0957 100644
--- a/mojo/mojo_edk_nacl.gyp
+++ b/mojo/mojo_edk_nacl.gyp
@@ -8,6 +8,7 @@
},
'includes': [
'../build/common_untrusted.gypi',
+ 'mojo_edk.gypi',
],
'target_defaults' : {
'include_dirs': [
@@ -26,10 +27,34 @@
'build_newlib': 0,
'build_irt': 1,
'build_pnacl_newlib': 0,
- 'build_nonsfi_helper': 1,
+ 'build_nonsfi_helper': 0,
},
'dependencies': [
'../base/base_nacl.gyp:base_nacl',
+ '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
+ 'mojo_public.gyp:mojo_public_system',
+ ],
+ 'defines': [
+ 'MOJO_SYSTEM_IMPL_IMPLEMENTATION',
+ ],
+ 'sources': [
+ '<@(mojo_edk_ports_sources)',
+ '<@(mojo_edk_system_impl_sources)',
+ ],
+ },
+ {
+ 'target_name': 'mojo_system_impl_nacl_nonsfi',
+ 'type': 'none',
+ 'variables': {
+ 'nacl_untrusted_build': 1,
+ 'nlib_target': 'libmojo_system_impl_nacl_nonsfi.a',
+ 'build_glibc': 0,
+ 'build_newlib': 0,
+ 'build_irt': 0,
+ 'build_pnacl_newlib': 0,
+ 'build_nonsfi_helper': 1,
+ },
+ 'dependencies': [
'../base/base_nacl.gyp:base_nacl_nonsfi',
'mojo_public.gyp:mojo_public_system',
],
@@ -37,93 +62,9 @@
'MOJO_SYSTEM_IMPL_IMPLEMENTATION',
],
'sources': [
- 'edk/embedder/configuration.h',
- 'edk/embedder/embedder.cc',
- 'edk/embedder/embedder.h',
- 'edk/embedder/embedder_internal.h',
- 'edk/embedder/entrypoints.cc',
- 'edk/embedder/platform_channel_pair.cc',
- 'edk/embedder/platform_channel_pair.h',
- 'edk/embedder/platform_channel_pair_posix.cc',
- 'edk/embedder/platform_handle.cc',
- 'edk/embedder/platform_handle.h',
- 'edk/embedder/platform_handle_utils.h',
- 'edk/embedder/platform_handle_utils_posix.cc',
- 'edk/embedder/platform_handle_vector.h',
- 'edk/embedder/platform_shared_buffer.cc',
- 'edk/embedder/platform_shared_buffer.h',
- 'edk/embedder/scoped_platform_handle.h',
- 'edk/system/awakable.h',
- 'edk/system/awakable_list.cc',
- 'edk/system/awakable_list.h',
- 'edk/system/async_waiter.cc',
- 'edk/system/async_waiter.h',
- 'edk/system/atomic_flag.h',
- 'edk/system/channel.cc',
- 'edk/system/channel.h',
- 'edk/system/configuration.cc',
- 'edk/system/configuration.h',
- 'edk/system/core.cc',
- 'edk/system/core.h',
- 'edk/system/data_pipe_consumer_dispatcher.cc',
- 'edk/system/data_pipe_consumer_dispatcher.h',
- 'edk/system/data_pipe_control_message.cc',
- 'edk/system/data_pipe_control_message.h',
- 'edk/system/data_pipe_producer_dispatcher.cc',
- 'edk/system/data_pipe_producer_dispatcher.h',
- 'edk/system/dispatcher.cc',
- 'edk/system/dispatcher.h',
- 'edk/system/handle_signals_state.h',
- 'edk/system/handle_table.cc',
- 'edk/system/handle_table.h',
- 'edk/system/mapping_table.cc',
- 'edk/system/mapping_table.h',
- 'edk/system/message_for_transit.cc',
- 'edk/system/message_for_transit.h',
- 'edk/system/message_pipe_dispatcher.cc',
- 'edk/system/message_pipe_dispatcher.h',
- 'edk/system/node_channel.cc',
- 'edk/system/node_channel.h',
- 'edk/system/node_controller.cc',
- 'edk/system/node_controller.h',
- 'edk/system/options_validation.h',
- 'edk/system/platform_handle_dispatcher.cc',
- 'edk/system/platform_handle_dispatcher.h',
- 'edk/system/ports/event.cc',
- 'edk/system/ports/event.h',
- 'edk/system/ports/message.cc',
- 'edk/system/ports/message.h',
- 'edk/system/ports/message_queue.cc',
- 'edk/system/ports/message_queue.h',
- 'edk/system/ports/name.cc',
- 'edk/system/ports/name.h',
- 'edk/system/ports/node.cc',
- 'edk/system/ports/node.h',
- 'edk/system/ports/node_delegate.h',
- 'edk/system/ports/port.cc',
- 'edk/system/ports/port.h',
- 'edk/system/ports/port_ref.cc',
- 'edk/system/ports/user_data.h',
- 'edk/system/ports_message.cc',
- 'edk/system/ports_message.h',
- 'edk/system/request_context.cc',
- 'edk/system/request_context.h',
- 'edk/system/shared_buffer_dispatcher.cc',
- 'edk/system/shared_buffer_dispatcher.h',
- 'edk/system/wait_set_dispatcher.cc',
- 'edk/system/wait_set_dispatcher.h',
- 'edk/system/waiter.cc',
- 'edk/system/waiter.h',
- 'edk/system/watcher.cc',
- 'edk/system/watcher.h',
- 'edk/system/watcher_set.cc',
- 'edk/system/watcher_set.h',
- # Test-only code:
- # TODO(vtl): It's a little unfortunate that these end up in the same
- # component as non-test-only code. In the static build, this code
- # should hopefully be dead-stripped.
- 'edk/embedder/test_embedder.cc',
- 'edk/embedder/test_embedder.h',
+ '<@(mojo_edk_ports_sources)',
+ '<@(mojo_edk_system_impl_sources)',
+ '<@(mojo_edk_system_impl_nacl_nonsfi_sources)',
],
},
],
« no previous file with comments | « mojo/mojo_edk.gypi ('k') | ppapi/ppapi_proxy_nacl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698