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