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