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

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

Issue 595073002: Replace forward_dependent_configs with public_deps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « chrome/test/BUILD.gn ('k') | components/autofill/content/browser/BUILD.gn » ('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("//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( 8 gypi_values = exec_script(
9 "//build/gypi_to_gn.py", 9 "//build/gypi_to_gn.py",
10 [ rebase_path("../chrome_utility.gypi") ], 10 [ rebase_path("../chrome_utility.gypi") ],
11 "scope", 11 "scope",
12 [ "../chrome_utility.gypi" ]) 12 [ "../chrome_utility.gypi" ])
13 13
14 static_library("utility") { 14 static_library("utility") {
15 sources = rebase_path(gypi_values.chrome_utility_sources, ".", "..") 15 sources = rebase_path(gypi_values.chrome_utility_sources, ".", "..")
16 defines = [] 16 defines = []
17 17
18 public_deps = []
18 deps = [ 19 deps = [
19 "//base", 20 "//base",
20 "//components/strings", 21 "//components/strings",
21 "//components/url_fixer", 22 "//components/url_fixer",
22 "//content/public/common", 23 "//content/public/common",
23 "//content/public/utility", 24 "//content/public/utility",
24 "//media", 25 "//media",
25 "//skia", 26 "//skia",
26 "//third_party/libxml", 27 "//third_party/libxml",
27 "//chrome:resources", 28 "//chrome:resources",
28 "//chrome:strings", 29 "//chrome:strings",
29 "//chrome/common", 30 "//chrome/common",
30 ] 31 ]
31 32
32 if (!is_android) { 33 if (!is_android) {
33 sources += rebase_path(gypi_values.chrome_utility_importer_sources, 34 sources += rebase_path(gypi_values.chrome_utility_importer_sources,
34 ".", "..") 35 ".", "..")
35 } 36 }
36 37
37 if (enable_extensions) { 38 if (enable_extensions) {
38 deps += [ 39 deps += [
39 "//chrome/common/extensions/api", 40 "//chrome/common/extensions/api",
40 #"//third_party/libexif", TODO(GYP) 41 #"//third_party/libexif", TODO(GYP)
41 ] 42 ]
42 43
43 forward_dependent_configs_from = [ 44 public_deps += [
44 "//chrome/common/extensions/api", 45 "//chrome/common/extensions/api",
45 ] 46 ]
46 47
47 sources += rebase_path(gypi_values.chrome_utility_extensions_sources, 48 sources += rebase_path(gypi_values.chrome_utility_extensions_sources,
48 ".", "..") 49 ".", "..")
49 sources += rebase_path(gypi_values.chrome_utility_shared_media_sources, 50 sources += rebase_path(gypi_values.chrome_utility_shared_media_sources,
50 ".", "..") 51 ".", "..")
51 52
52 if (is_win || is_mac) { 53 if (is_win || is_mac) {
53 sources += rebase_path( 54 sources += rebase_path(
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 sources -= [ 92 sources -= [
92 "local_discovery/service_discovery_message_handler.cc", 93 "local_discovery/service_discovery_message_handler.cc",
93 "local_discovery/service_discovery_message_handler.h", 94 "local_discovery/service_discovery_message_handler.h",
94 ] 95 ]
95 } 96 }
96 97
97 if (safe_browsing_mode == 1) { 98 if (safe_browsing_mode == 1) {
98 defines += [ "FULL_SAFE_BROWSING" ] 99 defines += [ "FULL_SAFE_BROWSING" ]
99 } 100 }
100 } 101 }
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/autofill/content/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698