| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 if (is_ios) { | 56 if (is_ios) { |
| 57 content_app_sources -= [ | 57 content_app_sources -= [ |
| 58 "content_main.cc", | 58 "content_main.cc", |
| 59 "mojo/mojo_init.cc", | 59 "mojo/mojo_init.cc", |
| 60 "mojo/mojo_init.h", | 60 "mojo/mojo_init.h", |
| 61 ] | 61 ] |
| 62 } else { | 62 } else { |
| 63 content_app_deps += [ | 63 content_app_deps += [ |
| 64 "//mojo/application/public/interfaces", | 64 "//mojo/application/public/interfaces", |
| 65 "//mojo/environment:chromium", | 65 "//mojo/environment:chromium", |
| 66 "//third_party/mojo/src/mojo/edk/system", | |
| 67 ] | 66 ] |
| 67 |
| 68 if (use_chrome_edk) { |
| 69 content_app_deps += [ "//mojo/edk/system" ] |
| 70 } else { |
| 71 content_app_deps += [ "//third_party/mojo/src/mojo/edk/system" ] |
| 72 } |
| 68 } | 73 } |
| 69 | 74 |
| 70 content_app_extra_configs = [ | 75 content_app_extra_configs = [ |
| 71 "//build/config/compiler:wexit_time_destructors", | 76 "//build/config/compiler:wexit_time_destructors", |
| 72 "//content:content_implementation", | 77 "//content:content_implementation", |
| 73 ] | 78 ] |
| 74 | 79 |
| 75 if (!is_multi_dll_chrome) { | 80 if (!is_multi_dll_chrome) { |
| 76 content_app_deps += [ "//content/gpu:gpu_sources" ] | 81 content_app_deps += [ "//content/gpu:gpu_sources" ] |
| 77 } | 82 } |
| (...skipping 26 matching lines...) Expand all Loading... |
| 104 source_set("child") { | 109 source_set("child") { |
| 105 visibility = [ "//content/public/app:child" ] | 110 visibility = [ "//content/public/app:child" ] |
| 106 | 111 |
| 107 sources = content_app_sources | 112 sources = content_app_sources |
| 108 configs += content_app_extra_configs | 113 configs += content_app_extra_configs |
| 109 deps = content_app_deps | 114 deps = content_app_deps |
| 110 | 115 |
| 111 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] | 116 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] |
| 112 } | 117 } |
| 113 } | 118 } |
| OLD | NEW |