| 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 | 6 |
| 7 gypi_values = exec_script( | 7 gypi_values = exec_script( |
| 8 "//build/gypi_to_gn.py", | 8 "//build/gypi_to_gn.py", |
| 9 [ rebase_path("../chrome_common.gypi") ], | 9 [ rebase_path("../chrome_common.gypi") ], |
| 10 "scope", | 10 "scope", |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 "//chrome/installer/util", | 55 "//chrome/installer/util", |
| 56 "//components/cloud_devices/common", | 56 "//components/cloud_devices/common", |
| 57 "//components/content_settings/core/common", | 57 "//components/content_settings/core/common", |
| 58 "//components/json_schema", | 58 "//components/json_schema", |
| 59 "//components/metrics", | 59 "//components/metrics", |
| 60 "//components/policy:policy_component_common", | 60 "//components/policy:policy_component_common", |
| 61 "//components/translate/core/common", | 61 "//components/translate/core/common", |
| 62 "//components/variations", | 62 "//components/variations", |
| 63 "//content/public/common", | 63 "//content/public/common", |
| 64 "//crypto", | 64 "//crypto", |
| 65 "//extensions:extensions_resources", | 65 "//extensions/common:common_constants", |
| 66 "//extensions/strings", | |
| 67 "//media/cast:net", | 66 "//media/cast:net", |
| 68 "//net", | 67 "//net", |
| 69 "//skia", | 68 "//skia", |
| 70 "//third_party/icu", | 69 "//third_party/icu", |
| 71 "//third_party/libxml", | 70 "//third_party/libxml", |
| 72 "//third_party/sqlite", | 71 "//third_party/sqlite", |
| 73 "//third_party/zlib:zip", | 72 "//third_party/zlib:zip", |
| 74 "//ui/resources:resources", | 73 "//ui/resources:resources", |
| 75 "//url", | 74 "//url", |
| 76 ] | 75 ] |
| (...skipping 22 matching lines...) Expand all Loading... |
| 99 if (enable_extensions) { | 98 if (enable_extensions) { |
| 100 sources += rebase_path( | 99 sources += rebase_path( |
| 101 gypi_values.chrome_common_extensions_sources, | 100 gypi_values.chrome_common_extensions_sources, |
| 102 ".", "//chrome") | 101 ".", "//chrome") |
| 103 deps += [ | 102 deps += [ |
| 104 "//device/bluetooth", # TODO(thestig) Still needed? Not in gyp version. | 103 "//device/bluetooth", # TODO(thestig) Still needed? Not in gyp version. |
| 105 "//device/usb", | 104 "//device/usb", |
| 106 "//chrome/common/extensions/api", | 105 "//chrome/common/extensions/api", |
| 107 "//extensions/common", | 106 "//extensions/common", |
| 108 "//extensions/common/api", | 107 "//extensions/common/api", |
| 108 "//extensions:extensions_resources", |
| 109 "//extensions/strings", |
| 109 ] | 110 ] |
| 110 } | 111 } |
| 111 | 112 |
| 112 if (is_win || is_mac) { | 113 if (is_win || is_mac) { |
| 113 sources += rebase_path( | 114 sources += rebase_path( |
| 114 gypi_values.chrome_common_win_mac_sources, | 115 gypi_values.chrome_common_win_mac_sources, |
| 115 ".", "//chrome") | 116 ".", "//chrome") |
| 116 if (use_openssl) { | 117 if (use_openssl) { |
| 117 sources -= [ | 118 sources -= [ |
| 118 "extensions/api/networking_private/networking_private_crypto_nss.cc", | 119 "extensions/api/networking_private/networking_private_crypto_nss.cc", |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 #'../components/nacl.gyp:nacl_switches', TODO(GYP) | 282 #'../components/nacl.gyp:nacl_switches', TODO(GYP) |
| 282 ] | 283 ] |
| 283 } | 284 } |
| 284 } | 285 } |
| 285 | 286 |
| 286 source_set("test_support") { | 287 source_set("test_support") { |
| 287 testonly = true | 288 testonly = true |
| 288 visibility = [ "//chrome/test:test_support" ] | 289 visibility = [ "//chrome/test:test_support" ] |
| 289 | 290 |
| 290 sources = [ | 291 sources = [ |
| 291 "extensions/extension_test_util.cc", | |
| 292 "extensions/extension_test_util.h", | |
| 293 ] | 292 ] |
| 294 | 293 |
| 295 deps = [ | 294 deps = [ |
| 296 ":common", | 295 ":common", |
| 297 "//base", | 296 "//base", |
| 298 "//testing/gtest", | 297 "//testing/gtest", |
| 299 ] | 298 ] |
| 300 | 299 |
| 301 if (is_win || is_mac) { | 300 if (is_win || is_mac) { |
| 302 sources += [ | 301 sources += [ |
| 303 "media_galleries/picasa_test_util.cc", | 302 "media_galleries/picasa_test_util.cc", |
| 304 "media_galleries/picasa_test_util.h", | 303 "media_galleries/picasa_test_util.h", |
| 305 "media_galleries/pmp_test_util.cc", | 304 "media_galleries/pmp_test_util.cc", |
| 306 "media_galleries/pmp_test_util.h", | 305 "media_galleries/pmp_test_util.h", |
| 307 ] | 306 ] |
| 308 } | 307 } |
| 309 | 308 |
| 309 if (enable_extensions) { |
| 310 sources += [ |
| 311 "extensions/extension_test_util.cc", |
| 312 "extensions/extension_test_util.h", |
| 313 ] |
| 314 } |
| 315 |
| 310 } | 316 } |
| OLD | NEW |