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

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

Issue 2452853002: [inspector] use own version of third_party/inspector_protocol (Closed)
Patch Set: supported new inspector_protocol location in components/ui_devtools/BUILD.gn Created 4 years, 1 month 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 | « .gitignore ('k') | third_party/WebKit/Source/core/inspector/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 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/WebKit/Source/platform/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 "DOM.cpp", 9 "DOM.cpp",
10 "DOM.h", 10 "DOM.h",
11 "Forward.h", 11 "Forward.h",
12 "Protocol.cpp", 12 "Protocol.cpp",
13 "Protocol.h", 13 "Protocol.h",
14 ] 14 ]
15 15
(...skipping 10 matching lines...) Expand all
26 ] 26 ]
27 27
28 args = [ 28 args = [
29 "--stamp", 29 "--stamp",
30 rebase_path(_stamp, root_build_dir), 30 rebase_path(_stamp, root_build_dir),
31 rebase_path("protocol.json", root_build_dir), 31 rebase_path("protocol.json", root_build_dir),
32 ] 32 ]
33 } 33 }
34 34
35 inspector_protocol_generate("protocol_generated_sources") { 35 inspector_protocol_generate("protocol_generated_sources") {
36 inspector_protocol_dir = _inspector_protocol
36 visibility = [ ":*" ] # Only targets in this file can depend on this. 37 visibility = [ ":*" ] # Only targets in this file can depend on this.
37 38
38 deps = [ 39 deps = [
39 ":protocol_compatibility", 40 ":protocol_compatibility",
40 ] 41 ]
41 42
42 out_dir = target_gen_dir 43 out_dir = target_gen_dir
43 config_file = "inspector_protocol_config.json" 44 config_file = "inspector_protocol_config.json"
44 inputs = [ 45 inputs = [
45 "protocol.json", 46 "protocol.json",
(...skipping 22 matching lines...) Expand all
68 cflags += [ "/wd4800" ] # Value forced to bool. 69 cflags += [ "/wd4800" ] # Value forced to bool.
69 } 70 }
70 71
71 deps = [ 72 deps = [
72 ":protocol_generated_sources", 73 ":protocol_generated_sources",
73 "//base", 74 "//base",
74 "//net", 75 "//net",
75 "//net:http_server", 76 "//net:http_server",
76 ] 77 ]
77 } 78 }
OLDNEW
« no previous file with comments | « .gitignore ('k') | third_party/WebKit/Source/core/inspector/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698