| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/nacl/config.gni") | 6 import("//build/config/nacl/config.gni") |
| 7 | 7 |
| 8 if (is_nacl) { | 8 if (is_nacl) { |
| 9 group("ppapi_lib") { | 9 group("ppapi_lib") { |
| 10 deps = [ | 10 deps = [ |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 "//third_party/WebKit/*", | 40 "//third_party/WebKit/*", |
| 41 ] | 41 ] |
| 42 } | 42 } |
| 43 | 43 |
| 44 # TODO(phosek): We can remove this ugliness if we change the | 44 # TODO(phosek): We can remove this ugliness if we change the |
| 45 # IRT file name in components/nacl/browser/nacl_browser.cc | 45 # IRT file name in components/nacl/browser/nacl_browser.cc |
| 46 if (current_cpu == "x86") { | 46 if (current_cpu == "x86") { |
| 47 irt_cpu = "x86_32" | 47 irt_cpu = "x86_32" |
| 48 } else if (current_cpu == "x64") { | 48 } else if (current_cpu == "x64") { |
| 49 irt_cpu = "x86_64" | 49 irt_cpu = "x86_64" |
| 50 } else if (current_cpu == "mipsel") { |
| 51 irt_cpu = "mips32" |
| 50 } else { | 52 } else { |
| 51 irt_cpu = current_cpu | 53 irt_cpu = current_cpu |
| 52 } | 54 } |
| 53 irt_name = "nacl_irt_" + irt_cpu + ".nexe" | 55 irt_name = "nacl_irt_" + irt_cpu + ".nexe" |
| 54 | 56 |
| 55 copy("nacl_irt_debug") { | 57 copy("nacl_irt_debug") { |
| 56 sources = [ | 58 sources = [ |
| 57 "${root_out_dir}/exe.unstripped/nacl_irt.nexe", | 59 "${root_out_dir}/exe.unstripped/nacl_irt.nexe", |
| 58 ] | 60 ] |
| 59 outputs = [ | 61 outputs = [ |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 # On 32-bit Windows, we also ship the 64-bit IRT. | 118 # On 32-bit Windows, we also ship the 64-bit IRT. |
| 117 if (is_win && target_cpu == "x86") { | 119 if (is_win && target_cpu == "x86") { |
| 118 irt_x64_deps = [ | 120 irt_x64_deps = [ |
| 119 ":nacl_irt_debug(//build/toolchain/nacl:irt_x64)", | 121 ":nacl_irt_debug(//build/toolchain/nacl:irt_x64)", |
| 120 ":nacl_irt_debuglink(//build/toolchain/nacl:irt_x64)", | 122 ":nacl_irt_debuglink(//build/toolchain/nacl:irt_x64)", |
| 121 ] | 123 ] |
| 122 public_deps += irt_x64_deps | 124 public_deps += irt_x64_deps |
| 123 data_deps += irt_x64_deps | 125 data_deps += irt_x64_deps |
| 124 } | 126 } |
| 125 } | 127 } |
| OLD | NEW |