| 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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 gypi_values.chrome_browser_basic_safe_browsing_sources, | 307 gypi_values.chrome_browser_basic_safe_browsing_sources, |
| 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" ] | |
| 318 deps += [ | 317 deps += [ |
| 319 "//chrome/common/safe_browsing:proto", | 318 "//chrome/common/safe_browsing:proto", |
| 320 ] | 319 ] |
| 321 } else if (safe_browsing_mode == 2) { | |
| 322 defines += [ "MOBILE_SAFE_BROWSING" ] | |
| 323 } | 320 } |
| 324 } | 321 } |
| 325 | 322 |
| 326 if (is_linux) { | 323 if (is_linux) { |
| 327 configs += [ "//build/config/linux:udev" ] | 324 configs += [ "//build/config/linux:udev" ] |
| 328 deps += [ "//device/media_transfer_protocol" ] | 325 deps += [ "//device/media_transfer_protocol" ] |
| 329 } | 326 } |
| 330 if (is_linux && !is_chromeos) { | 327 if (is_linux && !is_chromeos) { |
| 331 deps += [ "//third_party/speech-dispatcher" ] | 328 deps += [ "//third_party/speech-dispatcher" ] |
| 332 } | 329 } |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 651 # TODO(GYP) write internal action | 648 # TODO(GYP) write internal action |
| 652 if (false) { #if (is_chrome_branded) { | 649 if (false) { #if (is_chrome_branded) { |
| 653 action("chrome_internal_resources_gen") { | 650 action("chrome_internal_resources_gen") { |
| 654 # TODO(GYP) | 651 # TODO(GYP) |
| 655 } | 652 } |
| 656 } else { | 653 } else { |
| 657 group("chrome_internal_resources_gen") { | 654 group("chrome_internal_resources_gen") { |
| 658 # Empty placeholder. | 655 # Empty placeholder. |
| 659 } | 656 } |
| 660 } | 657 } |
| OLD | NEW |