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", | |
18 "//mojo/public/cpp/application:standalone", | 17 "//mojo/public/cpp/application:standalone", |
19 "//mojo/public/cpp/bindings", | 18 "//mojo/public/cpp/bindings", |
20 "//mojo/public/cpp/environment", | 19 "//mojo/public/cpp/environment", |
21 "//mojo/public/cpp/system", | 20 "//mojo/public/cpp/system", |
22 "//mojo/public/cpp/utility", | 21 "//mojo/public/cpp/utility", |
23 "//mojo/services/public/interfaces/network", | 22 "//mojo/services/public/interfaces/network", |
24 "//services/http_server/public", | 23 "//services/http_server/public", |
25 "//services/http_server/public:util", | 24 "//services/http_server/public:util", |
26 "//third_party/re2", | 25 "//third_party/re2", |
27 ] | 26 ] |
28 | 27 |
29 if (is_win) { | 28 if (is_win) { |
30 cflags = [ | 29 cflags = [ |
31 # size_t to int. | 30 # size_t to int. |
32 "/wd4267", | 31 "/wd4267", |
33 ] | 32 ] |
34 } | 33 } |
35 } | 34 } |
OLD | NEW |