| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'includes': [ | 9 'includes': [ |
| 10 'nacl/nacl_defines.gypi', | 10 'nacl/nacl_defines.gypi', |
| 11 ], | 11 ], |
| 12 'target_defaults': { | 12 'target_defaults': { |
| 13 'variables': { | 13 'variables': { |
| 14 'nacl_target': 0, | 14 'nacl_target': 0, |
| 15 }, | 15 }, |
| 16 'target_conditions': [ | 16 'target_conditions': [ |
| 17 # This part is shared between the targets defined below. Only files and | 17 # This part is shared between the targets defined below. Only files and |
| 18 # settings relevant for building the Win64 target should be added here. | 18 # settings relevant for building the Win64 target should be added here. |
| 19 ['nacl_target==1', { | 19 ['nacl_target==1', { |
| 20 'include_dirs': [ | 20 'include_dirs': [ |
| 21 '<(INTERMEDIATE_DIR)', | 21 '<(INTERMEDIATE_DIR)', |
| 22 ], | 22 ], |
| 23 'defines': [ | 23 'defines': [ |
| 24 '<@(nacl_defines)', | 24 '<@(nacl_defines)', |
| 25 ], | 25 ], |
| 26 'sources': [ | 26 'sources': [ |
| 27 # .cc, .h, and .mm files under nacl that are used on all | 27 # .cc, .h, and .mm files under nacl that are used on all |
| 28 # platforms, including both 32-bit and 64-bit Windows. | 28 # platforms, including both 32-bit and 64-bit Windows. |
| 29 # Test files are also not included. | 29 # Test files are also not included. |
| 30 'nacl/loader/listener_delegate.h', |
| 30 'nacl/loader/nacl_ipc_adapter.cc', | 31 'nacl/loader/nacl_ipc_adapter.cc', |
| 31 'nacl/loader/nacl_ipc_adapter.h', | 32 'nacl/loader/nacl_ipc_adapter.h', |
| 32 'nacl/loader/nacl_main.cc', | 33 'nacl/loader/nacl_main.cc', |
| 33 'nacl/loader/nacl_main_platform_delegate.h', | 34 'nacl/loader/nacl_main_platform_delegate.h', |
| 34 'nacl/loader/nacl_main_platform_delegate_linux.cc', | 35 'nacl/loader/nacl_main_platform_delegate_linux.cc', |
| 35 'nacl/loader/nacl_main_platform_delegate_mac.mm', | 36 'nacl/loader/nacl_main_platform_delegate_mac.mm', |
| 36 'nacl/loader/nacl_main_platform_delegate_win.cc', | 37 'nacl/loader/nacl_main_platform_delegate_win.cc', |
| 37 'nacl/loader/nacl_listener.cc', | 38 'nacl/loader/nacl_listener.cc', |
| 38 'nacl/loader/nacl_listener.h', | 39 'nacl/loader/nacl_listener.h', |
| 39 'nacl/loader/nacl_trusted_listener.cc', | 40 'nacl/loader/nacl_trusted_listener.cc', |
| 40 'nacl/loader/nacl_trusted_listener.h', | 41 'nacl/loader/nacl_trusted_listener.h', |
| 41 'nacl/loader/nacl_validation_db.h', | 42 'nacl/loader/nacl_validation_db.h', |
| 42 'nacl/loader/nacl_validation_query.cc', | 43 'nacl/loader/nacl_validation_query.cc', |
| 43 'nacl/loader/nacl_validation_query.h', | 44 'nacl/loader/nacl_validation_query.h', |
| 45 'nacl/loader/sfi_listener_delegate.cc', |
| 46 'nacl/loader/sfi_listener_delegate.h', |
| 44 ], | 47 ], |
| 45 # TODO(gregoryd): consider switching NaCl to use Chrome OS defines | 48 # TODO(gregoryd): consider switching NaCl to use Chrome OS defines |
| 46 'conditions': [ | 49 'conditions': [ |
| 47 ['OS=="win"', { | 50 ['OS=="win"', { |
| 48 'defines': [ | 51 'defines': [ |
| 49 '__STDC_LIMIT_MACROS=1', | 52 '__STDC_LIMIT_MACROS=1', |
| 50 ], | 53 ], |
| 51 'include_dirs': [ | 54 'include_dirs': [ |
| 52 '<(DEPTH)/third_party/wtl/include', | 55 '<(DEPTH)/third_party/wtl/include', |
| 53 ], | 56 ], |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 'targets': [ | 234 'targets': [ |
| 232 { | 235 { |
| 233 'target_name': 'nacl_helper', | 236 'target_name': 'nacl_helper', |
| 234 'type': 'executable', | 237 'type': 'executable', |
| 235 'include_dirs': [ | 238 'include_dirs': [ |
| 236 '..', | 239 '..', |
| 237 ], | 240 ], |
| 238 'sources': [ | 241 'sources': [ |
| 239 'nacl/loader/nacl_helper_linux.cc', | 242 'nacl/loader/nacl_helper_linux.cc', |
| 240 'nacl/loader/nacl_helper_linux.h', | 243 'nacl/loader/nacl_helper_linux.h', |
| 244 'nacl/loader/nonsfi_listener_delegate.cc', |
| 245 'nacl/loader/nonsfi_listener_delegate.h', |
| 241 ], | 246 ], |
| 242 'dependencies': [ | 247 'dependencies': [ |
| 243 'nacl_linux', | 248 'nacl_linux', |
| 244 ], | 249 ], |
| 245 'cflags': ['-fPIE'], | 250 'cflags': ['-fPIE'], |
| 246 'ldflags!': [ | 251 'ldflags!': [ |
| 247 # Do not pick the default ASan options from | 252 # Do not pick the default ASan options from |
| 248 # base/debug/sanitizer_options.cc to avoid a conflict with those | 253 # base/debug/sanitizer_options.cc to avoid a conflict with those |
| 249 # in nacl/nacl_helper_linux.cc. | 254 # in nacl/nacl_helper_linux.cc. |
| 250 '-Wl,-u_sanitizer_options_link_helper', | 255 '-Wl,-u_sanitizer_options_link_helper', |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 ], | 503 ], |
| 499 'include_dirs': [ | 504 'include_dirs': [ |
| 500 '..', | 505 '..', |
| 501 ], | 506 ], |
| 502 'dependencies': [ | 507 'dependencies': [ |
| 503 '../content/content.gyp:content_common', | 508 '../content/content.gyp:content_common', |
| 504 ], | 509 ], |
| 505 }, | 510 }, |
| 506 ] | 511 ] |
| 507 } | 512 } |
| OLD | NEW |