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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 "//third_party/mojo/src/mojo/public/interfaces/application", | 65 "//third_party/mojo/src/mojo/public/interfaces/application", |
66 ] | 66 ] |
67 } | 67 } |
68 | 68 |
69 content_app_extra_configs = [ | 69 content_app_extra_configs = [ |
70 "//build/config/compiler:wexit_time_destructors", | 70 "//build/config/compiler:wexit_time_destructors", |
71 "//content:content_implementation", | 71 "//content:content_implementation", |
72 ] | 72 ] |
73 | 73 |
74 if (!is_chrome_multiple_dll) { | 74 if (!is_chrome_multiple_dll) { |
75 content_app_deps += [ "//content/gpu" ] | 75 content_app_deps += [ "//content/gpu:gpu_sources" ] |
76 } | 76 } |
77 | 77 |
78 # This includes the app sources for both the browser and child processes. | 78 # This includes the app sources for both the browser and child processes. |
79 source_set("both") { | 79 source_set("both") { |
80 # Only the public target should depend on this. All other targets (even | 80 # Only the public target should depend on this. All other targets (even |
81 # internal content ones) should depend on the public one. | 81 # internal content ones) should depend on the public one. |
82 visibility = [ "//content/public/app:*" ] | 82 visibility = [ "//content/public/app:*" ] |
83 | 83 |
84 sources = content_app_sources | 84 sources = content_app_sources |
85 configs += content_app_extra_configs | 85 configs += content_app_extra_configs |
(...skipping 17 matching lines...) Expand all Loading... |
103 source_set("child") { | 103 source_set("child") { |
104 visibility = [ "//content/public/app:child" ] | 104 visibility = [ "//content/public/app:child" ] |
105 | 105 |
106 sources = content_app_sources | 106 sources = content_app_sources |
107 configs += content_app_extra_configs | 107 configs += content_app_extra_configs |
108 deps = content_app_deps | 108 deps = content_app_deps |
109 | 109 |
110 defines += [ "CHROME_MULTIPLE_DLL_CHILD" ] | 110 defines += [ "CHROME_MULTIPLE_DLL_CHILD" ] |
111 } | 111 } |
112 } | 112 } |
OLD | NEW |