| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 | 75 |
| 76 forward_dependent_configs_from = [ | 76 forward_dependent_configs_from = [ |
| 77 "//components/dom_distiller/core", | 77 "//components/dom_distiller/core", |
| 78 "//sync", | 78 "//sync", |
| 79 ] | 79 ] |
| 80 | 80 |
| 81 if (!is_ios) { | 81 if (!is_ios) { |
| 82 sources += rebase_path(gypi_values.chrome_browser_ui_non_ios_sources, | 82 sources += rebase_path(gypi_values.chrome_browser_ui_non_ios_sources, |
| 83 ".", "//chrome") | 83 ".", "//chrome") |
| 84 deps += [ | 84 deps += [ |
| 85 "//chrome/browser/devtools", |
| 85 "//chrome/browser/performance_monitor", | 86 "//chrome/browser/performance_monitor", |
| 86 "//chrome/browser/ui/webui/omnibox:mojo_bindings", | 87 "//chrome/browser/ui/webui/omnibox:mojo_bindings", |
| 87 "//chrome/common/extensions/api:api", | 88 "//chrome/common/extensions/api:api", |
| 89 "//chrome/installer/util", |
| 88 "//components/autofill/content/browser:risk_proto", | 90 "//components/autofill/content/browser:risk_proto", |
| 89 "//device/bluetooth", | 91 "//device/bluetooth", |
| 90 "//device/nfc", | 92 "//device/nfc", |
| 91 "//media", | 93 "//media", |
| 92 "//mojo/system", | 94 "//mojo/system", |
| 93 "//net:net_with_v8", | 95 "//net:net_with_v8", |
| 94 "//third_party/WebKit/public:resources", | 96 "//third_party/WebKit/public:resources", |
| 95 "//third_party/adobe/flash:flapper_version_h", | 97 "//third_party/adobe/flash:flapper_version_h", |
| 96 "//third_party/expat", | 98 "//third_party/expat", |
| 97 "//third_party/hunspell", | 99 "//third_party/hunspell", |
| 98 "//third_party/leveldatabase", | 100 "//third_party/leveldatabase", |
| 99 "//third_party/npapi", | 101 "//third_party/npapi", |
| 100 "//third_party/re2", | 102 "//third_party/re2", |
| 101 "//ui/compositor", | 103 "//ui/compositor", |
| 102 "//ui/surface", | 104 "//ui/surface", |
| 103 "//ui/web_dialogs", | 105 "//ui/web_dialogs", |
| 104 "//v8", | 106 "//v8", |
| 105 "//webkit/browser:storage", | 107 "//webkit/browser:storage", |
| 106 "//webkit/common", | 108 "//webkit/common", |
| 107 "//webkit/common:storage", | 109 "//webkit/common:storage", |
| 108 "//webkit/glue/resources", | 110 "//webkit/glue/resources", |
| 109 #'debugger', TODO(GYP) | |
| 110 #'installer_util', TODO(GYP) | |
| 111 #'../third_party/libjingle/libjingle.gyp:libjingle', TODO(GYP) | 111 #'../third_party/libjingle/libjingle.gyp:libjingle', TODO(GYP) |
| 112 ] | 112 ] |
| 113 # TODO(GYP) | 113 # TODO(GYP) |
| 114 #'defines': [ | 114 #'defines': [ |
| 115 # '<@(nacl_defines)', | 115 # '<@(nacl_defines)', |
| 116 #], | 116 #], |
| 117 #'direct_dependent_settings': { | 117 #'direct_dependent_settings': { |
| 118 # 'defines': [ | 118 # 'defines': [ |
| 119 # '<@(nacl_defines)', | 119 # '<@(nacl_defines)', |
| 120 # ], | 120 # ], |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 ] | 303 ] |
| 304 } else { # non-Mac. | 304 } else { # non-Mac. |
| 305 sources += rebase_path(gypi_values.chrome_browser_ui_non_mac_sources, | 305 sources += rebase_path(gypi_values.chrome_browser_ui_non_mac_sources, |
| 306 ".", "//chrome") | 306 ".", "//chrome") |
| 307 } | 307 } |
| 308 | 308 |
| 309 if (is_win) { | 309 if (is_win) { |
| 310 sources += rebase_path(gypi_values.chrome_browser_ui_win_sources, | 310 sources += rebase_path(gypi_values.chrome_browser_ui_win_sources, |
| 311 ".", "//chrome") | 311 ".", "//chrome") |
| 312 deps += [ | 312 deps += [ |
| 313 "//chrome/browser/installer/util:strings", |
| 313 "//third_party/wtl", | 314 "//third_party/wtl", |
| 314 "//third_party/iaccessible2", | 315 "//third_party/iaccessible2", |
| 315 "//third_party/isimpledom", | 316 "//third_party/isimpledom", |
| 316 "//ui/app_list", | 317 "//ui/app_list", |
| 317 "//ui/views", | 318 "//ui/views", |
| 318 "//ui/views/controls/webview", | 319 "//ui/views/controls/webview", |
| 319 #'installer_util_strings', TODO(GYP) | |
| 320 #'metro_utils', TODO(GYP) | 320 #'metro_utils', TODO(GYP) |
| 321 #'../google_update/google_update.gyp:google_update', TODO(GYP) | 321 #'../google_update/google_update.gyp:google_update', TODO(GYP) |
| 322 ] | 322 ] |
| 323 forward_dependent_configs_from += [ | 323 forward_dependent_configs_from += [ |
| 324 "//ui/views", | 324 "//ui/views", |
| 325 "//ui/views/controls/webview", | 325 "//ui/views/controls/webview", |
| 326 ] | 326 ] |
| 327 } else { # 'OS!="win" | 327 } else { # 'OS!="win" |
| 328 if (toolkit_views) { | 328 if (toolkit_views) { |
| 329 deps += [ | 329 deps += [ |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 script = "//chrome/tools/build/mac/generate_localizer" | 412 script = "//chrome/tools/build/mac/generate_localizer" |
| 413 sources = [ ] | 413 sources = [ ] |
| 414 table_path = "$target_gen_dir/ui_localizer_table.h" | 414 table_path = "$target_gen_dir/ui_localizer_table.h" |
| 415 outputs = [ table_path ] | 415 outputs = [ table_path ] |
| 416 args = [ rebase_path(table_path, root_build_dir) ] + | 416 args = [ rebase_path(table_path, root_build_dir) ] + |
| 417 rebase_path(nib_gypi_values.mac_translated_xibs, | 417 rebase_path(nib_gypi_values.mac_translated_xibs, |
| 418 root_build_dir, | 418 root_build_dir, |
| 419 "//chrome") | 419 "//chrome") |
| 420 } | 420 } |
| 421 } | 421 } |
| OLD | NEW |