| 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( | 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 Loading... |
| 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 } |
| OLD | NEW |