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

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

Issue 2242893002: [MIPS] Adding NaCl/PNaCl support for mipsel to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix non Linux builds Created 4 years, 4 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 | « ppapi/BUILD.gn ('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 29 matching lines...) Expand all
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
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 }
OLDNEW
« no previous file with comments | « ppapi/BUILD.gn ('k') | ppapi/native_client/nacl_test_data.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698