| 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 deps = [ | 18 deps = [ |
| 19 "//base", | 19 "//base", |
| 20 #"../components/components_strings.gyp:components_strings", TODO(GYP) | 20 "//components/strings", |
| 21 #"../components/components.gyp:url_fixer", TODO(GYP) | 21 "//components/url_fixer", |
| 22 "//content/public/common", | 22 "//content/public/common", |
| 23 "//content/public/utility", | 23 "//content/public/utility", |
| 24 #"../media/media.gyp:media", TODO(GYP) | 24 "//media", |
| 25 "//skia", | 25 "//skia", |
| 26 "//third_party/libxml", | 26 "//third_party/libxml", |
| 27 "//chrome:resources", | 27 "//chrome:resources", |
| 28 "//chrome:strings", | 28 "//chrome:strings", |
| 29 "//chrome/common", | 29 "//chrome/common", |
| 30 ] | 30 ] |
| 31 | 31 |
| 32 if (!is_android) { | 32 if (!is_android) { |
| 33 sources += rebase_path(gypi_values.chrome_utility_importer_sources, | 33 sources += rebase_path(gypi_values.chrome_utility_importer_sources, |
| 34 ".", "..") | 34 ".", "..") |
| (...skipping 10 matching lines...) Expand all Loading... |
| 45 ] | 45 ] |
| 46 | 46 |
| 47 sources += rebase_path(gypi_values.chrome_utility_extensions_sources, | 47 sources += rebase_path(gypi_values.chrome_utility_extensions_sources, |
| 48 ".", "..") | 48 ".", "..") |
| 49 sources += rebase_path(gypi_values.chrome_utility_shared_media_sources, | 49 sources += rebase_path(gypi_values.chrome_utility_shared_media_sources, |
| 50 ".", "..") | 50 ".", "..") |
| 51 | 51 |
| 52 if (is_win || is_mac) { | 52 if (is_win || is_mac) { |
| 53 sources += rebase_path( | 53 sources += rebase_path( |
| 54 gypi_values.chrome_utility_win_mac_media_gallery_sources, ".", "..") | 54 gypi_values.chrome_utility_win_mac_media_gallery_sources, ".", "..") |
| 55 #deps += [ "//components/wifi" ] TODO(GYP) | 55 deps += [ "//components/wifi" ] |
| 56 } else { | 56 } else { |
| 57 sources += [ "image_writer/image_writer_stub.cc" ] | 57 sources += [ "image_writer/image_writer_stub.cc" ] |
| 58 } | 58 } |
| 59 | 59 |
| 60 if (is_mac) { | 60 if (is_mac) { |
| 61 sources += rebase_path(gypi_values.chrome_utility_mac_media_gallery_source
s, | 61 sources += rebase_path(gypi_values.chrome_utility_mac_media_gallery_source
s, |
| 62 ".", "..") | 62 ".", "..") |
| 63 } | 63 } |
| 64 } | 64 } |
| 65 | 65 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 88 sources -= [ | 88 sources -= [ |
| 89 "local_discovery/service_discovery_message_handler.cc", | 89 "local_discovery/service_discovery_message_handler.cc", |
| 90 "local_discovery/service_discovery_message_handler.h", | 90 "local_discovery/service_discovery_message_handler.h", |
| 91 ] | 91 ] |
| 92 } | 92 } |
| 93 | 93 |
| 94 if (safe_browsing_mode == 1) { | 94 if (safe_browsing_mode == 1) { |
| 95 defines += [ "FULL_SAFE_BROWSING" ] | 95 defines += [ "FULL_SAFE_BROWSING" ] |
| 96 } | 96 } |
| 97 } | 97 } |
| OLD | NEW |