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

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

Issue 2899783002: Move DevTools out of ash and turn it to a component. (Closed)
Patch Set: Address nits. Created 3 years, 6 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
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 7
8 _protocol_generated = [ 8 _protocol_generated = [
9 "CSS.cpp", 9 "CSS.cpp",
10 "CSS.h", 10 "CSS.h",
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 out_dir = target_gen_dir 45 out_dir = target_gen_dir
46 config_file = "inspector_protocol_config.json" 46 config_file = "inspector_protocol_config.json"
47 inputs = [ 47 inputs = [
48 "protocol.json", 48 "protocol.json",
49 "inspector_protocol_config.json", 49 "inspector_protocol_config.json",
50 ] 50 ]
51 51
52 outputs = _protocol_generated 52 outputs = _protocol_generated
53 } 53 }
54 54
55 source_set("ui_devtools") { 55 component("ui_devtools") {
blundell 2017/06/19 13:33:00 could you find some OWNERS for this component and
thanhph 2017/06/20 17:40:28 Done. I added a README.md. sadrul@ and dgozman@ ar
56 sources = rebase_path(_protocol_generated, ".", target_gen_dir) 56 sources = rebase_path(_protocol_generated, ".", target_gen_dir)
57 sources += [ 57 sources += [
58 "devtools_base_agent.h", 58 "devtools_base_agent.h",
59 "devtools_client.cc", 59 "devtools_client.cc",
60 "devtools_client.h", 60 "devtools_client.h",
61 "devtools_export.h", 61 "devtools_export.h",
62 "devtools_server.cc", 62 "devtools_server.cc",
63 "devtools_server.h", 63 "devtools_server.h",
64 "string_util.cc", 64 "string_util.cc",
65 "string_util.h", 65 "string_util.h",
66 "switches.cc", 66 "switches.cc",
67 "switches.h", 67 "switches.h",
68 ] 68 ]
69 69
70 defines = [ "UI_DEVTOOLS_IMPLEMENTATION" ] 70 defines = [ "UI_DEVTOOLS_IMPLEMENTATION" ]
71 71
72 cflags = [] 72 cflags = []
73 if (is_win) { 73 if (is_win) {
74 cflags += [ "/wd4800" ] # Value forced to bool. 74 cflags += [ "/wd4800" ] # Value forced to bool.
75 } 75 }
76 76
77 deps = [ 77 deps = [
78 ":protocol_generated_sources", 78 ":protocol_generated_sources",
79 "//base", 79 "//base",
80 "//net", 80 "//net",
81 "//net:http_server", 81 "//net:http_server",
82 ] 82 ]
83 } 83 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698