| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/nacl/config.gni") | 5 import("//build/config/nacl/config.gni") |
| 6 import("//services/catalog/public/tools/catalog.gni") | 6 import("//services/catalog/public/tools/catalog.gni") |
| 7 import("//services/service_manager/public/service_manifest.gni") | 7 import("//services/service_manager/public/service_manifest.gni") |
| 8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
| 9 | 9 |
| 10 # Target that builders build. | 10 # Target that builders build. |
| 11 group("all") { | 11 group("all") { |
| 12 testonly = true | 12 testonly = true |
| 13 | 13 |
| 14 deps = [ | 14 deps = [ |
| 15 ":mash_catalog", | 15 ":mash_catalog", |
| 16 "//components/leveldb", | 16 "//components/leveldb", |
| 17 "//mash/catalog_viewer", | 17 "//mash/catalog_viewer", |
| 18 "//mash/example", | 18 "//mash/example", |
| 19 "//mash/quick_launch", | 19 "//mash/quick_launch", |
| 20 "//mash/runner", | 20 "//mash/runner", |
| 21 "//mash/session", | 21 "//mash/session", |
| 22 "//mash/simple_wm", | 22 "//mash/simple_wm", |
| 23 "//mash/task_viewer", | 23 "//mash/task_viewer", |
| 24 ] | 24 ] |
| 25 | 25 |
| 26 # Build on platforms that support ash. | 26 # Build on platforms that support ash. |
| 27 if (is_chromeos) { | 27 if (is_chromeos) { |
| 28 deps += [ | 28 deps += [ |
| 29 "//ash/autoclick/mus:accessibility_autoclick", | 29 "//ash/autoclick/mus:accessibility_autoclick", |
| 30 "//ash/mus/standalone:standalone_ash", |
| 30 "//ash/touch_hud/mus:touch_hud", | 31 "//ash/touch_hud/mus:touch_hud", |
| 31 "//mash:mash_unittests", | 32 "//mash:mash_unittests", |
| 32 ] | 33 ] |
| 33 } | 34 } |
| 34 } | 35 } |
| 35 | 36 |
| 36 # This is the catalog of services available to a standalone mash environment. | 37 # This is the catalog of services available to a standalone mash environment. |
| 37 # Build //mash/runner to generate the runner executable. | 38 # Build //mash/runner to generate the runner executable. |
| 38 catalog("catalog") { | 39 catalog("catalog") { |
| 39 testonly = true | 40 testonly = true |
| (...skipping 22 matching lines...) Expand all Loading... |
| 62 "//chrome/app:chrome_content_plugin_manifest", | 63 "//chrome/app:chrome_content_plugin_manifest", |
| 63 "//chrome/app:chrome_content_renderer_manifest", | 64 "//chrome/app:chrome_content_renderer_manifest", |
| 64 "//chrome/app:chrome_content_utility_manifest", | 65 "//chrome/app:chrome_content_utility_manifest", |
| 65 ] | 66 ] |
| 66 | 67 |
| 67 executable_overrides = [ "content_packaged_services:@EXE_DIR/chrome" ] | 68 executable_overrides = [ "content_packaged_services:@EXE_DIR/chrome" ] |
| 68 | 69 |
| 69 catalog_deps = [ "//mash/example:catalog" ] | 70 catalog_deps = [ "//mash/example:catalog" ] |
| 70 | 71 |
| 71 if (is_chromeos) { | 72 if (is_chromeos) { |
| 72 standalone_services += [ "//ash/mus:manifest" ] | 73 standalone_services += [ |
| 74 "//ash/mus:manifest", |
| 75 "//ash/mus/standalone:manifest", |
| 76 ] |
| 73 } | 77 } |
| 74 | 78 |
| 75 if (is_linux && !is_android) { | 79 if (is_linux && !is_android) { |
| 76 standalone_services += [ "//components/font_service:manifest" ] | 80 standalone_services += [ "//components/font_service:manifest" ] |
| 77 } | 81 } |
| 78 | 82 |
| 79 if (enable_nacl) { | 83 if (enable_nacl) { |
| 80 standalone_services += [ "//components/nacl/loader:nacl_loader_manifest" ] | 84 standalone_services += [ "//components/nacl/loader:nacl_loader_manifest" ] |
| 81 if (is_win && target_cpu == "x86") { | 85 if (is_win && target_cpu == "x86") { |
| 82 standalone_services += [ "//components/nacl/broker:nacl_broker_manifest" ] | 86 standalone_services += [ "//components/nacl/broker:nacl_broker_manifest" ] |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 testonly = true | 157 testonly = true |
| 154 sources = get_target_outputs(":mash_unittests_catalog") | 158 sources = get_target_outputs(":mash_unittests_catalog") |
| 155 outputs = [ | 159 outputs = [ |
| 156 "${root_out_dir}/mash_unittests_catalog.json", | 160 "${root_out_dir}/mash_unittests_catalog.json", |
| 157 ] | 161 ] |
| 158 deps = [ | 162 deps = [ |
| 159 ":mash_unittests_catalog", | 163 ":mash_unittests_catalog", |
| 160 ] | 164 ] |
| 161 } | 165 } |
| 162 } | 166 } |
| OLD | NEW |