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 'scriptable_plugin.cc', | 20 'scriptable_plugin.cc', |
21 'sel_ldr_launcher_chrome.cc', | 21 'sel_ldr_launcher_chrome.cc', |
22 'service_runtime.cc', | 22 'service_runtime.cc', |
23 'srpc_client.cc', | 23 'srpc_client.cc', |
24 'srpc_params.cc', | 24 'srpc_params.cc', |
25 'temporary_file.cc', | 25 'temporary_file.cc', |
26 'utility.cc', | 26 'utility.cc', |
27 ], | 27 ], |
28 # Append the arch-specific ISA code to common_sources. | 28 # Append the arch-specific ISA code to common_sources. |
29 'conditions': [ | 29 'conditions': [ |
30 # Note: this test assumes that if this is not an ARM build, then this is | |
31 # is an x86 build. This is because |target_arch| for x86 can be one of a | |
32 # number of values (x64, ia32, etc.). | |
33 ['target_arch=="arm"', { | 30 ['target_arch=="arm"', { |
34 'common_sources': [ | 31 'common_sources': [ |
35 'arch_arm/sandbox_isa.cc', | 32 'arch_arm/sandbox_isa.cc', |
36 ], | 33 ], |
37 }, { # else: 'target_arch != "arm" | 34 }], |
35 ['target_arch=="mipsel"', { | |
dmichael (off chromium)
2014/02/05 23:55:22
So am I correct in understanding that you're only
petarj
2014/02/06 00:38:48
Correct.
| |
36 'common_sources': [ | |
37 'arch_mips/sandbox_isa.cc', | |
38 ], | |
39 }], | |
40 ['target_arch=="ia32" or target_arch=="x64"', { | |
38 'common_sources': [ | 41 'common_sources': [ |
39 'arch_x86/sandbox_isa.cc', | 42 'arch_x86/sandbox_isa.cc', |
40 ], | 43 ], |
41 }], | 44 }], |
42 ], | 45 ], |
43 }, | 46 }, |
44 'includes': [ | 47 'includes': [ |
45 '../../../../../native_client/build/common.gypi', | 48 '../../../../../native_client/build/common.gypi', |
46 ], | 49 ], |
47 'target_defaults': { | 50 'target_defaults': { |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
105 'link_settings': { | 108 'link_settings': { |
106 'libraries': [ | 109 'libraries': [ |
107 '-lgdi32.lib', | 110 '-lgdi32.lib', |
108 '-luser32.lib', | 111 '-luser32.lib', |
109 ], | 112 ], |
110 }, | 113 }, |
111 }], | 114 }], |
112 ], | 115 ], |
113 }, | 116 }, |
114 } | 117 } |
OLD | NEW |