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

Side by Side Diff: mojo/shell/BUILD.gn

Issue 667853002: Add gclient hook to download prebuilt mojo_shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/download_shell_binary.py ('k') | mojo/tools/upload_shell_binary.py » ('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/config/ui.gni")
6 import("//mojo/public/mojo.gni")
5 import("//mojo/public/tools/bindings/mojom.gni") 7 import("//mojo/public/tools/bindings/mojom.gni")
6 import("//build/config/ui.gni")
7 8
9 if (!use_prebuilt_mojo_shell) {
10
11 # GYP version: mojo/mojo.gyp:mojo_shell
8 executable("mojo_shell") { 12 executable("mojo_shell") {
9 deps = [ 13 deps = [
10 ":lib", 14 ":lib",
11 "//base", 15 "//base",
12 "//mojo/common", 16 "//mojo/common",
13 "//mojo/environment:chromium", 17 "//mojo/environment:chromium",
14 ] 18 ]
15 19
16 if (is_component_build) { 20 if (is_component_build) {
17 deps += ["//ui/gl"] 21 deps += ["//ui/gl"]
18 } 22 }
19 23
20 sources = [ 24 sources = [
21 "desktop/mojo_main.cc" 25 "desktop/mojo_main.cc"
22 ] 26 ]
23 } 27 }
24 28
29 } # !use_prebuilt_mojo_shell
30
25 # GYP version: mojo/mojo.gyp:mojo_shell_lib 31 # GYP version: mojo/mojo.gyp:mojo_shell_lib
26 source_set("lib") { 32 source_set("lib") {
27 deps = [ 33 deps = [
28 ":app_child_process_bindings", 34 ":app_child_process_bindings",
29 ":external_application_registrar_bindings", 35 ":external_application_registrar_bindings",
30 ":external_service_bindings", 36 ":external_service_bindings",
31 "//base", 37 "//base",
32 "//base/third_party/dynamic_annotations", 38 "//base/third_party/dynamic_annotations",
33 "//base:base_static", 39 "//base:base_static",
34 "//mojo/application", 40 "//mojo/application",
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 "//mojo/edk/system", 199 "//mojo/edk/system",
194 "//mojo/environment:chromium", 200 "//mojo/environment:chromium",
195 ] 201 ]
196 202
197 sources = [ 203 sources = [
198 "incoming_connection_listener_unittest.cc", 204 "incoming_connection_listener_unittest.cc",
199 "external_application_listener_unittest.cc", 205 "external_application_listener_unittest.cc",
200 "external_application_test_main.cc", 206 "external_application_test_main.cc",
201 ] 207 ]
202 } 208 }
OLDNEW
« no previous file with comments | « mojo/public/tools/download_shell_binary.py ('k') | mojo/tools/upload_shell_binary.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698