| OLD | NEW |
| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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_server.cc", | 59 "devtools_server.cc", |
| 60 "devtools_server.h", | 60 "devtools_server.h", |
| 61 "protocol_platform.h", | |
| 62 "string_util.cc", | 61 "string_util.cc", |
| 63 "string_util.h", | 62 "string_util.h", |
| 64 "switches.cc", | 63 "switches.cc", |
| 65 "switches.h", | 64 "switches.h", |
| 66 ] | 65 ] |
| 67 | 66 |
| 68 cflags = [] | 67 cflags = [] |
| 69 if (is_win) { | 68 if (is_win) { |
| 70 cflags += [ "/wd4800" ] # Value forced to bool. | 69 cflags += [ "/wd4800" ] # Value forced to bool. |
| 71 } | 70 } |
| 72 | 71 |
| 73 deps = [ | 72 deps = [ |
| 74 ":protocol_generated_sources", | 73 ":protocol_generated_sources", |
| 75 "//base", | 74 "//base", |
| 76 "//net", | 75 "//net", |
| 77 "//net:http_server", | 76 "//net:http_server", |
| 78 ] | 77 ] |
| 79 } | 78 } |
| OLD | NEW |