| 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 # Used internally to hold the sources shared between the various targets below. | 5 source_set("app") { |
| 6 source_set("app_sources") { | |
| 7 sources = [ | 6 sources = [ |
| 8 "android_library_loader_hooks.h", | 7 "android_library_loader_hooks.h", |
| 9 "content_main.h", | 8 "content_main.h", |
| 10 "content_main_delegate.cc", | 9 "content_main_delegate.cc", |
| 11 "content_main_delegate.h", | 10 "content_main_delegate.h", |
| 12 "content_main_runner.h", | 11 "content_main_runner.h", |
| 13 "startup_helper_win.h", | 12 "startup_helper_win.h", |
| 14 ] | 13 ] |
| 15 | 14 |
| 16 configs += [ "//content:content_implementation" ] | 15 configs += [ "//content:content_implementation" ] |
| 17 | 16 |
| 18 deps = [ | 17 deps = [ |
| 19 "//base", | 18 "//base", |
| 20 "//base:i18n", | 19 "//base:i18n", |
| 21 "//content:export", | 20 "//content:export", |
| 22 "//content/public/plugin", | 21 "//content/public/plugin", |
| 23 "//content/public/renderer", | 22 "//content/public/renderer", |
| 24 "//content/public/utility", | 23 "//content/public/utility", |
| 25 ] | 24 ] |
| 26 } | 25 } |
| 27 | |
| 28 # The structure of this is like the private content/app implementation. | |
| 29 if (is_component_build) { | |
| 30 | |
| 31 group("app") { | |
| 32 deps = [ | |
| 33 ":app_sources", | |
| 34 "//content/app", | |
| 35 ] | |
| 36 } | |
| 37 group("browser") { | |
| 38 deps = [ "//content" ] | |
| 39 } | |
| 40 group("child") { | |
| 41 deps = [ "//content" ] | |
| 42 } | |
| 43 group("both") { | |
| 44 deps = [ "//content" ] | |
| 45 } | |
| 46 | |
| 47 } else { | |
| 48 | |
| 49 group("browser") { | |
| 50 deps = [ | |
| 51 ":app_sources", | |
| 52 "//content/app:browser" | |
| 53 ] | |
| 54 } | |
| 55 group("child") { | |
| 56 deps = [ | |
| 57 ":app_sources", | |
| 58 "//content/app:child" | |
| 59 ] | |
| 60 } | |
| 61 group("both") { | |
| 62 deps = [ | |
| 63 ":app_sources", | |
| 64 "//content/app:both" | |
| 65 ] | |
| 66 } | |
| 67 | |
| 68 } | |
| OLD | NEW |