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

Side by Side Diff: mojo/public/mojo_application.gni

Issue 988693005: Chromium roll (https://codereview.chromium.org/976353002) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fixed bad android build patch Created 5 years, 9 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/nacl/BUILD.gn ('k') | mojo/public/python/src/common.h » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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/module_args/mojo.gni") 5 import("//build/module_args/mojo.gni")
6 import("mojo.gni") 6 import("mojo.gni")
7 import("mojo_sdk.gni") 7 import("mojo_sdk.gni")
8 8
9 # Generate a binary mojo application.The parameters of this template are those 9 # Generate a binary mojo application.The parameters of this template are those
10 # of a shared library. 10 # of a shared library.
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 "${library_dir}/${library_name}", 148 "${library_dir}/${library_name}",
149 ] 149 ]
150 outputs = [ 150 outputs = [
151 "${root_out_dir}/${output}", 151 "${root_out_dir}/${output}",
152 ] 152 ]
153 } 153 }
154 } else { 154 } else {
155 nexe_target_name = base_target_name + "_nexe" 155 nexe_target_name = base_target_name + "_nexe"
156 nexe_name = base_target_name + ".nexe" 156 nexe_name = base_target_name + ".nexe"
157 157
158 output = "${base_target_name}_${cpu_arch}.nexe.mojo" 158 output = "${base_target_name}_${target_cpu}.nexe.mojo"
159 159
160 executable(nexe_target_name) { 160 executable(nexe_target_name) {
161 output_name = base_target_name 161 output_name = base_target_name
162 162
163 if (defined(invoker.cflags)) { 163 if (defined(invoker.cflags)) {
164 cflags = invoker.cflags 164 cflags = invoker.cflags
165 } 165 }
166 if (defined(invoker.cflags_c)) { 166 if (defined(invoker.cflags_c)) {
167 cflags_c = invoker.cflags_c 167 cflags_c = invoker.cflags_c
168 } 168 }
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 rebase_input = rebase_path(input, root_build_dir) 345 rebase_input = rebase_path(input, root_build_dir)
346 rebase_output = rebase_path(output, root_build_dir) 346 rebase_output = rebase_path(output, root_build_dir)
347 args = [ 347 args = [
348 "--input=$rebase_input", 348 "--input=$rebase_input",
349 "--output=$rebase_output", 349 "--output=$rebase_output",
350 "--line=#!mojo mojo:android_handler", 350 "--line=#!mojo mojo:android_handler",
351 ] 351 ]
352 } 352 }
353 } 353 }
354 } 354 }
OLDNEW
« no previous file with comments | « mojo/nacl/BUILD.gn ('k') | mojo/public/python/src/common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698