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("//build/config/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 | 7 |
8 content_app_sources = [ | 8 content_app_sources = [ |
9 "android/app_jni_registrar.cc", | 9 "android/app_jni_registrar.cc", |
10 "android/app_jni_registrar.h", | 10 "android/app_jni_registrar.h", |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 } | 57 } |
58 | 58 |
59 if (is_ios) { | 59 if (is_ios) { |
60 content_app_sources -= [ | 60 content_app_sources -= [ |
61 "content_main.cc", | 61 "content_main.cc", |
62 "mojo/mojo_init.cc", | 62 "mojo/mojo_init.cc", |
63 "mojo/mojo_init.h", | 63 "mojo/mojo_init.h", |
64 ] | 64 ] |
65 } else { | 65 } else { |
66 content_app_deps += [ | 66 content_app_deps += [ |
| 67 "//device/usb", |
67 "//mojo/shell/public/interfaces", | 68 "//mojo/shell/public/interfaces", |
68 "//mojo/environment:chromium", | 69 "//mojo/environment:chromium", |
69 "//third_party/mojo/src/mojo/edk/system", | 70 "//third_party/mojo/src/mojo/edk/system", |
70 ] | 71 ] |
71 } | 72 } |
72 | 73 |
73 content_app_extra_configs = [ | 74 content_app_extra_configs = [ |
74 "//build/config/compiler:wexit_time_destructors", | 75 "//build/config/compiler:wexit_time_destructors", |
75 "//content:content_implementation", | 76 "//content:content_implementation", |
76 "//content/public/common:mojo_shell_client", | 77 "//content/public/common:mojo_shell_client", |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 source_set("child") { | 110 source_set("child") { |
110 visibility = [ "//content/public/app:child" ] | 111 visibility = [ "//content/public/app:child" ] |
111 | 112 |
112 sources = content_app_sources | 113 sources = content_app_sources |
113 configs += content_app_extra_configs | 114 configs += content_app_extra_configs |
114 deps = content_app_deps | 115 deps = content_app_deps |
115 | 116 |
116 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] | 117 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] |
117 } | 118 } |
118 } | 119 } |
OLD | NEW |