| 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 | 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/public/common", | 23 "//content/public/common", |
| 24 "//content/public/common:mojo_bindings", |
| 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", |
| 32 "//net:net_with_v8", |
| 31 ] | 33 ] |
| 32 | 34 |
| 33 if (!is_android) { | 35 if (!is_android) { |
| 34 sources += | 36 sources += |
| 35 rebase_path(gypi_values.chrome_utility_importer_sources, ".", "..") | 37 rebase_path(gypi_values.chrome_utility_importer_sources, ".", "..") |
| 36 } | 38 } |
| 37 | 39 |
| 38 if (enable_extensions) { | 40 if (enable_extensions) { |
| 39 deps += [ | 41 deps += [ |
| 40 "//chrome/common/extensions/api", | 42 "//chrome/common/extensions/api", |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 sources -= [ | 102 sources -= [ |
| 101 "local_discovery/service_discovery_message_handler.cc", | 103 "local_discovery/service_discovery_message_handler.cc", |
| 102 "local_discovery/service_discovery_message_handler.h", | 104 "local_discovery/service_discovery_message_handler.h", |
| 103 ] | 105 ] |
| 104 } | 106 } |
| 105 | 107 |
| 106 if (safe_browsing_mode == 1) { | 108 if (safe_browsing_mode == 1) { |
| 107 defines += [ "FULL_SAFE_BROWSING" ] | 109 defines += [ "FULL_SAFE_BROWSING" ] |
| 108 } | 110 } |
| 109 } | 111 } |
| OLD | NEW |