| 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("//build/config/crypto.gni") | 5 import("//build/config/crypto.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 import("//tools/grit/grit_rule.gni") | 8 import("//tools/grit/grit_rule.gni") |
| 9 | 9 |
| 10 about_credits_file = "$target_gen_dir/about_credits.html" | 10 about_credits_file = "$target_gen_dir/about_credits.html" |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 ".", "//chrome") | 308 ".", "//chrome") |
| 309 deps += [ | 309 deps += [ |
| 310 "//chrome/browser/safe_browsing:chunk_proto", | 310 "//chrome/browser/safe_browsing:chunk_proto", |
| 311 "//chrome/browser/safe_browsing:report_proto", | 311 "//chrome/browser/safe_browsing:report_proto", |
| 312 ] | 312 ] |
| 313 if (safe_browsing_mode == 1) { | 313 if (safe_browsing_mode == 1) { |
| 314 sources += rebase_path( | 314 sources += rebase_path( |
| 315 gypi_values.chrome_browser_full_safe_browsing_sources, | 315 gypi_values.chrome_browser_full_safe_browsing_sources, |
| 316 ".", "//chrome") | 316 ".", "//chrome") |
| 317 defines += [ "FULL_SAFE_BROWSING" ] | 317 defines += [ "FULL_SAFE_BROWSING" ] |
| 318 defines += [ "SAFE_BROWSING_CSD" ] |
| 319 defines += [ "SAFE_BROWSING_DATABASE" ] |
| 320 defines += [ "SAFE_BROWSING_SERVICE" ] |
| 318 deps += [ | 321 deps += [ |
| 319 "//chrome/common/safe_browsing:proto", | 322 "//chrome/common/safe_browsing:proto", |
| 320 ] | 323 ] |
| 321 } else if (safe_browsing_mode == 2) { | 324 } else if (safe_browsing_mode == 2) { |
| 322 defines += [ "MOBILE_SAFE_BROWSING" ] | 325 defines += [ "MOBILE_SAFE_BROWSING" ] |
| 326 defines += [ "SAFE_BROWSING_SERVICE" ] |
| 323 } | 327 } |
| 324 } | 328 } |
| 325 | 329 |
| 326 if (is_linux) { | 330 if (is_linux) { |
| 327 configs += [ "//build/config/linux:udev" ] | 331 configs += [ "//build/config/linux:udev" ] |
| 328 deps += [ "//device/media_transfer_protocol" ] | 332 deps += [ "//device/media_transfer_protocol" ] |
| 329 } | 333 } |
| 330 if (is_linux && !is_chromeos) { | 334 if (is_linux && !is_chromeos) { |
| 331 deps += [ "//third_party/speech-dispatcher" ] | 335 deps += [ "//third_party/speech-dispatcher" ] |
| 332 } | 336 } |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 651 # TODO(GYP) write internal action | 655 # TODO(GYP) write internal action |
| 652 if (false) { #if (is_chrome_branded) { | 656 if (false) { #if (is_chrome_branded) { |
| 653 action("chrome_internal_resources_gen") { | 657 action("chrome_internal_resources_gen") { |
| 654 # TODO(GYP) | 658 # TODO(GYP) |
| 655 } | 659 } |
| 656 } else { | 660 } else { |
| 657 group("chrome_internal_resources_gen") { | 661 group("chrome_internal_resources_gen") { |
| 658 # Empty placeholder. | 662 # Empty placeholder. |
| 659 } | 663 } |
| 660 } | 664 } |
| OLD | NEW |