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 | 7 |
7 content_app_sources = [ | 8 content_app_sources = [ |
8 "android/app_jni_registrar.cc", | 9 "android/app_jni_registrar.cc", |
9 "android/app_jni_registrar.h", | 10 "android/app_jni_registrar.h", |
10 "android/child_process_service.cc", | 11 "android/child_process_service.cc", |
11 "android/child_process_service.h", | 12 "android/child_process_service.h", |
12 "android/content_jni_onload.cc", | 13 "android/content_jni_onload.cc", |
13 "android/content_main.cc", | 14 "android/content_main.cc", |
14 "android/content_main.h", | 15 "android/content_main.h", |
15 "android/download_main.cc", | 16 "android/download_main.cc", |
(...skipping 29 matching lines...) Expand all Loading... | |
45 content_app_deps += [ | 46 content_app_deps += [ |
46 "//content/public/android:jni", | 47 "//content/public/android:jni", |
47 "//device/usb", | 48 "//device/usb", |
48 "//device/vibration", | 49 "//device/vibration", |
49 "//skia", | 50 "//skia", |
50 "//third_party/android_tools:cpu_features", | 51 "//third_party/android_tools:cpu_features", |
51 "//ui/android", | 52 "//ui/android", |
52 ] | 53 ] |
53 } | 54 } |
54 | 55 |
56 if (enable_plugins) { | |
Dirk Pranke
2016/04/28 00:25:40
For posterity, I think in order to address brettw'
nyquist
2016/04/28 00:56:00
I implemented both... So, in patch set 17 below yo
| |
57 content_app_deps += [ "//content/ppapi_plugin:ppapi_plugin_sources" ] | |
58 } | |
59 | |
55 content_app_extra_configs = [ | 60 content_app_extra_configs = [ |
56 "//build/config/compiler:wexit_time_destructors", | 61 "//build/config/compiler:wexit_time_destructors", |
57 "//content:content_implementation", | 62 "//content:content_implementation", |
58 "//content/public/common:mojo_shell_client", | 63 "//content/public/common:mojo_shell_client", |
59 "//v8:external_startup_data", | 64 "//v8:external_startup_data", |
60 ] | 65 ] |
61 | 66 |
62 if (!is_multi_dll_chrome) { | 67 if (!is_multi_dll_chrome) { |
63 content_app_deps += [ "//content/gpu:gpu_sources" ] | 68 content_app_deps += [ "//content/gpu:gpu_sources" ] |
64 } | 69 } |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
104 source_set("child") { | 109 source_set("child") { |
105 visibility = [ "//content/public/app:child" ] | 110 visibility = [ "//content/public/app:child" ] |
106 | 111 |
107 sources = content_app_sources | 112 sources = content_app_sources |
108 configs += content_app_extra_configs | 113 configs += content_app_extra_configs |
109 deps = content_app_deps | 114 deps = content_app_deps |
110 | 115 |
111 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] | 116 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] |
112 } | 117 } |
113 } | 118 } |
OLD | NEW |