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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/shell.cc ('k') | components/ui_devtools/devtools/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ui_devtools/BUILD.gn
diff --git a/components/ui_devtools/BUILD.gn b/components/ui_devtools/BUILD.gn
index eab5c09cbf97716c66fabef18e846737e6bea9d1..e2770282aa3d02161a48c89f1d2b298224f5b429 100644
--- a/components/ui_devtools/BUILD.gn
+++ b/components/ui_devtools/BUILD.gn
@@ -4,6 +4,7 @@
_inspector_protocol = "//third_party/inspector_protocol"
import("$_inspector_protocol/inspector_protocol.gni")
+import("//testing/test.gni")
_protocol_generated = [
"CSS.cpp",
@@ -55,6 +56,19 @@ inspector_protocol_generate("protocol_generated_sources") {
source_set("ui_devtools") {
sources = rebase_path(_protocol_generated, ".", target_gen_dir)
sources += [
+ "devtools/ui_devtools_css_agent.cc",
+ "devtools/ui_devtools_css_agent.h",
+ "devtools/ui_devtools_dom_agent.cc",
+ "devtools/ui_devtools_dom_agent.h",
+ "devtools/ui_element.cc",
+ "devtools/ui_element.h",
+ "devtools/ui_element_delegate.h",
+ "devtools/view_element.cc",
+ "devtools/view_element.h",
+ "devtools/widget_element.cc",
+ "devtools/widget_element.h",
+ "devtools/window_element.cc",
+ "devtools/window_element.h",
"devtools_base_agent.h",
"devtools_client.cc",
"devtools_client.h",
@@ -76,8 +90,30 @@ source_set("ui_devtools") {
deps = [
":protocol_generated_sources",
+ "//ash/public/cpp:ash_public_cpp",
"//base",
"//net",
"//net:http_server",
+ "//skia",
+ "//ui/aura",
+ "//ui/views",
+ "//ui/wm:wm",
+ ]
+}
+
+source_set("devtool_unittests") {
+ testonly = true
+ sources = [
+ "devtools/ui_devtools_unittest.cc",
+ ]
+ configs += [ "//build/config:precompiled_headers" ]
+ deps = [
+ ":ui_devtools",
+ "//ash/public/cpp:ash_public_cpp",
+ "//skia",
+ "//testing/gtest",
+ "//ui/aura",
+ "//ui/views",
+ "//ui/wm:wm",
]
}
« 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