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

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

Issue 1464873002: Run gn --format over all .gn files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
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/toolchain/toolchain.gni") 5 import("//build/toolchain/toolchain.gni")
6 6
7 # Generate a binary Mojo application in a self-named directory. 7 # Generate a binary Mojo application in a self-named directory.
8 # Application resources are copied to a "resources" directory alongside the app. 8 # Application resources are copied to a "resources" directory alongside the app.
9 # The parameters of this template are those of a shared library. 9 # The parameters of this template are those of a shared library.
10 template("mojo_native_application") { 10 template("mojo_native_application") {
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 # Give the user an out; as some mojo services are depended on by the 77 # Give the user an out; as some mojo services are depended on by the
78 # runner. 78 # runner.
79 data_deps += [ "//mojo/runner:mojo_runner" ] 79 data_deps += [ "//mojo/runner:mojo_runner" ]
80 } 80 }
81 if (defined(invoker.data_deps)) { 81 if (defined(invoker.data_deps)) {
82 data_deps += invoker.data_deps 82 data_deps += invoker.data_deps
83 } 83 }
84 84
85 deps = [ 85 deps = [
86 "//mojo/platform_handle:for_shared_library", 86 "//mojo/platform_handle:for_shared_library",
87 "//mojo/public/c/system:for_shared_library",
87 "//mojo/public/gles2:for_shared_library", 88 "//mojo/public/gles2:for_shared_library",
88 "//mojo/public/c/system:for_shared_library",
89 ] 89 ]
90 90
91 deps += mojo_deps 91 deps += mojo_deps
92 if (defined(invoker.public_deps)) { 92 if (defined(invoker.public_deps)) {
93 public_deps = invoker.public_deps 93 public_deps = invoker.public_deps
94 } 94 }
95 if (defined(invoker.all_dependent_configs)) { 95 if (defined(invoker.all_dependent_configs)) {
96 all_dependent_configs = invoker.all_dependent_configs 96 all_dependent_configs = invoker.all_dependent_configs
97 } 97 }
98 if (defined(invoker.public_configs)) { 98 if (defined(invoker.public_configs)) {
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 ] 361 ]
362 362
363 deps = mojo_deps 363 deps = mojo_deps
364 364
365 public_deps = [ 365 public_deps = [
366 ":$zip_action_name", 366 ":$zip_action_name",
367 ] 367 ]
368 } 368 }
369 } 369 }
370 } 370 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698