| 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 | 8 |
| 9 gypi_values = exec_script( | 9 gypi_values = exec_script( |
| 10 "//build/gypi_to_gn.py", | 10 "//build/gypi_to_gn.py", |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 sources += rebase_path(gypi_values.chrome_browser_ui_policy_sources, | 156 sources += rebase_path(gypi_values.chrome_browser_ui_policy_sources, |
| 157 ".", "//chrome") | 157 ".", "//chrome") |
| 158 deps += [ "//components/policy" ] | 158 deps += [ "//components/policy" ] |
| 159 } | 159 } |
| 160 if (enable_plugins) { | 160 if (enable_plugins) { |
| 161 sources += rebase_path(gypi_values.chrome_browser_ui_plugin_sources, | 161 sources += rebase_path(gypi_values.chrome_browser_ui_plugin_sources, |
| 162 ".", "//chrome") | 162 ".", "//chrome") |
| 163 deps += [ "//ppapi:ppapi_ipc" ] | 163 deps += [ "//ppapi:ppapi_ipc" ] |
| 164 } | 164 } |
| 165 if (safe_browsing_mode == 1) { | 165 if (safe_browsing_mode == 1) { |
| 166 defines += [ "FULL_SAFE_BROWSING" ] | |
| 167 deps += [ | 166 deps += [ |
| 168 "//chrome/browser/safe_browsing:chunk_proto", | 167 "//chrome/browser/safe_browsing:chunk_proto", |
| 169 "//chrome/common/safe_browsing:proto", | 168 "//chrome/common/safe_browsing:proto", |
| 170 "//chrome/browser/safe_browsing:report_proto", | 169 "//chrome/browser/safe_browsing:report_proto", |
| 171 ] | 170 ] |
| 172 } | 171 } |
| 173 if (is_chromeos) { | 172 if (is_chromeos) { |
| 174 sources += rebase_path(gypi_values.chrome_browser_ui_chromeos_sources, | 173 sources += rebase_path(gypi_values.chrome_browser_ui_chromeos_sources, |
| 175 ".", "//chrome") | 174 ".", "//chrome") |
| 176 deps += [ | 175 deps += [ |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 script = "//chrome/tools/build/mac/generate_localizer" | 414 script = "//chrome/tools/build/mac/generate_localizer" |
| 416 sources = [ ] | 415 sources = [ ] |
| 417 table_path = "$target_gen_dir/ui_localizer_table.h" | 416 table_path = "$target_gen_dir/ui_localizer_table.h" |
| 418 outputs = [ table_path ] | 417 outputs = [ table_path ] |
| 419 args = [ rebase_path(table_path, root_build_dir) ] + | 418 args = [ rebase_path(table_path, root_build_dir) ] + |
| 420 rebase_path(nib_gypi_values.mac_translated_xibs, | 419 rebase_path(nib_gypi_values.mac_translated_xibs, |
| 421 root_build_dir, | 420 root_build_dir, |
| 422 "//chrome") | 421 "//chrome") |
| 423 } | 422 } |
| 424 } | 423 } |
| OLD | NEW |