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 # Implements "content_main" given the defines and visibility. On Windows this | 8 # Implements "content_main" given the defines and visibility. On Windows this |
9 # is compiled with a different define for browser and child, but all code needs | 9 # is compiled with a different define for browser and child, but all code needs |
10 # to be shared. | 10 # to be shared. |
(...skipping 24 matching lines...) Expand all Loading... |
35 ] | 35 ] |
36 | 36 |
37 if (is_win) { | 37 if (is_win) { |
38 content_app_deps += [ "//sandbox" ] | 38 content_app_deps += [ "//sandbox" ] |
39 } else if (is_android) { | 39 } else if (is_android) { |
40 # Android doesn't use the browser/child split and in the component build | 40 # Android doesn't use the browser/child split and in the component build |
41 # all symbols are exported from the .so, so the Android-specific files | 41 # all symbols are exported from the .so, so the Android-specific files |
42 # can include headers from both places. Many of these are required for | 42 # can include headers from both places. Many of these are required for |
43 # JNI registration. | 43 # JNI registration. |
44 content_app_deps += [ | 44 content_app_deps += [ |
| 45 "//components/memory_coordinator/common:common", |
45 "//content/browser", | 46 "//content/browser", |
46 "//content/child", | 47 "//content/child", |
47 "//content/public/android:jni", | 48 "//content/public/android:jni", |
48 "//content/browser", | 49 "//content/browser", |
49 "//content/child", | 50 "//content/child", |
50 "//device/bluetooth", | 51 "//device/bluetooth", |
51 "//device/gamepad", | 52 "//device/gamepad", |
52 "//device/geolocation:device_geolocation", | 53 "//device/geolocation:device_geolocation", |
53 "//device/power_save_blocker", | 54 "//device/power_save_blocker", |
54 "//device/usb", | 55 "//device/usb", |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 implement_content_app("browser") { | 159 implement_content_app("browser") { |
159 visibility = [ "//content/public/app:browser" ] | 160 visibility = [ "//content/public/app:browser" ] |
160 defines = [ "CHROME_MULTIPLE_DLL_BROWSER" ] | 161 defines = [ "CHROME_MULTIPLE_DLL_BROWSER" ] |
161 } | 162 } |
162 | 163 |
163 implement_content_app("child") { | 164 implement_content_app("child") { |
164 visibility = [ "//content/public/app:child" ] | 165 visibility = [ "//content/public/app:child" ] |
165 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] | 166 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] |
166 } | 167 } |
167 } | 168 } |
OLD | NEW |