| 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. | 27 # Append the arch-specific ISA code to common_sources. |
| 28 'conditions': [ | 28 'conditions': [ |
| 29 # Note: this test assumes that if this is not an ARM build, then this is | |
| 30 # is an x86 build. This is because |target_arch| for x86 can be one of a | |
| 31 # number of values (x64, ia32, etc.). | |
| 32 ['target_arch=="arm"', { | 29 ['target_arch=="arm"', { |
| 33 'common_sources': [ | 30 'common_sources': [ |
| 34 'arch_arm/sandbox_isa.cc', | 31 'arch_arm/sandbox_isa.cc', |
| 35 ], | 32 ], |
| 36 }, { # else: 'target_arch != "arm" | 33 }], |
| 34 ['target_arch=="mipsel"', { |
| 35 'common_sources': [ |
| 36 'arch_mips/sandbox_isa.cc', |
| 37 ], |
| 38 }], |
| 39 ['target_arch=="ia32" or target_arch=="x64"', { |
| 37 'common_sources': [ | 40 'common_sources': [ |
| 38 'arch_x86/sandbox_isa.cc', | 41 'arch_x86/sandbox_isa.cc', |
| 39 ], | 42 ], |
| 40 }], | 43 }], |
| 41 ], | 44 ], |
| 42 }, | 45 }, |
| 43 'includes': [ | 46 'includes': [ |
| 44 '../../../../../native_client/build/common.gypi', | 47 '../../../../../native_client/build/common.gypi', |
| 45 ], | 48 ], |
| 46 'target_defaults': { | 49 'target_defaults': { |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 'link_settings': { | 107 'link_settings': { |
| 105 'libraries': [ | 108 'libraries': [ |
| 106 '-lgdi32.lib', | 109 '-lgdi32.lib', |
| 107 '-luser32.lib', | 110 '-luser32.lib', |
| 108 ], | 111 ], |
| 109 }, | 112 }, |
| 110 }], | 113 }], |
| 111 ], | 114 ], |
| 112 }, | 115 }, |
| 113 } | 116 } |
| OLD | NEW |