| OLD | NEW |
| 1 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2012 The Native Client 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, # Use higher warning level. | 7 'chromium_code': 1, # Use higher warning level. |
| 8 'common_sources': [ | 8 'common_sources': [ |
| 9 'file_downloader.cc', | 9 'file_downloader.cc', |
| 10 'file_utils.cc', | 10 'file_utils.cc', |
| 11 'json_manifest.cc', | 11 'json_manifest.cc', |
| 12 'module_ppapi.cc', | 12 'module_ppapi.cc', |
| 13 'nacl_http_response_headers.cc', | 13 'nacl_http_response_headers.cc', |
| 14 'nacl_subprocess.cc', | 14 'nacl_subprocess.cc', |
| 15 'plugin.cc', | 15 'plugin.cc', |
| 16 'pnacl_coordinator.cc', | 16 'pnacl_coordinator.cc', |
| 17 'pnacl_options.cc', | 17 'pnacl_options.cc', |
| 18 'pnacl_resources.cc', | 18 'pnacl_resources.cc', |
| 19 'pnacl_translate_thread.cc', | 19 'pnacl_translate_thread.cc', |
| 20 'sel_ldr_launcher_chrome.cc', | 20 'sel_ldr_launcher_chrome.cc', |
| 21 'service_runtime.cc', | 21 'service_runtime.cc', |
| 22 'srpc_client.cc', | 22 'srpc_client.cc', |
| 23 'srpc_params.cc', | 23 'srpc_params.cc', |
| 24 'temporary_file.cc', | 24 'temporary_file.cc', |
| 25 'utility.cc', | 25 'utility.cc', |
| 26 ], | 26 ], |
| 27 # Append the arch-specific ISA code to common_sources. | |
| 28 'conditions': [ | |
| 29 ['target_arch=="arm"', { | |
| 30 'common_sources': [ | |
| 31 'arch_arm/sandbox_isa.cc', | |
| 32 ], | |
| 33 }], | |
| 34 ['target_arch=="mipsel"', { | |
| 35 'common_sources': [ | |
| 36 'arch_mips/sandbox_isa.cc', | |
| 37 ], | |
| 38 }], | |
| 39 ['target_arch=="ia32" or target_arch=="x64"', { | |
| 40 'common_sources': [ | |
| 41 'arch_x86/sandbox_isa.cc', | |
| 42 ], | |
| 43 }], | |
| 44 ], | |
| 45 }, | 27 }, |
| 46 'includes': [ | 28 'includes': [ |
| 47 '../../../../../native_client/build/common.gypi', | 29 '../../../../../native_client/build/common.gypi', |
| 48 ], | 30 ], |
| 49 'target_defaults': { | 31 'target_defaults': { |
| 50 'variables': { | 32 'variables': { |
| 51 'target_platform': 'none', | 33 'target_platform': 'none', |
| 52 }, | 34 }, |
| 53 'conditions': [ | 35 'conditions': [ |
| 54 ['OS=="linux"', { | 36 ['OS=="linux"', { |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 'link_settings': { | 89 'link_settings': { |
| 108 'libraries': [ | 90 'libraries': [ |
| 109 '-lgdi32.lib', | 91 '-lgdi32.lib', |
| 110 '-luser32.lib', | 92 '-luser32.lib', |
| 111 ], | 93 ], |
| 112 }, | 94 }, |
| 113 }], | 95 }], |
| 114 ], | 96 ], |
| 115 }, | 97 }, |
| 116 } | 98 } |
| OLD | NEW |