| 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("//tools/grit/grit_rule.gni") | 5 import("//tools/grit/grit_rule.gni") |
| 6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
| 7 import("//chrome/version.gni") | 7 import("//chrome/version.gni") |
| 8 | 8 |
| 9 gypi_values = exec_script("//build/gypi_to_gn.py", | 9 gypi_values = exec_script("//build/gypi_to_gn.py", |
| 10 [ rebase_path("../chrome_common.gypi") ], | 10 [ rebase_path("../chrome_common.gypi") ], |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 if (is_chromeos) { | 172 if (is_chromeos) { |
| 173 public_deps += [ "//chromeos" ] | 173 public_deps += [ "//chromeos" ] |
| 174 } | 174 } |
| 175 | 175 |
| 176 if (enable_nacl) { | 176 if (enable_nacl) { |
| 177 public_deps += [ "//components/nacl:nacl_common" ] | 177 public_deps += [ "//components/nacl:nacl_common" ] |
| 178 } | 178 } |
| 179 | 179 |
| 180 # Printing. | 180 # Printing. |
| 181 if (enable_basic_printing || enable_print_preview) { | 181 if (enable_basic_printing || enable_print_preview) { |
| 182 sources += |
| 183 rebase_path(gypi_values.chrome_common_printing_sources, ".", "//chrome") |
| 184 |
| 182 public_deps += [ | 185 public_deps += [ |
| 183 "//components/printing/common", | 186 "//components/printing/common", |
| 184 "//printing", | 187 "//printing", |
| 185 ] | 188 ] |
| 186 if (enable_print_preview) { | 189 if (enable_print_preview) { |
| 187 # Full printing support. | 190 # Full printing support. |
| 188 sources += rebase_path(gypi_values.chrome_common_service_process_sources, | 191 sources += rebase_path(gypi_values.chrome_common_service_process_sources, |
| 189 ".", | 192 ".", |
| 190 "//chrome") | 193 "//chrome") |
| 191 } | 194 } |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 ":constants", | 384 ":constants", |
| 382 "//base", | 385 "//base", |
| 383 ] | 386 ] |
| 384 } | 387 } |
| 385 | 388 |
| 386 mojom("mojo_bindings") { | 389 mojom("mojo_bindings") { |
| 387 sources = [ | 390 sources = [ |
| 388 "resource_usage_reporter.mojom", | 391 "resource_usage_reporter.mojom", |
| 389 ] | 392 ] |
| 390 } | 393 } |
| OLD | NEW |