| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 | 108 |
| 109 if (is_android) { | 109 if (is_android) { |
| 110 sources += [ | 110 sources += [ |
| 111 "android/app_jni_registrar.cc", | 111 "android/app_jni_registrar.cc", |
| 112 "android/app_jni_registrar.h", | 112 "android/app_jni_registrar.h", |
| 113 "android/child_process_service_impl.cc", | 113 "android/child_process_service_impl.cc", |
| 114 "android/child_process_service_impl.h", | 114 "android/child_process_service_impl.h", |
| 115 "android/content_jni_onload.cc", | 115 "android/content_jni_onload.cc", |
| 116 "android/content_main.cc", | 116 "android/content_main.cc", |
| 117 "android/content_main.h", | 117 "android/content_main.h", |
| 118 "android/download_main.cc", | |
| 119 "android/library_loader_hooks.cc", | 118 "android/library_loader_hooks.cc", |
| 120 "android/library_loader_hooks.h", | 119 "android/library_loader_hooks.h", |
| 121 ] | 120 ] |
| 122 } else { | 121 } else { |
| 123 sources += [ "content_main.cc" ] | 122 sources += [ "content_main.cc" ] |
| 124 } | 123 } |
| 125 | 124 |
| 126 configs += extra_configs | 125 configs += extra_configs |
| 127 deps = content_app_deps + [ ":$runner_target_name" ] | 126 deps = content_app_deps + [ ":$runner_target_name" ] |
| 128 forward_variables_from(invoker, | 127 forward_variables_from(invoker, |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 implement_content_app("browser") { | 159 implement_content_app("browser") { |
| 161 visibility = [ "//content/public/app:browser" ] | 160 visibility = [ "//content/public/app:browser" ] |
| 162 defines = [ "CHROME_MULTIPLE_DLL_BROWSER" ] | 161 defines = [ "CHROME_MULTIPLE_DLL_BROWSER" ] |
| 163 } | 162 } |
| 164 | 163 |
| 165 implement_content_app("child") { | 164 implement_content_app("child") { |
| 166 visibility = [ "//content/public/app:child" ] | 165 visibility = [ "//content/public/app:child" ] |
| 167 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] | 166 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] |
| 168 } | 167 } |
| 169 } | 168 } |
| OLD | NEW |