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

Side by Side Diff: extensions/BUILD.gn

Issue 922093002: Clean up app_shell GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | extensions/shell/BUILD.gn » ('j') | extensions/shell/BUILD.gn » ('J')
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("//extensions/extensions.gni") 5 import("//extensions/extensions.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 import("//tools/grit/grit_rule.gni") 7 import("//tools/grit/grit_rule.gni")
8 import("//tools/grit/repack.gni") 8 import("//tools/grit/repack.gni")
9 9
10 assert(enable_extensions) 10 assert(enable_extensions)
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 source_set("test_support") { 68 source_set("test_support") {
69 testonly = true 69 testonly = true
70 sources = rebase_path(extensions_gypi_values.extensions_test_support_sources, 70 sources = rebase_path(extensions_gypi_values.extensions_test_support_sources,
71 ".", 71 ".",
72 "//extensions") 72 "//extensions")
73 73
74 deps = [ 74 deps = [
75 ":extensions_resources", 75 ":extensions_resources",
76 "//base", 76 "//base",
77 "//content/public/browser", 77 "//base:prefs_test_support",
78 "//content/public/common", 78 "//content/public/common",
79 "//content/test:test_support", 79 "//content/test:test_support",
80 "//extensions/browser", 80 "//extensions/browser",
81 "//extensions/common", 81 "//extensions/common",
82 "//extensions/common/api", 82 "//extensions/common/api",
83 "//extensions/common/api:api_registration", 83 "//extensions/common/api:api_registration",
84 "//net:test_support", 84 "//net:test_support",
85 "//testing/gmock", 85 "//testing/gmock",
86 "//testing/gtest", 86 "//testing/gtest",
87 ] 87 ]
88 88
89 public_deps = [ 89 public_deps = [
90 "//content/public/browser",
James Cook 2015/02/13 21:53:31 Question: Why does this have to be a public_dep?
Ken Rockot(use gerrit already) 2015/02/13 22:08:31 Good question! It's because one of the public hea
90 "//extensions/common/api/cast_channel:cast_channel_proto", 91 "//extensions/common/api/cast_channel:cast_channel_proto",
91 ] 92 ]
92 93
93 if (is_win) { 94 if (is_win) {
94 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int t runcations. 95 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int t runcations.
95 } 96 }
96 } 97 }
97 98
98 # GYP version: //extensions/extensions.gyp:extensions_shell_and_test_pak 99 # GYP version: //extensions/extensions.gyp:extensions_shell_and_test_pak
99 repack("shell_and_test_pak") { 100 repack("shell_and_test_pak") {
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 ] 215 ]
215 216
216 if (is_win) { 217 if (is_win) {
217 deps += [ "//base/allocator" ] 218 deps += [ "//base/allocator" ]
218 } 219 }
219 220
220 if (is_mac) { 221 if (is_mac) {
221 deps += [ "shell:app_shell" ] # Needed for App Shell.app's Helper. 222 deps += [ "shell:app_shell" ] # Needed for App Shell.app's Helper.
222 } 223 }
223 } 224 }
OLDNEW
« no previous file with comments | « no previous file | extensions/shell/BUILD.gn » ('j') | extensions/shell/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698