Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Side by Side Diff: cloud_print/BUILD.gn

Issue 2571023003: win/clang/x86: Use clang for 64-bit part of cloudprint. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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("//testing/test.gni") 5 import("//testing/test.gni")
6 6
7 group("cloud_print") { 7 group("cloud_print") {
8 if (is_win) { 8 if (is_win) {
9 public_deps = [ 9 public_deps = [
10 "//cloud_print/virtual_driver/win/install:virtual_driver_setup", 10 "//cloud_print/virtual_driver/win/install:virtual_driver_setup",
11 "//cloud_print/virtual_driver/win/port_monitor", 11 "//cloud_print/virtual_driver/win/port_monitor",
12 ] 12 ]
13 13
14 # When compiling 32-bit, also reference the 64-bit driver for installing on 14 # When compiling 32-bit, also reference the 64-bit driver for installing on
15 # 64-bit systems. 15 # 64-bit systems.
16 if (target_cpu == "x86" && current_cpu == "x86") { 16 if (target_cpu == "x86" && current_cpu == "x86") {
17 public_deps += [ "//cloud_print/virtual_driver/win/port_monitor(//build/to olchain/win:x64)" ] 17 if (is_clang) {
18 win64 = "//build/toolchain/win:clang_x64"
19 } else {
20 win64 = "//build/toolchain/win:x64"
21 }
22 public_deps += [ "//cloud_print/virtual_driver/win/port_monitor($win64)" ]
18 } 23 }
19 } 24 }
20 } 25 }
21 26
22 test("cloud_print_unittests") { 27 test("cloud_print_unittests") {
23 sources = [ 28 sources = [
24 "virtual_driver/win/port_monitor/port_monitor_unittest.cc", 29 "virtual_driver/win/port_monitor/port_monitor_unittest.cc",
25 ] 30 ]
26 31
27 deps = [ 32 deps = [
28 "//base", 33 "//base",
29 "//base/test:run_all_unittests", 34 "//base/test:run_all_unittests",
30 "//cloud_print/virtual_driver/win/port_monitor:lib", 35 "//cloud_print/virtual_driver/win/port_monitor:lib",
31 "//testing/gmock", 36 "//testing/gmock",
32 "//testing/gtest", 37 "//testing/gtest",
33 ] 38 ]
34 39
35 libs = [ "secur32.lib" ] 40 libs = [ "secur32.lib" ]
36 } 41 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698