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

Side by Side Diff: components/ui_devtools/BUILD.gn

Issue 2852733002: Duplicate -Move DevTools out of ash and turn it to a component. (Closed)
Patch Set: move unittest to ui/views Created 3 years, 7 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 | « ash/shell.cc ('k') | components/ui_devtools/devtools/DEPS » ('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 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 _inspector_protocol = "//third_party/inspector_protocol" 5 _inspector_protocol = "//third_party/inspector_protocol"
6 import("$_inspector_protocol/inspector_protocol.gni") 6 import("$_inspector_protocol/inspector_protocol.gni")
7 import("//testing/test.gni")
7 8
8 _protocol_generated = [ 9 _protocol_generated = [
9 "CSS.cpp", 10 "CSS.cpp",
10 "CSS.h", 11 "CSS.h",
11 "DOM.cpp", 12 "DOM.cpp",
12 "DOM.h", 13 "DOM.h",
13 "Forward.h", 14 "Forward.h",
14 "Protocol.cpp", 15 "Protocol.cpp",
15 "Protocol.h", 16 "Protocol.h",
16 ] 17 ]
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 "protocol.json", 49 "protocol.json",
49 "inspector_protocol_config.json", 50 "inspector_protocol_config.json",
50 ] 51 ]
51 52
52 outputs = _protocol_generated 53 outputs = _protocol_generated
53 } 54 }
54 55
55 source_set("ui_devtools") { 56 source_set("ui_devtools") {
56 sources = rebase_path(_protocol_generated, ".", target_gen_dir) 57 sources = rebase_path(_protocol_generated, ".", target_gen_dir)
57 sources += [ 58 sources += [
59 "devtools/ui_devtools_css_agent.cc",
60 "devtools/ui_devtools_css_agent.h",
61 "devtools/ui_devtools_dom_agent.cc",
62 "devtools/ui_devtools_dom_agent.h",
63 "devtools/ui_element.cc",
64 "devtools/ui_element.h",
65 "devtools/ui_element_delegate.h",
66 "devtools/view_element.cc",
67 "devtools/view_element.h",
68 "devtools/widget_element.cc",
69 "devtools/widget_element.h",
70 "devtools/window_element.cc",
71 "devtools/window_element.h",
58 "devtools_base_agent.h", 72 "devtools_base_agent.h",
59 "devtools_client.cc", 73 "devtools_client.cc",
60 "devtools_client.h", 74 "devtools_client.h",
61 "devtools_export.h", 75 "devtools_export.h",
62 "devtools_server.cc", 76 "devtools_server.cc",
63 "devtools_server.h", 77 "devtools_server.h",
64 "string_util.cc", 78 "string_util.cc",
65 "string_util.h", 79 "string_util.h",
66 "switches.cc", 80 "switches.cc",
67 "switches.h", 81 "switches.h",
68 ] 82 ]
69 83
70 defines = [ "UI_DEVTOOLS_IMPLEMENTATION" ] 84 defines = [ "UI_DEVTOOLS_IMPLEMENTATION" ]
71 85
72 cflags = [] 86 cflags = []
73 if (is_win) { 87 if (is_win) {
74 cflags += [ "/wd4800" ] # Value forced to bool. 88 cflags += [ "/wd4800" ] # Value forced to bool.
75 } 89 }
76 90
77 deps = [ 91 deps = [
78 ":protocol_generated_sources", 92 ":protocol_generated_sources",
93 "//ash/public/cpp:ash_public_cpp",
79 "//base", 94 "//base",
80 "//net", 95 "//net",
81 "//net:http_server", 96 "//net:http_server",
97 "//skia",
98 "//ui/aura",
99 "//ui/views",
100 "//ui/wm:wm",
82 ] 101 ]
83 } 102 }
103
104 source_set("devtool_unittests") {
105 testonly = true
106 sources = [
107 "devtools/ui_devtools_unittest.cc",
108 ]
109 configs += [ "//build/config:precompiled_headers" ]
110 deps = [
111 ":ui_devtools",
112 "//ash/public/cpp:ash_public_cpp",
113 "//skia",
114 "//testing/gtest",
115 "//ui/aura",
116 "//ui/views",
117 "//ui/wm:wm",
118 ]
119 }
OLDNEW
« no previous file with comments | « ash/shell.cc ('k') | components/ui_devtools/devtools/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698