| 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/WebKit/Source/platform/inspector_protocol" | 5 _inspector_protocol = "//third_party/WebKit/Source/platform/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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 "protocol.json", | 45 "protocol.json", |
| 46 "inspector_protocol_config.json", | 46 "inspector_protocol_config.json", |
| 47 ] | 47 ] |
| 48 | 48 |
| 49 outputs = _protocol_generated | 49 outputs = _protocol_generated |
| 50 } | 50 } |
| 51 | 51 |
| 52 source_set("ui_devtools") { | 52 source_set("ui_devtools") { |
| 53 sources = rebase_path(_protocol_generated, ".", target_gen_dir) | 53 sources = rebase_path(_protocol_generated, ".", target_gen_dir) |
| 54 sources += [ | 54 sources += [ |
| 55 "devtools_base_agent.h", |
| 55 "devtools_client.cc", | 56 "devtools_client.cc", |
| 56 "devtools_client.h", | 57 "devtools_client.h", |
| 57 "devtools_server.cc", | 58 "devtools_server.cc", |
| 58 "devtools_server.h", | 59 "devtools_server.h", |
| 59 "protocol_platform.h", | 60 "protocol_platform.h", |
| 60 "string_util.cc", | 61 "string_util.cc", |
| 61 "string_util.h", | 62 "string_util.h", |
| 62 "switches.cc", | 63 "switches.cc", |
| 63 "switches.h", | 64 "switches.h", |
| 64 ] | 65 ] |
| 65 | 66 |
| 66 cflags = [] | 67 cflags = [] |
| 67 if (is_win) { | 68 if (is_win) { |
| 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 } |
| OLD | NEW |