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 # TODO(GYP) enable chrome_multiple_dll support | 5 # TODO(GYP) enable chrome_multiple_dll support |
6 is_chrome_multiple_dll = false | 6 is_chrome_multiple_dll = false |
7 | 7 |
8 content_app_sources = [ | 8 content_app_sources = [ |
9 "android/app_jni_registrar.cc", | 9 "android/app_jni_registrar.cc", |
10 "android/app_jni_registrar.h", | 10 "android/app_jni_registrar.h", |
(...skipping 26 matching lines...) Expand all Loading... |
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 "//skia", | 45 "//skia", |
46 "//third_party/android_tools:cpu_features", | 46 "//third_party/android_tools:cpu_features", |
| 47 "//ui/android", |
47 ] | 48 ] |
48 } | 49 } |
49 | 50 |
50 if (is_ios) { | 51 if (is_ios) { |
51 content_app_sources -= [ | 52 content_app_sources -= [ |
52 "content_main.cc", | 53 "content_main.cc", |
53 "mojo/mojo_init.cc", | 54 "mojo/mojo_init.cc", |
54 "mojo/mojo_init.h", | 55 "mojo/mojo_init.h", |
55 ] | 56 ] |
56 } else { | 57 } else { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 source_set("child") { | 99 source_set("child") { |
99 visibility = [ "//content/public/app:child" ] | 100 visibility = [ "//content/public/app:child" ] |
100 | 101 |
101 sources = content_app_sources | 102 sources = content_app_sources |
102 configs += content_app_extra_configs | 103 configs += content_app_extra_configs |
103 deps = content_app_deps | 104 deps = content_app_deps |
104 | 105 |
105 defines += [ "CHROME_MULTIPLE_DLL_CHILD" ] | 106 defines += [ "CHROME_MULTIPLE_DLL_CHILD" ] |
106 } | 107 } |
107 } | 108 } |
OLD | NEW |