| 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 import("//mojo/public/mojo_application.gni") | 5 import("//mojo/public/mojo_application.gni") |
| 6 | 6 |
| 7 mojo_native_application("http_server") { | 7 mojo_native_application("http_server") { |
| 8 sources = [ | 8 sources = [ |
| 9 "http_request_parser.cc", | 9 "http_request_parser.cc", |
| 10 "http_request_parser.h", | 10 "http_request_parser.h", |
| 11 "http_server.cc", | 11 "http_server.cc", |
| 12 ] | 12 ] |
| 13 | 13 |
| 14 deps = [ | 14 deps = [ |
| 15 "//base", | 15 "//base", |
| 16 "//mojo/common", | 16 "//mojo/common", |
| 17 "//mojo/public/c/system:for_shared_library", | 17 "//mojo/public/c/system:for_shared_library", |
| 18 "//mojo/public/cpp/application:standalone", | 18 "//mojo/public/cpp/application:standalone", |
| 19 "//mojo/public/cpp/bindings", | 19 "//mojo/public/cpp/bindings", |
| 20 "//mojo/public/cpp/environment", |
| 21 "//mojo/public/cpp/system", |
| 20 "//mojo/public/cpp/utility", | 22 "//mojo/public/cpp/utility", |
| 21 "//mojo/services/public/interfaces/network", | 23 "//mojo/services/public/interfaces/network", |
| 22 "//services/http_server/public", | 24 "//services/http_server/public", |
| 23 "//services/http_server/public:util", | 25 "//services/http_server/public:util", |
| 24 "//third_party/re2", | 26 "//third_party/re2", |
| 25 ] | 27 ] |
| 26 | 28 |
| 27 if (is_win) { | 29 if (is_win) { |
| 28 cflags = [ | 30 cflags = [ |
| 29 # size_t to int. | 31 # size_t to int. |
| 30 "/wd4267", | 32 "/wd4267", |
| 31 ] | 33 ] |
| 32 } | 34 } |
| 33 } | 35 } |
| OLD | NEW |