OLD | NEW |
(Empty) | |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'includes': [ |
| 7 '../build/common_untrusted.gypi', |
| 8 'mojo_variables.gypi', |
| 9 ], |
| 10 'target_defaults' : { |
| 11 'include_dirs': [ |
| 12 '..', |
| 13 ], |
| 14 }, |
| 15 'targets': [ |
| 16 { |
| 17 # GN version: //mojo/edk/system |
| 18 'target_name': 'mojo_system_impl_nacl', |
| 19 'type': 'none', |
| 20 'variables': { |
| 21 'nacl_untrusted_build': 1, |
| 22 'nlib_target': 'libmojo_system_impl_nacl.a', |
| 23 'build_glibc': 0, |
| 24 'build_newlib': 0, |
| 25 'build_irt': 1, |
| 26 'build_pnacl_newlib': 0, |
| 27 'build_nonsfi_helper': 1, |
| 28 }, |
| 29 'dependencies': [ |
| 30 '../base/base_nacl.gyp:base_nacl', |
| 31 '../base/base_nacl.gyp:base_nacl_nonsfi', |
| 32 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 33 'mojo_public.gyp:mojo_system_headers', |
| 34 ], |
| 35 'defines': [ |
| 36 'MOJO_SYSTEM_IMPL_IMPLEMENTATION', |
| 37 'MOJO_SYSTEM_IMPLEMENTATION', |
| 38 'MOJO_USE_SYSTEM_IMPL', |
| 39 ], |
| 40 'sources': [ |
| 41 'edk/embedder/configuration.h', |
| 42 'edk/embedder/embedder.cc', |
| 43 'edk/embedder/embedder.h', |
| 44 'edk/embedder/embedder_internal.h', |
| 45 'edk/embedder/entrypoints.cc', |
| 46 'edk/embedder/platform_channel_pair.cc', |
| 47 'edk/embedder/platform_channel_pair.h', |
| 48 'edk/embedder/platform_channel_pair_posix.cc', |
| 49 'edk/embedder/platform_handle.cc', |
| 50 'edk/embedder/platform_handle.h', |
| 51 'edk/embedder/platform_handle_utils.h', |
| 52 'edk/embedder/platform_handle_utils_posix.cc', |
| 53 'edk/embedder/platform_handle_vector.h', |
| 54 'edk/embedder/platform_shared_buffer.cc', |
| 55 'edk/embedder/platform_shared_buffer.h', |
| 56 'edk/embedder/scoped_platform_handle.h', |
| 57 'edk/system/awakable.h', |
| 58 'edk/system/awakable_list.cc', |
| 59 'edk/system/awakable_list.h', |
| 60 'edk/system/async_waiter.cc', |
| 61 'edk/system/async_waiter.h', |
| 62 'edk/system/atomic_flag.h', |
| 63 'edk/system/channel.cc', |
| 64 'edk/system/channel.h', |
| 65 'edk/system/configuration.cc', |
| 66 'edk/system/configuration.h', |
| 67 'edk/system/core.cc', |
| 68 'edk/system/core.h', |
| 69 'edk/system/data_pipe_consumer_dispatcher.cc', |
| 70 'edk/system/data_pipe_consumer_dispatcher.h', |
| 71 'edk/system/data_pipe_control_message.cc', |
| 72 'edk/system/data_pipe_control_message.h', |
| 73 'edk/system/data_pipe_producer_dispatcher.cc', |
| 74 'edk/system/data_pipe_producer_dispatcher.h', |
| 75 'edk/system/dispatcher.cc', |
| 76 'edk/system/dispatcher.h', |
| 77 'edk/system/handle_signals_state.h', |
| 78 'edk/system/handle_table.cc', |
| 79 'edk/system/handle_table.h', |
| 80 'edk/system/mapping_table.cc', |
| 81 'edk/system/mapping_table.h', |
| 82 'edk/system/message_for_transit.cc', |
| 83 'edk/system/message_for_transit.h', |
| 84 'edk/system/message_pipe_dispatcher.cc', |
| 85 'edk/system/message_pipe_dispatcher.h', |
| 86 'edk/system/node_channel.cc', |
| 87 'edk/system/node_channel.h', |
| 88 'edk/system/node_controller.cc', |
| 89 'edk/system/node_controller.h', |
| 90 'edk/system/options_validation.h', |
| 91 'edk/system/platform_handle_dispatcher.cc', |
| 92 'edk/system/platform_handle_dispatcher.h', |
| 93 'edk/system/ports/event.cc', |
| 94 'edk/system/ports/event.h', |
| 95 'edk/system/ports/message.cc', |
| 96 'edk/system/ports/message.h', |
| 97 'edk/system/ports/message_queue.cc', |
| 98 'edk/system/ports/message_queue.h', |
| 99 'edk/system/ports/name.cc', |
| 100 'edk/system/ports/name.h', |
| 101 'edk/system/ports/node.cc', |
| 102 'edk/system/ports/node.h', |
| 103 'edk/system/ports/node_delegate.h', |
| 104 'edk/system/ports/port.cc', |
| 105 'edk/system/ports/port.h', |
| 106 'edk/system/ports/port_ref.cc', |
| 107 'edk/system/ports/user_data.h', |
| 108 'edk/system/ports_message.cc', |
| 109 'edk/system/ports_message.h', |
| 110 'edk/system/request_context.cc', |
| 111 'edk/system/request_context.h', |
| 112 'edk/system/shared_buffer_dispatcher.cc', |
| 113 'edk/system/shared_buffer_dispatcher.h', |
| 114 'edk/system/wait_set_dispatcher.cc', |
| 115 'edk/system/wait_set_dispatcher.h', |
| 116 'edk/system/waiter.cc', |
| 117 'edk/system/waiter.h', |
| 118 'edk/system/watcher.cc', |
| 119 'edk/system/watcher.h', |
| 120 'edk/system/watcher_set.cc', |
| 121 'edk/system/watcher_set.h', |
| 122 # Test-only code: |
| 123 # TODO(vtl): It's a little unfortunate that these end up in the same |
| 124 # component as non-test-only code. In the static build, this code |
| 125 # should hopefully be dead-stripped. |
| 126 'edk/embedder/test_embedder.cc', |
| 127 'edk/embedder/test_embedder.h', |
| 128 ], |
| 129 'all_dependent_settings': { |
| 130 # Ensures that dependent projects import the core functions on Windows. |
| 131 'defines': ['MOJO_USE_SYSTEM_IMPL'], |
| 132 }, |
| 133 }, |
| 134 ], |
| 135 } |
OLD | NEW |