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

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

Issue 2468263006: Add UI_DEVTOOLS_EXPORT so tests can mock FrontendChannel (Closed)
Patch Set: Sync with master 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 | « no previous file | components/ui_devtools/devtools_export.h » ('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 7
8 _protocol_generated = [ 8 _protocol_generated = [
9 "DOM.cpp", 9 "DOM.cpp",
10 "DOM.h", 10 "DOM.h",
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 outputs = _protocol_generated 50 outputs = _protocol_generated
51 } 51 }
52 52
53 source_set("ui_devtools") { 53 source_set("ui_devtools") {
54 sources = rebase_path(_protocol_generated, ".", target_gen_dir) 54 sources = rebase_path(_protocol_generated, ".", target_gen_dir)
55 sources += [ 55 sources += [
56 "devtools_base_agent.h", 56 "devtools_base_agent.h",
57 "devtools_client.cc", 57 "devtools_client.cc",
58 "devtools_client.h", 58 "devtools_client.h",
59 "devtools_export.h",
59 "devtools_server.cc", 60 "devtools_server.cc",
60 "devtools_server.h", 61 "devtools_server.h",
61 "string_util.cc", 62 "string_util.cc",
62 "string_util.h", 63 "string_util.h",
63 "switches.cc", 64 "switches.cc",
64 "switches.h", 65 "switches.h",
65 ] 66 ]
66 67
68 defines = [ "UI_DEVTOOLS_IMPLEMENTATION" ]
69
67 cflags = [] 70 cflags = []
68 if (is_win) { 71 if (is_win) {
69 cflags += [ "/wd4800" ] # Value forced to bool. 72 cflags += [ "/wd4800" ] # Value forced to bool.
70 } 73 }
71 74
72 deps = [ 75 deps = [
73 ":protocol_generated_sources", 76 ":protocol_generated_sources",
74 "//base", 77 "//base",
75 "//net", 78 "//net",
76 "//net:http_server", 79 "//net:http_server",
77 ] 80 ]
78 } 81 }
OLDNEW
« no previous file with comments | « no previous file | components/ui_devtools/devtools_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698