OLD | NEW |
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 configs += [ "//build/config:precompiled_headers" ] | |
17 | 16 |
18 public_deps = [] | 17 public_deps = [] |
19 deps = [ | 18 deps = [ |
20 "//base", | 19 "//base", |
21 "//components/safe_json:safe_json_parser_message_filter", | 20 "//components/safe_json:safe_json_parser_message_filter", |
22 "//components/search_engines", | 21 "//components/search_engines", |
23 "//components/strings", | 22 "//components/strings", |
24 "//components/url_fixer", | 23 "//components/url_fixer", |
25 "//content/public/common", | 24 "//content/public/common", |
26 "//content/public/utility", | 25 "//content/public/utility", |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 ] | 100 ] |
102 } | 101 } |
103 | 102 |
104 if (!enable_mdns) { | 103 if (!enable_mdns) { |
105 sources -= [ | 104 sources -= [ |
106 "local_discovery/service_discovery_message_handler.cc", | 105 "local_discovery/service_discovery_message_handler.cc", |
107 "local_discovery/service_discovery_message_handler.h", | 106 "local_discovery/service_discovery_message_handler.h", |
108 ] | 107 ] |
109 } | 108 } |
110 } | 109 } |
OLD | NEW |