| 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 sources = [ | 88 sources = [ |
| 89 irt_debug, | 89 irt_debug, |
| 90 irt_stripped, | 90 irt_stripped, |
| 91 ] | 91 ] |
| 92 outputs = [ | 92 outputs = [ |
| 93 irt_final, | 93 irt_final, |
| 94 ] | 94 ] |
| 95 | 95 |
| 96 script = "irt_debuglink.py" | 96 script = "irt_debuglink.py" |
| 97 args = [ | 97 args = [ |
| 98 rebase_path(objcopy), | 98 rebase_path(objcopy, root_build_dir), |
| 99 rebase_path(irt_debug), | 99 rebase_path(irt_debug, root_build_dir), |
| 100 rebase_path(irt_stripped), | 100 rebase_path(irt_stripped, root_build_dir), |
| 101 rebase_path(irt_final), | 101 rebase_path(irt_final, root_build_dir), |
| 102 ] | 102 ] |
| 103 } | 103 } |
| 104 } | 104 } |
| 105 | 105 |
| 106 group("irt") { | 106 group("irt") { |
| 107 # The nacl_irt needs to be marked as data dependency so that it's | 107 # The nacl_irt needs to be marked as data dependency so that it's |
| 108 # properly resolved as runtime dependency. However, some target | 108 # properly resolved as runtime dependency. However, some target |
| 109 # use nacl_irt as input for actions which require it to be marked | 109 # use nacl_irt as input for actions which require it to be marked |
| 110 # as public dependency as well. | 110 # as public dependency as well. |
| 111 irt_deps = [ | 111 irt_deps = [ |
| 112 ":nacl_irt_debug(//build/toolchain/nacl:irt_${target_cpu})", | 112 ":nacl_irt_debug(//build/toolchain/nacl:irt_${target_cpu})", |
| 113 ":nacl_irt_debuglink(//build/toolchain/nacl:irt_${target_cpu})", | 113 ":nacl_irt_debuglink(//build/toolchain/nacl:irt_${target_cpu})", |
| 114 ] | 114 ] |
| 115 public_deps = irt_deps | 115 public_deps = irt_deps |
| 116 data_deps = irt_deps | 116 data_deps = irt_deps |
| 117 | 117 |
| 118 # On 32-bit Windows, we also ship the 64-bit IRT. | 118 # On 32-bit Windows, we also ship the 64-bit IRT. |
| 119 if (is_win && target_cpu == "x86") { | 119 if (is_win && target_cpu == "x86") { |
| 120 irt_x64_deps = [ | 120 irt_x64_deps = [ |
| 121 ":nacl_irt_debug(//build/toolchain/nacl:irt_x64)", | 121 ":nacl_irt_debug(//build/toolchain/nacl:irt_x64)", |
| 122 ":nacl_irt_debuglink(//build/toolchain/nacl:irt_x64)", | 122 ":nacl_irt_debuglink(//build/toolchain/nacl:irt_x64)", |
| 123 ] | 123 ] |
| 124 public_deps += irt_x64_deps | 124 public_deps += irt_x64_deps |
| 125 data_deps += irt_x64_deps | 125 data_deps += irt_x64_deps |
| 126 } | 126 } |
| 127 } | 127 } |
| OLD | NEW |