| 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/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/locales.gni") | 6 import("//build/config/locales.gni") |
| 7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 import("//chrome/chrome_repack_locales.gni") | 8 import("//chrome/chrome_repack_locales.gni") |
| 9 import("//chrome/version.gni") | 9 import("//chrome/version.gni") |
| 10 | 10 |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 148 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 149 | 149 |
| 150 deps = [ | 150 deps = [ |
| 151 ":browser_dependencies", | 151 ":browser_dependencies", |
| 152 "//base/allocator", | 152 "//base/allocator", |
| 153 ] | 153 ] |
| 154 if (is_win) { | 154 if (is_win) { |
| 155 output_name = "chrome" | 155 output_name = "chrome" |
| 156 | 156 |
| 157 sources = [ | 157 sources = [ |
| 158 "$root_gen_dir/base/trace_event/etw_manifest/chrome_events_win.rc", |
| 158 "//base/win/dllmain.cc", | 159 "//base/win/dllmain.cc", |
| 159 "app/chrome_command_ids.h", | 160 "app/chrome_command_ids.h", |
| 160 "app/chrome_dll.rc", | 161 "app/chrome_dll.rc", |
| 161 "app/chrome_dll_resource.h", | 162 "app/chrome_dll_resource.h", |
| 162 "app/chrome_main.cc", | 163 "app/chrome_main.cc", |
| 163 "app/chrome_main_delegate.cc", | 164 "app/chrome_main_delegate.cc", |
| 164 "app/chrome_main_delegate.h", | 165 "app/chrome_main_delegate.h", |
| 165 "app/close_handle_hook_win.cc", | 166 "app/close_handle_hook_win.cc", |
| 166 "app/close_handle_hook_win.h", | 167 "app/close_handle_hook_win.h", |
| 167 "app/delay_load_hook_win.cc", | 168 "app/delay_load_hook_win.cc", |
| 168 "app/delay_load_hook_win.h", | 169 "app/delay_load_hook_win.h", |
| 169 ] | 170 ] |
| 170 | 171 |
| 171 deps += [ | 172 deps += [ |
| 172 # On Windows, link the dependencies (libraries) that make up actual | 173 # On Windows, link the dependencies (libraries) that make up actual |
| 173 # Chromium functionality into this .dll. | 174 # Chromium functionality into this .dll. |
| 174 ":chrome_version_resources", | 175 ":chrome_version_resources", |
| 176 "//base/trace_event/etw_manifest:chrome_events_win", |
| 175 "//chrome/app/theme:chrome_unscaled_resources", | 177 "//chrome/app/theme:chrome_unscaled_resources", |
| 176 "//chrome_elf", | 178 "//chrome_elf", |
| 177 "//content/app/resources", | 179 "//content/app/resources", |
| 178 "//crypto", | 180 "//crypto", |
| 179 "//net:net_resources", | 181 "//net:net_resources", |
| 180 "//third_party/wtl", | 182 "//third_party/wtl", |
| 181 "//ui/views", | 183 "//ui/views", |
| 182 ] | 184 ] |
| 185 |
| 183 if (enable_configuration_policy) { | 186 if (enable_configuration_policy) { |
| 184 deps += [ "//components/policy" ] | 187 deps += [ "//components/policy" ] |
| 185 } | 188 } |
| 186 if (current_cpu == "x86") { | 189 if (current_cpu == "x86") { |
| 187 # Add a dependency to custom import library for user32 delay imports only | 190 # Add a dependency to custom import library for user32 delay imports only |
| 188 # in x86 builds. | 191 # in x86 builds. |
| 189 #deps += [ 'chrome_user32_delay_imports' ] TODO(GYP) | 192 #deps += [ 'chrome_user32_delay_imports' ] TODO(GYP) |
| 190 } | 193 } |
| 191 | 194 |
| 192 # This is a large module that can't do incremental linking in some cases. | 195 # This is a large module that can't do incremental linking in some cases. |
| (...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 729 | 732 |
| 730 args = [ | 733 args = [ |
| 731 rebase_path(infile, root_build_dir), | 734 rebase_path(infile, root_build_dir), |
| 732 rebase_path(outfile, root_build_dir), | 735 rebase_path(outfile, root_build_dir), |
| 733 "-e s/@@NAME@@/$name/", | 736 "-e s/@@NAME@@/$name/", |
| 734 "-e s/@@FILENAME@@/$filename/", | 737 "-e s/@@FILENAME@@/$filename/", |
| 735 "-e s/@@CONFDIR@@/$confdir/", | 738 "-e s/@@CONFDIR@@/$confdir/", |
| 736 ] | 739 ] |
| 737 } | 740 } |
| 738 } | 741 } |
| OLD | NEW |