Chromium Code Reviews| 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 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
| 7 import("//third_party/cython/rules.gni") | 7 import("//third_party/cython/rules.gni") |
| 8 | 8 |
| 9 mojo_native_application("content_handler") { | 9 mojo_native_application("content_handler") { |
| 10 output_name = "py_content_handler" | 10 output_name = "py_content_handler" |
| 11 deps = [ | 11 deps = [ |
| 12 ":content_handler_src", | 12 ":content_handler_src", |
| 13 ] | 13 ] |
| 14 } | 14 } |
| 15 | 15 |
| 16 python_binary_source_set("content_handler_src") { | 16 python_binary_source_set("content_handler_src") { |
| 17 sources = [ | 17 sources = [ |
| 18 "content_handler_main.cc", | 18 "content_handler_main.cc", |
| 19 ] | 19 ] |
| 20 deps = [ | 20 deps = [ |
| 21 ":mojo_system_impl", | 21 ":mojo_system_impl", |
| 22 "//base", | 22 "//base", |
| 23 "//base:i18n", | 23 "//base:i18n", |
| 24 "//mojo/application", | 24 "//mojo/application", |
| 25 "//mojo/application:content_handler", | 25 "//mojo/application:content_handler", |
| 26 "//mojo/data_pipe_utils", | 26 "//mojo/data_pipe_utils", |
| 27 "//mojo/environment:chromium", | 27 "//mojo/environment:chromium", |
| 28 "//mojo/public/c/system:for_shared_library", | 28 "//mojo/public/c/system", |
|
viettrungluu
2015/12/10 16:50:06
The .../native:system dependency belongs in the "b
| |
| 29 "//mojo/public/cpp/utility", | 29 "//mojo/public/cpp/utility", |
| 30 "//mojo/public/python:python_common", | 30 "//mojo/public/python:python_common", |
| 31 "//mojo/public/python:system_embedded", | 31 "//mojo/public/python:system_embedded", |
| 32 "//mojo/services/content_handler/interfaces", | 32 "//mojo/services/content_handler/interfaces", |
| 33 "//third_party/zlib:zip", | 33 "//third_party/zlib:zip", |
| 34 "//url:url", | 34 "//url:url", |
| 35 ] | 35 ] |
| 36 } | 36 } |
| 37 | 37 |
| 38 copy("common_system_pxd") { | 38 copy("common_system_pxd") { |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 57 "mojo_system_impl.pyx", | 57 "mojo_system_impl.pyx", |
| 58 ] | 58 ] |
| 59 sources = [ | 59 sources = [ |
| 60 "python_system_impl_helper.cc", | 60 "python_system_impl_helper.cc", |
| 61 "python_system_impl_helper.h", | 61 "python_system_impl_helper.h", |
| 62 ] | 62 ] |
| 63 deps = [ | 63 deps = [ |
| 64 "//base", | 64 "//base", |
| 65 "//mojo/environment:chromium", | 65 "//mojo/environment:chromium", |
| 66 "//mojo/message_pump", | 66 "//mojo/message_pump", |
| 67 "//mojo/public/c/system:for_shared_library", | 67 "//mojo/public/c/system", |
|
viettrungluu
2015/12/10 16:50:06
"
| |
| 68 "//mojo/public/cpp/system", | 68 "//mojo/public/cpp/system", |
| 69 "//mojo/public/cpp/utility", | 69 "//mojo/public/cpp/utility", |
| 70 "//mojo/public/cpp/bindings:callback", | 70 "//mojo/public/cpp/bindings:callback", |
| 71 "//mojo/public/python:python_common", | 71 "//mojo/public/python:python_common", |
| 72 ] | 72 ] |
| 73 public_deps = [ | 73 public_deps = [ |
| 74 ":common_system_pxd", | 74 ":common_system_pxd", |
| 75 ] | 75 ] |
| 76 } | 76 } |
| OLD | NEW |