| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 shared_library("http_server") { | 5 shared_library("http_server") { |
| 6 sources = [ | 6 sources = [ |
| 7 "http_request_parser.cc", | 7 "http_request_parser.cc", |
| 8 "http_request_parser.h", | 8 "http_request_parser.h", |
| 9 "http_server.cc", | 9 "http_server.cc", |
| 10 ] | 10 ] |
| 11 | 11 |
| 12 deps = [ | 12 deps = [ |
| 13 "//base", | 13 "//base", |
| 14 "//mojo/common", | 14 "//mojo/common", |
| 15 "//mojo/public/c/system:for_shared_library", | 15 "//mojo/public/c/system:for_shared_library", |
| 16 "//mojo/public/cpp/application:standalone", | 16 "//mojo/public/cpp/application:standalone", |
| 17 "//mojo/public/cpp/bindings", | 17 "//mojo/public/cpp/bindings", |
| 18 "//mojo/public/cpp/utility", | 18 "//mojo/public/cpp/utility", |
| 19 "//mojo/services/public/interfaces/network", | 19 "//mojo/services/public/interfaces/network", |
| 20 "//services/http_server/public", | 20 "//services/http_server/public", |
| 21 "//third_party/re2", | 21 "//third_party/re2", |
| 22 ] | 22 ] |
| 23 |
| 24 if (is_win) { |
| 25 cflags = [ |
| 26 # size_t to int. |
| 27 "/wd4267", |
| 28 ] |
| 29 } |
| 23 } | 30 } |
| OLD | NEW |