| 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", | |
| 53 "//device/power_save_blocker", | 52 "//device/power_save_blocker", |
| 54 "//device/usb", | 53 "//device/usb", |
| 55 "//device/vibration", | 54 "//device/vibration", |
| 56 "//gpu", | 55 "//gpu", |
| 57 "//media", | 56 "//media", |
| 58 "//media/capture", | 57 "//media/capture", |
| 59 "//media/midi", | 58 "//media/midi", |
| 60 "//net", | 59 "//net", |
| 61 "//skia", | 60 "//skia", |
| 62 "//third_party/android_tools:cpu_features", | 61 "//third_party/android_tools:cpu_features", |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 implement_content_app("browser") { | 157 implement_content_app("browser") { |
| 159 visibility = [ "//content/public/app:browser" ] | 158 visibility = [ "//content/public/app:browser" ] |
| 160 defines = [ "CHROME_MULTIPLE_DLL_BROWSER" ] | 159 defines = [ "CHROME_MULTIPLE_DLL_BROWSER" ] |
| 161 } | 160 } |
| 162 | 161 |
| 163 implement_content_app("child") { | 162 implement_content_app("child") { |
| 164 visibility = [ "//content/public/app:child" ] | 163 visibility = [ "//content/public/app:child" ] |
| 165 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] | 164 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] |
| 166 } | 165 } |
| 167 } | 166 } |
| OLD | NEW |