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 | 6 |
7 content_app_sources = [ | 7 content_app_sources = [ |
8 "android/app_jni_registrar.cc", | 8 "android/app_jni_registrar.cc", |
9 "android/app_jni_registrar.h", | 9 "android/app_jni_registrar.h", |
10 "android/child_process_service.cc", | 10 "android/child_process_service.cc", |
(...skipping 24 matching lines...) Expand all Loading... |
35 "//ui/gfx", | 35 "//ui/gfx", |
36 "//ui/gfx/geometry", | 36 "//ui/gfx/geometry", |
37 ] | 37 ] |
38 | 38 |
39 if (is_win) { | 39 if (is_win) { |
40 content_app_deps += [ "//sandbox" ] | 40 content_app_deps += [ "//sandbox" ] |
41 } else if (is_android) { | 41 } else if (is_android) { |
42 content_app_sources -= [ "content_main.cc" ] | 42 content_app_sources -= [ "content_main.cc" ] |
43 content_app_deps += [ | 43 content_app_deps += [ |
44 "//content/public/android:jni", | 44 "//content/public/android:jni", |
| 45 "//device/usb", |
45 "//device/vibration", | 46 "//device/vibration", |
46 "//skia", | 47 "//skia", |
47 "//third_party/android_tools:cpu_features", | 48 "//third_party/android_tools:cpu_features", |
48 "//ui/android", | 49 "//ui/android", |
49 ] | 50 ] |
50 } | 51 } |
51 | 52 |
52 if (is_ios) { | 53 if (is_ios) { |
53 content_app_sources -= [ | 54 content_app_sources -= [ |
54 "content_main.cc", | 55 "content_main.cc", |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 source_set("child") { | 102 source_set("child") { |
102 visibility = [ "//content/public/app:child" ] | 103 visibility = [ "//content/public/app:child" ] |
103 | 104 |
104 sources = content_app_sources | 105 sources = content_app_sources |
105 configs += content_app_extra_configs | 106 configs += content_app_extra_configs |
106 deps = content_app_deps | 107 deps = content_app_deps |
107 | 108 |
108 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] | 109 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] |
109 } | 110 } |
110 } | 111 } |
OLD | NEW |