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