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

Side by Side Diff: ui/devtools/BUILD.gn

Issue 2374513002: Add ui devtools server (Closed)
Patch Set: Initial commit for ui devtools server Created 4 years, 2 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 | « no previous file | ui/devtools/DEPS » ('j') | ui/devtools/ProtocolPlatform.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 _inspector_protocol = "//third_party/WebKit/Source/platform/inspector_protocol"
6 import("//build/config/ui.gni")
7 import("$_inspector_protocol/inspector_protocol.gni")
8
9 _protocol_generated = [
10 "Forward.h",
11 "Protocol.cpp",
12 "Protocol.h",
13 "DOM.h",
14 "DOM.cpp",
15 ]
16
17 action("protocol_compatibility") {
18 visibility = [ ":*" ] # Only targets in this file can depend on this.
19 script = "$_inspector_protocol/CheckProtocolCompatibility.py"
20 inputs = [
21 "protocol.json",
22 ]
23
24 _stamp = "$target_gen_dir/protocol.stamp"
25 outputs = [
26 _stamp,
27 ]
28
29 args = [
30 "--stamp",
31 rebase_path(_stamp, root_build_dir),
32 rebase_path("protocol.json", root_build_dir),
33 ]
34 }
35
36 inspector_protocol_generate("protocol_generated_sources") {
37 visibility = [ ":*" ] # Only targets in this file can depend on this.
38
39 deps = [
40 ":protocol_compatibility",
41 ]
42
43 out_dir = target_gen_dir
44 config_file = "inspector_protocol_config.json"
45 inputs = [
46 "protocol.json",
47 "inspector_protocol_config.json",
48 ]
49
50 outputs = _protocol_generated
51 }
52
53 source_set("devtools") {
54 sources = rebase_path(_protocol_generated, ".", target_gen_dir)
55 sources += [
56 "ProtocolPlatform.h",
57 "StringUtil.cc",
58 "StringUtil.h",
sadrul 2016/10/17 16:05:08 Do these files have to be called ProtocolPlatform
Sarmad Hashmi 2016/10/17 16:58:20 Done.
59 "devtools_client.cc",
60 "devtools_client.h",
61 "devtools_server.cc",
62 "devtools_server.h",
63 "switches.cc",
64 "switches.h",
65 ]
66
67 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
68
69 deps = [
70 ":protocol_generated_sources",
71 "//base",
72 "//net:http_server",
73 ]
74 }
OLDNEW
« no previous file with comments | « no previous file | ui/devtools/DEPS » ('j') | ui/devtools/ProtocolPlatform.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698