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: extensions/BUILD.gn

Issue 672403002: Cleanup: Remove most enable_extensions logic in extensions code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android Created 6 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
« no previous file with comments | « no previous file | extensions/browser/api/api_registration.gyp » ('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("//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 assert(enable_extensions)
9
8 # GYP version: extensions/extensions_resources.gyp:extensions_resources 10 # GYP version: extensions/extensions_resources.gyp:extensions_resources
9 group("extensions_resources") { 11 group("extensions_resources") {
10 deps = [ 12 deps = [
11 ":extensions_browser_resources", 13 ":extensions_browser_resources",
12 ":extensions_renderer_resources", 14 ":extensions_renderer_resources",
13 ":extensions_resources_grd", 15 ":extensions_resources_grd",
14 ] 16 ]
15 } 17 }
16 18
17 # GYP version: extensions/extensions_resources.gyp:extensions_resources 19 # GYP version: extensions/extensions_resources.gyp:extensions_resources
(...skipping 23 matching lines...) Expand all
41 # GYP version: extensions/extensions_resources.gyp:extensions_resources 43 # GYP version: extensions/extensions_resources.gyp:extensions_resources
42 # (extensions_renderer_resources action) 44 # (extensions_renderer_resources action)
43 grit("extensions_renderer_resources") { 45 grit("extensions_renderer_resources") {
44 source = "renderer/resources/extensions_renderer_resources.grd" 46 source = "renderer/resources/extensions_renderer_resources.grd"
45 outputs = [ 47 outputs = [
46 "grit/extensions_renderer_resources.h", 48 "grit/extensions_renderer_resources.h",
47 "extensions_renderer_resources.pak", 49 "extensions_renderer_resources.pak",
48 ] 50 ]
49 grit_flags = [ "-E", "mojom_root=" + rebase_path(root_gen_dir) ] 51 grit_flags = [ "-E", "mojom_root=" + rebase_path(root_gen_dir) ]
50 52
51 # TODO(GYP,cjhopman): GYP has this dependency guarded by enable_extensions==1,
52 # but I don't know how that possibly works.
53 deps = [ 53 deps = [
54 "//device/serial:serial_mojo", 54 "//device/serial:serial_mojo",
55 ] 55 ]
56 } 56 }
57 57
58 if (enable_extensions) {
59
60 source_set("test_support") { 58 source_set("test_support") {
61 testonly = true 59 testonly = true
62 sources = [ 60 sources = [
63 "browser/api/dns/mock_host_resolver_creator.cc", 61 "browser/api/dns/mock_host_resolver_creator.cc",
64 "browser/api/dns/mock_host_resolver_creator.h", 62 "browser/api/dns/mock_host_resolver_creator.h",
65 "browser/api/storage/settings_test_util.cc", 63 "browser/api/storage/settings_test_util.cc",
66 "browser/api/storage/settings_test_util.h", 64 "browser/api/storage/settings_test_util.h",
67 "browser/api_test_utils.cc", 65 "browser/api_test_utils.cc",
68 "browser/api_test_utils.h", 66 "browser/api_test_utils.h",
69 "browser/api_unittest.cc", 67 "browser/api_unittest.cc",
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 "//third_party/leveldatabase", 268 "//third_party/leveldatabase",
271 ] 269 ]
272 270
273 if (is_win) { 271 if (is_win) {
274 deps += [ 272 deps += [
275 "//base/allocator", 273 "//base/allocator",
276 ] 274 ]
277 } 275 }
278 } 276 }
279 } 277 }
280
281 }
OLDNEW
« no previous file with comments | « no previous file | extensions/browser/api/api_registration.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698