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

Side by Side Diff: extensions/BUILD.gn

Issue 489153003: Split bundle generation steps so that API registration is generated in browser, not common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: extra targets Created 6 years, 4 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 | Annotate | Revision Log
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("//tools/grit/grit_rule.gni") 5 import("//tools/grit/grit_rule.gni")
6 import("//tools/grit/repack.gni") 6 import("//tools/grit/repack.gni")
7 7
8 # GYP version: extensions/extensions_resources.gyp:extensions_resources 8 # GYP version: extensions/extensions_resources.gyp:extensions_resources
9 group("extensions_resources") { 9 group("extensions_resources") {
10 deps = [ 10 deps = [
11 ":extensions_renderer_resources", 11 ":extensions_renderer_resources",
12 ":extensions_resources_grd", 12 ":extensions_resources_grd",
13 ] 13 ]
14 } 14 }
15 15
16 # GYP version: extensions/extensions_resources.gyp:extensions_resources 16 # GYP version: extensions/extensions_resources.gyp:extensions_resources
17 # (exntensions_resources action) 17 # (extensions_resources action)
18 grit("extensions_resources_grd") { 18 grit("extensions_resources_grd") {
19 source = "extensions_resources.grd" 19 source = "extensions_resources.grd"
20 outputs = [ 20 outputs = [
21 "grit/extensions_resources.h", 21 "grit/extensions_resources.h",
22 "extensions_resources.pak", 22 "extensions_resources.pak",
23 ] 23 ]
24 } 24 }
25 25
26 # GYP version: extensions/extensions_resources.gyp:extensions_resources 26 # GYP version: extensions/extensions_resources.gyp:extensions_resources
27 # (exntensions_renderer_resources action) 27 # (exntensions_renderer_resources action)
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 "test/test_permissions_provider.cc", 68 "test/test_permissions_provider.cc",
69 "test/test_permissions_provider.h", 69 "test/test_permissions_provider.h",
70 ] 70 ]
71 71
72 deps = [ 72 deps = [
73 ":extensions_resources", 73 ":extensions_resources",
74 "//base", 74 "//base",
75 "//extensions/browser", 75 "//extensions/browser",
76 "//extensions/common", 76 "//extensions/common",
77 "//extensions/common/api", 77 "//extensions/common/api",
78 "//extensions/common/api:api_registration",
78 "//net:test_support", 79 "//net:test_support",
79 "//testing/gmock", 80 "//testing/gmock",
80 "//testing/gtest", 81 "//testing/gtest",
81 ] 82 ]
82 83
83 if (is_win) { 84 if (is_win) {
84 cflags = [ 85 cflags = [
85 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 86 "/wd4267", # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
86 ] 87 ]
87 } 88 }
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 "//testing/gtest", 186 "//testing/gtest",
186 ] 187 ]
187 188
188 if (is_win) { 189 if (is_win) {
189 deps += [ 190 deps += [
190 "//base/allocator", 191 "//base/allocator",
191 ] 192 ]
192 } 193 }
193 } 194 }
194 } 195 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698