Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Side by Side Diff: ppapi/native_client/BUILD.gn

Issue 2905523002: Reduce absolute paths in generated ninja files (Closed)
Patch Set: revert build/config/gcc/BUILD.gn, rebase Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/public/tools/bindings/mojom.gni ('k') | ppapi/native_client/nacl_test_data.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « mojo/public/tools/bindings/mojom.gni ('k') | ppapi/native_client/nacl_test_data.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698