| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'include': [ | 6 'include': [ |
| 7 '../native_client/build/untrusted.gypi', | 7 '../native_client/build/untrusted.gypi', |
| 8 ], | 8 ], |
| 9 'target_defaults': { | 9 'target_defaults': { |
| 10 'variables': { | 10 'variables': { |
| 11 'nacl_target': 0, | 11 'nacl_target': 0, |
| 12 }, | 12 }, |
| 13 'target_conditions': [ | 13 'target_conditions': [ |
| 14 # This part is shared between the targets defined below. Only files and | 14 # This part is shared between the targets defined below. Only files and |
| 15 # settings relevant for building the Win64 target should be added here. | 15 # settings relevant for building the Win64 target should be added here. |
| 16 ['nacl_target==1', { | 16 ['nacl_target==1', { |
| 17 'include_dirs': [ | 17 'include_dirs': [ |
| 18 '<(INTERMEDIATE_DIR)', | 18 '<(INTERMEDIATE_DIR)', |
| 19 ], | 19 ], |
| 20 'defines': [ | 20 'defines': [ |
| 21 '<@(nacl_defines)', | 21 '<@(nacl_defines)', |
| 22 ], | 22 ], |
| 23 'sources': [ | 23 'sources': [ |
| 24 # .cc, .h, and .mm files under nacl that are used on all | 24 # .cc, .h, and .mm files under nacl that are used on all |
| 25 # platforms, including both 32-bit and 64-bit Windows. | 25 # platforms, including both 32-bit and 64-bit Windows. |
| 26 # Test files are also not included. | 26 # Test files are also not included. |
| 27 'nacl/nacl_ipc_adapter.cc', | 27 'nacl/common/nacl_sandbox_type_mac.h', |
| 28 'nacl/nacl_ipc_adapter.h', | 28 'nacl/common/nacl_switches.cc', |
| 29 'nacl/nacl_main.cc', | 29 'nacl/common/nacl_switches.h', |
| 30 'nacl/nacl_main_platform_delegate.h', | 30 'nacl/loader/nacl_ipc_adapter.cc', |
| 31 'nacl/nacl_main_platform_delegate_linux.cc', | 31 'nacl/loader/nacl_ipc_adapter.h', |
| 32 'nacl/nacl_main_platform_delegate_mac.mm', | 32 'nacl/loader/nacl_main.cc', |
| 33 'nacl/nacl_main_platform_delegate_win.cc', | 33 'nacl/loader/nacl_main_platform_delegate.h', |
| 34 'nacl/nacl_listener.cc', | 34 'nacl/loader/nacl_main_platform_delegate_linux.cc', |
| 35 'nacl/nacl_listener.h', | 35 'nacl/loader/nacl_main_platform_delegate_mac.mm', |
| 36 'nacl/nacl_validation_db.h', | 36 'nacl/loader/nacl_main_platform_delegate_win.cc', |
| 37 'nacl/nacl_validation_query.cc', | 37 'nacl/loader/nacl_listener.cc', |
| 38 'nacl/nacl_validation_query.h', | 38 'nacl/loader/nacl_listener.h', |
| 39 'nacl/loader/nacl_validation_db.h', |
| 40 'nacl/loader/nacl_validation_query.cc', |
| 41 'nacl/loader/nacl_validation_query.h', |
| 39 ], | 42 ], |
| 40 # TODO(gregoryd): consider switching NaCl to use Chrome OS defines | 43 # TODO(gregoryd): consider switching NaCl to use Chrome OS defines |
| 41 'conditions': [ | 44 'conditions': [ |
| 42 ['OS=="win"', { | 45 ['OS=="win"', { |
| 43 'defines': [ | 46 'defines': [ |
| 44 '__STDC_LIMIT_MACROS=1', | 47 '__STDC_LIMIT_MACROS=1', |
| 45 ], | 48 ], |
| 46 'include_dirs': [ | 49 'include_dirs': [ |
| 47 '<(DEPTH)/third_party/wtl/include', | 50 '<(DEPTH)/third_party/wtl/include', |
| 48 ], | 51 ], |
| 49 },], | 52 },], |
| 50 ['OS=="linux"', { | 53 ['OS=="linux"', { |
| 51 'defines': [ | 54 'defines': [ |
| 52 '__STDC_LIMIT_MACROS=1', | 55 '__STDC_LIMIT_MACROS=1', |
| 53 ], | 56 ], |
| 54 'sources': [ | 57 'sources': [ |
| 55 'app/nacl_fork_delegate_linux.cc', | 58 'nacl/common/nacl_fork_delegate_linux.h', |
| 56 'app/nacl_fork_delegate_linux.h', | 59 'nacl/common/nacl_paths.cc', |
| 60 'nacl/common/nacl_paths.h', |
| 61 'nacl/loader/nacl_fork_delegate_linux.cc', |
| 57 ], | 62 ], |
| 58 },], | 63 },], |
| 59 ], | 64 ], |
| 60 }], | 65 }], |
| 61 ], | 66 ], |
| 62 }, | 67 }, |
| 63 'conditions': [ | 68 'conditions': [ |
| 64 ['disable_nacl!=1', { | 69 ['disable_nacl!=1', { |
| 65 'targets': [ | 70 'targets': [ |
| 66 { | 71 { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 }, | 109 }, |
| 105 'dependencies': [ | 110 'dependencies': [ |
| 106 '../native_client/src/trusted/service_runtime/service_runtime.gy
p:sel_main_chrome64', | 111 '../native_client/src/trusted/service_runtime/service_runtime.gy
p:sel_main_chrome64', |
| 107 '../ppapi/ppapi_internal.gyp:ppapi_shared_win64', | 112 '../ppapi/ppapi_internal.gyp:ppapi_shared_win64', |
| 108 '../ppapi/ppapi_internal.gyp:ppapi_ipc_win64', | 113 '../ppapi/ppapi_internal.gyp:ppapi_ipc_win64', |
| 109 ], | 114 ], |
| 110 'export_dependent_settings': [ | 115 'export_dependent_settings': [ |
| 111 '../ppapi/ppapi_internal.gyp:ppapi_ipc_win64', | 116 '../ppapi/ppapi_internal.gyp:ppapi_ipc_win64', |
| 112 ], | 117 ], |
| 113 'sources': [ | 118 'sources': [ |
| 114 'common/nacl_cmd_line.cc', | 119 'nacl/broker/nacl_broker_listener.cc', |
| 115 'common/nacl_debug_exception_handler_win.cc', | 120 'nacl/broker/nacl_broker_listener.h', |
| 116 'common/nacl_messages.cc', | 121 'nacl/common/nacl_debug_exception_handler_win.cc', |
| 117 'common/nacl_types.cc', | 122 'nacl/common/nacl_messages.cc', |
| 118 'nacl/nacl_broker_listener.cc', | 123 'nacl/common/nacl_switches.cc', |
| 119 'nacl/nacl_broker_listener.h', | 124 'nacl/common/nacl_types.cc', |
| 120 ], | 125 ], |
| 121 'include_dirs': [ | 126 'include_dirs': [ |
| 122 '..', | 127 '..', |
| 123 ], | 128 ], |
| 124 'defines': [ | 129 'defines': [ |
| 125 '<@(nacl_win64_defines)', | 130 '<@(nacl_win64_defines)', |
| 126 'COMPILE_CONTENT_STATICALLY', | 131 'COMPILE_CONTENT_STATICALLY', |
| 127 ], | 132 ], |
| 128 'configurations': { | 133 'configurations': { |
| 129 'Common_Base': { | 134 'Common_Base': { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 145 'type': 'executable', | 150 'type': 'executable', |
| 146 'include_dirs': [ | 151 'include_dirs': [ |
| 147 '..', | 152 '..', |
| 148 ], | 153 ], |
| 149 'dependencies': [ | 154 'dependencies': [ |
| 150 '../crypto/crypto.gyp:crypto', | 155 '../crypto/crypto.gyp:crypto', |
| 151 '../sandbox/sandbox.gyp:libc_urandom_override', | 156 '../sandbox/sandbox.gyp:libc_urandom_override', |
| 152 'nacl', | 157 'nacl', |
| 153 ], | 158 ], |
| 154 'sources': [ | 159 'sources': [ |
| 155 'nacl/nacl_helper_linux.cc', | 160 'nacl/common/nacl_messages.cc', |
| 161 'nacl/common/nacl_types.cc', |
| 162 'nacl/loader/nacl_helper_linux.cc', |
| 156 '../base/posix/unix_domain_socket_linux.cc', | 163 '../base/posix/unix_domain_socket_linux.cc', |
| 157 '../chrome/common/nacl_messages.cc', | |
| 158 '../chrome/common/nacl_types.cc', | |
| 159 '../content/common/child_process_sandbox_support_impl_shm_linux.
cc', | 164 '../content/common/child_process_sandbox_support_impl_shm_linux.
cc', |
| 160 ], | 165 ], |
| 161 'conditions': [ | 166 'conditions': [ |
| 162 ['toolkit_uses_gtk == 1', { | 167 ['toolkit_uses_gtk == 1', { |
| 163 'dependencies': [ | 168 'dependencies': [ |
| 164 '../build/linux/system.gyp:gtk', | 169 '../build/linux/system.gyp:gtk', |
| 165 ], | 170 ], |
| 166 }], | 171 }], |
| 167 ['use_glib == 1', { | 172 ['use_glib == 1', { |
| 168 'dependencies': [ | 173 'dependencies': [ |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 'target_name': 'nacl_win64', | 207 'target_name': 'nacl_win64', |
| 203 'type': 'none', | 208 'type': 'none', |
| 204 'sources': [], | 209 'sources': [], |
| 205 }, | 210 }, |
| 206 ], | 211 ], |
| 207 }], | 212 }], |
| 208 ], | 213 ], |
| 209 }], | 214 }], |
| 210 ], | 215 ], |
| 211 } | 216 } |
| OLD | NEW |