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

Side by Side Diff: chrome/utility/BUILD.gn

Issue 1028543002: Turn the utility process image decoder into a Mojo service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move to //services. Created 5 years, 9 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("//build/config/crypto.gni") 5 import("//build/config/crypto.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 7
8 gypi_values = exec_script("//build/gypi_to_gn.py", 8 gypi_values = exec_script("//build/gypi_to_gn.py",
9 [ rebase_path("../chrome_utility.gypi") ], 9 [ rebase_path("../chrome_utility.gypi") ],
10 "scope", 10 "scope",
11 [ "../chrome_utility.gypi" ]) 11 [ "../chrome_utility.gypi" ])
12 12
13 static_library("utility") { 13 static_library("utility") {
14 sources = rebase_path(gypi_values.chrome_utility_sources, ".", "..") 14 sources = rebase_path(gypi_values.chrome_utility_sources, ".", "..")
15 defines = [] 15 defines = []
16 16
17 public_deps = [] 17 public_deps = []
18 deps = [ 18 deps = [
19 "//base", 19 "//base",
20 "//components/search_engines", 20 "//components/search_engines",
21 "//components/strings", 21 "//components/strings",
22 "//components/url_fixer", 22 "//components/url_fixer",
23 "//content/common:mojo_bindings",
23 "//content/public/common", 24 "//content/public/common",
24 "//content/public/utility", 25 "//content/public/utility",
25 "//media", 26 "//media",
26 "//skia", 27 "//skia",
27 "//third_party/libxml", 28 "//third_party/libxml",
28 "//chrome:resources", 29 "//chrome:resources",
29 "//chrome:strings", 30 "//chrome:strings",
30 "//chrome/common", 31 "//chrome/common",
31 ] 32 ]
32 33
33 if (!is_android) { 34 if (!is_android) {
34 deps += [ "//net:net_utility_services" ] 35 deps += [
36 "//net:net_utility_services",
37 "//services/image_decoder/services",
38 ]
35 sources += 39 sources +=
36 rebase_path(gypi_values.chrome_utility_importer_sources, ".", "..") 40 rebase_path(gypi_values.chrome_utility_importer_sources, ".", "..")
37 } 41 }
38 42
39 if (enable_extensions) { 43 if (enable_extensions) {
40 deps += [ 44 deps += [
41 "//chrome/common/extensions/api", 45 "//chrome/common/extensions/api",
42 "//extensions/utility", 46 "//extensions/utility",
43 ] 47 ]
44 48
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 sources -= [ 110 sources -= [
107 "local_discovery/service_discovery_message_handler.cc", 111 "local_discovery/service_discovery_message_handler.cc",
108 "local_discovery/service_discovery_message_handler.h", 112 "local_discovery/service_discovery_message_handler.h",
109 ] 113 ]
110 } 114 }
111 115
112 if (safe_browsing_mode == 1) { 116 if (safe_browsing_mode == 1) {
113 defines += [ "FULL_SAFE_BROWSING" ] 117 defines += [ "FULL_SAFE_BROWSING" ]
114 } 118 }
115 } 119 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698