| 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 import("//build/config/sysroot.gni") | 7 import("//build/config/sysroot.gni") |
| 8 | 8 |
| 9 gypi_values = exec_script("//build/gypi_to_gn.py", | 9 gypi_values = exec_script("//build/gypi_to_gn.py", |
| 10 [ rebase_path("../chrome_utility.gypi") ], | 10 [ rebase_path("../chrome_utility.gypi") ], |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 public_deps += [ "//chrome/common/extensions/api" ] | 59 public_deps += [ "//chrome/common/extensions/api" ] |
| 60 | 60 |
| 61 sources += | 61 sources += |
| 62 rebase_path(gypi_values.chrome_utility_extensions_sources, ".", "..") | 62 rebase_path(gypi_values.chrome_utility_extensions_sources, ".", "..") |
| 63 sources += | 63 sources += |
| 64 rebase_path(gypi_values.chrome_utility_shared_media_sources, ".", "..") | 64 rebase_path(gypi_values.chrome_utility_shared_media_sources, ".", "..") |
| 65 | 65 |
| 66 # Prevent wininet from loading in the renderer. http://crbug.com/460679 | 66 # Prevent wininet from loading in the renderer. http://crbug.com/460679 |
| 67 if (is_win) { | 67 if (is_win) { |
| 68 ldflags = [ "/DELAYLOAD:wininet.dll" ] | 68 ldflags = [ "/DELAYLOAD:wininet.dll" ] |
| 69 |
| 70 # Add ESE library for Edge Import support. |
| 71 libs = [ "esent.lib" ] |
| 72 ldflags += [ "/DELAYLOAD:esent.dll" ] |
| 69 } | 73 } |
| 70 | 74 |
| 71 if (is_win || is_mac) { | 75 if (is_win || is_mac) { |
| 72 sources += | 76 sources += |
| 73 rebase_path(gypi_values.chrome_utility_win_mac_media_gallery_sources, | 77 rebase_path(gypi_values.chrome_utility_win_mac_media_gallery_sources, |
| 74 ".", | 78 ".", |
| 75 "..") | 79 "..") |
| 76 deps += [ "//components/wifi" ] | 80 deps += [ "//components/wifi" ] |
| 77 } else { | 81 } else { |
| 78 sources += [ "image_writer/image_writer_stub.cc" ] | 82 sources += [ "image_writer/image_writer_stub.cc" ] |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 "local_discovery/service_discovery_message_handler.cc", | 119 "local_discovery/service_discovery_message_handler.cc", |
| 116 "local_discovery/service_discovery_message_handler.h", | 120 "local_discovery/service_discovery_message_handler.h", |
| 117 ] | 121 ] |
| 118 } | 122 } |
| 119 | 123 |
| 120 if (safe_browsing_mode == 1) { | 124 if (safe_browsing_mode == 1) { |
| 121 sources += | 125 sources += |
| 122 rebase_path(gypi_values.chrome_utility_safe_browsing_sources, ".", "..") | 126 rebase_path(gypi_values.chrome_utility_safe_browsing_sources, ".", "..") |
| 123 } | 127 } |
| 124 } | 128 } |
| OLD | NEW |