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

Side by Side Diff: tools/android/forwarder2/BUILD.gn

Issue 2351003002: Remove GYP annotations from chrome, ui, tools GN files. (Closed)
Patch Set: Created 4 years, 3 months 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 | « tools/android/forwarder/BUILD.gn ('k') | tools/android/kerberos/SpnegoAuthenticator/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/symlink.gni") 5 import("//build/symlink.gni")
6 6
7 # GYP: //tools/android/forwarder2/forwarder.gyp:forwarder2
8 group("forwarder2") { 7 group("forwarder2") {
9 data_deps = [ 8 data_deps = [
10 ":host_forwarder", 9 ":host_forwarder",
11 ":device_forwarder_prepare_dist($default_toolchain)", 10 ":device_forwarder_prepare_dist($default_toolchain)",
12 ] 11 ]
13 } 12 }
14 13
15 if (current_toolchain == default_toolchain) { 14 if (current_toolchain == default_toolchain) {
16 import("//build/config/android/rules.gni") 15 import("//build/config/android/rules.gni")
17 16
18 # GYP: //tools/android/forwarder2/forwarder.gyp:device_forwarder
19 executable("device_forwarder") { 17 executable("device_forwarder") {
20 sources = [ 18 sources = [
21 "command.cc", 19 "command.cc",
22 "command.h", 20 "command.h",
23 "common.cc", 21 "common.cc",
24 "common.h", 22 "common.h",
25 "daemon.cc", 23 "daemon.cc",
26 "daemon.h", 24 "daemon.h",
27 "device_controller.cc", 25 "device_controller.cc",
28 "device_controller.h", 26 "device_controller.h",
(...skipping 14 matching lines...) Expand all
43 deps = [ 41 deps = [
44 "//base", 42 "//base",
45 "//build/config/sanitizers:deps", 43 "//build/config/sanitizers:deps",
46 "//tools/android/common", 44 "//tools/android/common",
47 ] 45 ]
48 data_deps = [ 46 data_deps = [
49 "//build/android/pylib/device/commands", 47 "//build/android/pylib/device/commands",
50 ] 48 ]
51 } 49 }
52 50
53 # GYP: //tools/android/forwarder2/forwarder.gyp:forwarder2
54 create_native_executable_dist("device_forwarder_prepare_dist") { 51 create_native_executable_dist("device_forwarder_prepare_dist") {
55 dist_dir = "$root_build_dir/forwarder_dist" 52 dist_dir = "$root_build_dir/forwarder_dist"
56 binary = "$root_build_dir/device_forwarder" 53 binary = "$root_build_dir/device_forwarder"
57 deps = [ 54 deps = [
58 ":device_forwarder", 55 ":device_forwarder",
59 ] 56 ]
60 } 57 }
61 } 58 }
62 59
63 if (current_toolchain != default_toolchain) { 60 if (current_toolchain != default_toolchain) {
64 # GYP: //tools/android/forwarder2/forwarder.gyp:host_forwarder
65 executable("host_forwarder") { 61 executable("host_forwarder") {
66 sources = [ 62 sources = [
67 "command.cc", 63 "command.cc",
68 "command.h", 64 "command.h",
69 "common.cc", 65 "common.cc",
70 "common.h", 66 "common.h",
71 "daemon.cc", 67 "daemon.cc",
72 "daemon.h", 68 "daemon.h",
73 "forwarder.cc", 69 "forwarder.cc",
74 "forwarder.h", 70 "forwarder.h",
(...skipping 14 matching lines...) Expand all
89 "//build/config/sanitizers:deps", 85 "//build/config/sanitizers:deps",
90 "//tools/android/common", 86 "//tools/android/common",
91 ] 87 ]
92 } 88 }
93 } else { 89 } else {
94 # Create a symlink from root_build_dir -> clang_x64/host_forwarder. 90 # Create a symlink from root_build_dir -> clang_x64/host_forwarder.
95 binary_symlink("host_forwarder") { 91 binary_symlink("host_forwarder") {
96 binary_label = ":$target_name($host_toolchain)" 92 binary_label = ":$target_name($host_toolchain)"
97 } 93 }
98 } 94 }
OLDNEW
« no previous file with comments | « tools/android/forwarder/BUILD.gn ('k') | tools/android/kerberos/SpnegoAuthenticator/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698