| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 | 6 |
| 7 # This file builds nacl64.exe, which is a 64-bit x86 Windows executable | 7 # This file builds nacl64.exe, which is a 64-bit x86 Windows executable |
| 8 # used only in the 32-bit x86 Windows build. The :broker code runs both | 8 # used only in the 32-bit x86 Windows build. The :broker code runs both |
| 9 # in nacl64.exe and in the 32-bit chrome executable, to launch | 9 # in nacl64.exe and in the 32-bit chrome executable, to launch |
| 10 # nacl64.exe and communicate with it. | 10 # nacl64.exe and communicate with it. |
| 11 | 11 |
| 12 assert(enable_nacl) | 12 assert(enable_nacl) |
| 13 assert(is_win) | 13 assert(is_win) |
| 14 assert(target_cpu == "x86") | 14 assert(target_cpu == "x86") |
| 15 | 15 |
| 16 source_set("broker") { | 16 source_set("broker") { |
| 17 sources = [ | 17 sources = [ |
| 18 "nacl_broker_listener.cc", | 18 "nacl_broker_listener.cc", |
| 19 "nacl_broker_listener.h", | 19 "nacl_broker_listener.h", |
| 20 ] | 20 ] |
| 21 | 21 |
| 22 deps = [ | 22 deps = [ |
| 23 "//base", | 23 "//base", |
| 24 "//components/nacl/common:debug_exception_handler", | 24 "//components/nacl/common:debug_exception_handler", |
| 25 "//components/nacl/common:minimal", | 25 "//components/nacl/common:minimal", |
| 26 "//components/nacl/common:switches", | 26 "//components/nacl/common:switches", |
| 27 "//content/public/common:static_switches", | 27 "//content/public/common:static_switches", |
| 28 "//ipc", | 28 "//ipc", |
| 29 "//mojo/edk/system", |
| 29 "//sandbox", | 30 "//sandbox", |
| 30 ] | 31 ] |
| 31 | 32 |
| 32 if (current_cpu == target_cpu) { | 33 if (current_cpu == target_cpu) { |
| 33 deps += [ "//content/public/common" ] | 34 deps += [ "//content/public/common" ] |
| 34 } else { | 35 } else { |
| 35 deps += [ ":content_dummy" ] | 36 deps += [ ":content_dummy" ] |
| 36 } | 37 } |
| 37 } | 38 } |
| 38 | 39 |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 "//chrome/installer/util:with_no_strings", | 156 "//chrome/installer/util:with_no_strings", |
| 156 "//components/browser_watcher:browser_watcher_client", | 157 "//components/browser_watcher:browser_watcher_client", |
| 157 "//components/flags_ui:switches", | 158 "//components/flags_ui:switches", |
| 158 "//components/policy", | 159 "//components/policy", |
| 159 "//content/public/common:static_switches", | 160 "//content/public/common:static_switches", |
| 160 "//ipc", | 161 "//ipc", |
| 161 "//third_party/kasko", | 162 "//third_party/kasko", |
| 162 ] | 163 ] |
| 163 } | 164 } |
| 164 } | 165 } |
| OLD | NEW |