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/features.gni") | 6 import("//build/config/features.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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 "//skia", | 50 "//skia", |
51 "//third_party/android_tools:cpu_features", | 51 "//third_party/android_tools:cpu_features", |
52 "//ui/android", | 52 "//ui/android", |
53 ] | 53 ] |
54 } | 54 } |
55 | 55 |
56 if (is_linux && enable_plugins) { | 56 if (is_linux && enable_plugins) { |
57 content_app_deps += [ "//content/ppapi_plugin:ppapi_plugin_sources" ] | 57 content_app_deps += [ "//content/ppapi_plugin:ppapi_plugin_sources" ] |
58 } | 58 } |
59 | 59 |
| 60 if (is_chromeos) { |
| 61 content_app_deps += [ "//components/metrics:leak_detector" ] |
| 62 } |
| 63 |
60 content_app_extra_configs = [ | 64 content_app_extra_configs = [ |
61 "//build/config/compiler:wexit_time_destructors", | 65 "//build/config/compiler:wexit_time_destructors", |
62 "//content:content_implementation", | 66 "//content:content_implementation", |
63 "//content/public/common:mojo_shell_client", | 67 "//content/public/common:mojo_shell_client", |
64 "//v8:external_startup_data", | 68 "//v8:external_startup_data", |
65 ] | 69 ] |
66 | 70 |
67 if (!is_multi_dll_chrome) { | 71 if (!is_multi_dll_chrome) { |
68 content_app_deps += [ "//content/gpu:gpu_sources" ] | 72 content_app_deps += [ "//content/gpu:gpu_sources" ] |
69 } | 73 } |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 source_set("child") { | 113 source_set("child") { |
110 visibility = [ "//content/public/app:child" ] | 114 visibility = [ "//content/public/app:child" ] |
111 | 115 |
112 sources = content_app_sources | 116 sources = content_app_sources |
113 configs += content_app_extra_configs | 117 configs += content_app_extra_configs |
114 deps = content_app_deps | 118 deps = content_app_deps |
115 | 119 |
116 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] | 120 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] |
117 } | 121 } |
118 } | 122 } |
OLD | NEW |