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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 # all symbols are exported from the .so, so the Android-specific files | 42 # all symbols are exported from the .so, so the Android-specific files |
43 # can include headers from both places. Many of these are required for | 43 # can include headers from both places. Many of these are required for |
44 # JNI registration. | 44 # JNI registration. |
45 content_app_deps += [ | 45 content_app_deps += [ |
46 "//content/browser", | 46 "//content/browser", |
47 "//content/child", | 47 "//content/child", |
48 "//content/public/android:jni", | 48 "//content/public/android:jni", |
49 "//content/browser", | 49 "//content/browser", |
50 "//content/child", | 50 "//content/child", |
51 "//device/bluetooth", | 51 "//device/bluetooth", |
| 52 "//device/geolocation:device_geolocation", |
52 "//device/power_save_blocker", | 53 "//device/power_save_blocker", |
53 "//device/usb", | 54 "//device/usb", |
54 "//device/vibration", | 55 "//device/vibration", |
55 "//gpu", | 56 "//gpu", |
56 "//media", | 57 "//media", |
57 "//media/capture", | 58 "//media/capture", |
58 "//media/midi", | 59 "//media/midi", |
59 "//net", | 60 "//net", |
60 "//skia", | 61 "//skia", |
61 "//third_party/android_tools:cpu_features", | 62 "//third_party/android_tools:cpu_features", |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 implement_content_app("browser") { | 158 implement_content_app("browser") { |
158 visibility = [ "//content/public/app:browser" ] | 159 visibility = [ "//content/public/app:browser" ] |
159 defines = [ "CHROME_MULTIPLE_DLL_BROWSER" ] | 160 defines = [ "CHROME_MULTIPLE_DLL_BROWSER" ] |
160 } | 161 } |
161 | 162 |
162 implement_content_app("child") { | 163 implement_content_app("child") { |
163 visibility = [ "//content/public/app:child" ] | 164 visibility = [ "//content/public/app:child" ] |
164 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] | 165 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] |
165 } | 166 } |
166 } | 167 } |
OLD | NEW |