| 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 | 8 |
| 8 gypi_values = exec_script("//build/gypi_to_gn.py", | 9 gypi_values = exec_script("//build/gypi_to_gn.py", |
| 9 [ rebase_path("../chrome_common.gypi") ], | 10 [ rebase_path("../chrome_common.gypi") ], |
| 10 "scope", | 11 "scope", |
| 11 [ "../chrome_common.gypi" ]) | 12 [ "../chrome_common.gypi" ]) |
| 12 | 13 |
| 13 # GYP version: chrome/chrome_resources.gyp:chrome_resources | 14 # GYP version: chrome/chrome_resources.gyp:chrome_resources |
| 14 # (generate_common_resources action) | 15 # (generate_common_resources action) |
| 15 grit("resources") { | 16 grit("resources") { |
| 16 source = "common_resources.grd" | 17 source = "common_resources.grd" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 44 "//build/config:precompiled_headers", | 45 "//build/config:precompiled_headers", |
| 45 "//build/config/compiler:wexit_time_destructors", | 46 "//build/config/compiler:wexit_time_destructors", |
| 46 ] | 47 ] |
| 47 | 48 |
| 48 public_deps = [ | 49 public_deps = [ |
| 49 "//chrome/common:constants", | 50 "//chrome/common:constants", |
| 50 "//chrome/common/net", | 51 "//chrome/common/net", |
| 51 "//chrome/common/safe_browsing:proto", | 52 "//chrome/common/safe_browsing:proto", |
| 52 ] | 53 ] |
| 53 deps = [ | 54 deps = [ |
| 54 ":version", | |
| 55 "//base:base", | 55 "//base:base", |
| 56 "//base:i18n", | 56 "//base:i18n", |
| 57 "//base:prefs", | 57 "//base:prefs", |
| 58 "//base:base_static", | 58 "//base:base_static", |
| 59 "//chrome:resources", | 59 "//chrome:resources", |
| 60 "//chrome:strings", | 60 "//chrome:strings", |
| 61 "//chrome/app/theme:theme_resources", | 61 "//chrome/app/theme:theme_resources", |
| 62 "//chrome/common/variations:fieldtrial_testing_config", | 62 "//chrome/common/variations:fieldtrial_testing_config", |
| 63 "//chrome/installer/util", | 63 "//chrome/installer/util", |
| 64 "//components/cloud_devices/common", | 64 "//components/cloud_devices/common", |
| 65 "//components/component_updater", | 65 "//components/component_updater", |
| 66 "//components/content_settings/core/common", | 66 "//components/content_settings/core/common", |
| 67 "//components/favicon_base", | 67 "//components/favicon_base", |
| 68 "//components/gcm_driver/common", | 68 "//components/gcm_driver/common", |
| 69 "//components/json_schema", | 69 "//components/json_schema", |
| 70 "//components/metrics", | 70 "//components/metrics", |
| 71 "//components/omnibox/common", | 71 "//components/omnibox/common", |
| 72 "//components/policy:policy_component_common", | 72 "//components/policy:policy_component_common", |
| 73 "//components/translate/core/common", | 73 "//components/translate/core/common", |
| 74 "//components/variations", | 74 "//components/variations", |
| 75 "//components/version_info", |
| 75 "//content/public/common", | 76 "//content/public/common", |
| 76 "//crypto", | 77 "//crypto", |
| 77 "//extensions/common:common_constants", | 78 "//extensions/common:common_constants", |
| 78 "//net", | 79 "//net", |
| 79 "//skia", | 80 "//skia", |
| 80 "//third_party/icu", | 81 "//third_party/icu", |
| 81 "//third_party/zlib:zip", | 82 "//third_party/zlib:zip", |
| 82 "//ui/resources:resources", | 83 "//ui/resources:resources", |
| 83 "//url", | 84 "//url", |
| 84 ] | 85 ] |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 } | 256 } |
| 256 | 257 |
| 257 # This target allows other targets to depend on result_codes.h which is a | 258 # This target allows other targets to depend on result_codes.h which is a |
| 258 # header-only dependency, without bringing in all of content. | 259 # header-only dependency, without bringing in all of content. |
| 259 source_set("result_codes") { | 260 source_set("result_codes") { |
| 260 sources = [ | 261 sources = [ |
| 261 "chrome_result_codes.h", | 262 "chrome_result_codes.h", |
| 262 ] | 263 ] |
| 263 } | 264 } |
| 264 | 265 |
| 265 import("//chrome/version.gni") | |
| 266 process_version("version") { | |
| 267 visibility = [ ":common" ] | |
| 268 template_file = "chrome_version_info_values.h.version" | |
| 269 output = "$target_gen_dir/chrome_version_info_values.h" | |
| 270 } | |
| 271 | |
| 272 process_version("make_chrome_version") { | 266 process_version("make_chrome_version") { |
| 273 template_file = "chrome_version.cc.version" | 267 template_file = "chrome_version.cc.version" |
| 274 output = "$target_gen_dir/chrome_version.cc" | 268 output = "$target_gen_dir/chrome_version.cc" |
| 275 } | 269 } |
| 276 | 270 |
| 277 # GN version: chrome/common_constants.gyp:common_constants | 271 # GN version: chrome/common_constants.gyp:common_constants |
| 278 static_library("constants") { | 272 static_library("constants") { |
| 279 sources = [ | 273 sources = [ |
| 280 "chrome_constants.cc", | 274 "chrome_constants.cc", |
| 281 "chrome_constants.h", | 275 "chrome_constants.h", |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 ":constants", | 353 ":constants", |
| 360 "//base", | 354 "//base", |
| 361 ] | 355 ] |
| 362 } | 356 } |
| 363 | 357 |
| 364 mojom("mojo_bindings") { | 358 mojom("mojo_bindings") { |
| 365 sources = [ | 359 sources = [ |
| 366 "resource_usage_reporter.mojom", | 360 "resource_usage_reporter.mojom", |
| 367 ] | 361 ] |
| 368 } | 362 } |
| OLD | NEW |