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

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

Issue 603273003: Prevent static mojo builds from pulling //ui/gl into mojo_shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Forgot to remove an extra define in gn 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
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("//mojo/public/tools/bindings/mojom.gni") 5 import("//mojo/public/tools/bindings/mojom.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 7
8 executable("mojo_shell") { 8 executable("mojo_shell") {
9 deps = [ 9 deps = [
10 ":lib", 10 ":lib",
11 "//base", 11 "//base",
12 "//mojo/common", 12 "//mojo/common",
13 "//mojo/environment:chromium", 13 "//mojo/environment:chromium",
14 "//ui/gfx",
15 ] 14 ]
16 15
17 if (is_component_build) { 16 if (is_component_build) {
18 deps += ["//ui/gl"] 17 deps += ["//ui/gl"]
19 } 18 }
20 19
21 sources = [ 20 sources = [
22 "desktop/mojo_main.cc" 21 "desktop/mojo_main.cc"
23 ] 22 ]
24 } 23 }
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 "shell_test_helper.cc", 145 "shell_test_helper.cc",
147 "shell_test_helper.h", 146 "shell_test_helper.h",
148 ] 147 ]
149 148
150 deps = [ 149 deps = [
151 ":lib", 150 ":lib",
152 "//base:base_static", 151 "//base:base_static",
153 "//mojo/system", 152 "//mojo/system",
154 ] 153 ]
155 } 154 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698