Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Side by Side Diff: chrome/browser/ui/BUILD.gn

Issue 543663002: Componentize sad_tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 ] 270 ]
271 deps -= [ 271 deps -= [
272 "//chrome/browser/ui/views", 272 "//chrome/browser/ui/views",
273 "//components/feedback/proto", 273 "//components/feedback/proto",
274 "//third_party/libusb", 274 "//third_party/libusb",
275 "//ui/events", 275 "//ui/events",
276 ] 276 ]
277 sources += rebase_path(gypi_values.chrome_browser_ui_android_sources, 277 sources += rebase_path(gypi_values.chrome_browser_ui_android_sources,
278 ".", "//chrome") 278 ".", "//chrome")
279 } else { # Non-Android. 279 } else { # Non-Android.
280 deps += [
281 "//components/sad_tab",
282 ]
280 sources += rebase_path(gypi_values.chrome_browser_ui_non_android_sources, 283 sources += rebase_path(gypi_values.chrome_browser_ui_non_android_sources,
281 ".", "//chrome") 284 ".", "//chrome")
282 } 285 }
283 286
284 if (is_mac) { 287 if (is_mac) {
285 sources += rebase_path(gypi_values.chrome_browser_ui_mac_sources, 288 sources += rebase_path(gypi_values.chrome_browser_ui_mac_sources,
286 ".", "//chrome") 289 ".", "//chrome")
287 sources -= [ 290 sources -= [
288 # Mac has its own way of drawing tabs. 291 # Mac has its own way of drawing tabs.
289 "tabs/tab_resources.cc", 292 "tabs/tab_resources.cc",
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 script = "//chrome/tools/build/mac/generate_localizer" 415 script = "//chrome/tools/build/mac/generate_localizer"
413 sources = [ ] 416 sources = [ ]
414 table_path = "$target_gen_dir/ui_localizer_table.h" 417 table_path = "$target_gen_dir/ui_localizer_table.h"
415 outputs = [ table_path ] 418 outputs = [ table_path ]
416 args = [ rebase_path(table_path, root_build_dir) ] + 419 args = [ rebase_path(table_path, root_build_dir) ] +
417 rebase_path(nib_gypi_values.mac_translated_xibs, 420 rebase_path(nib_gypi_values.mac_translated_xibs,
418 root_build_dir, 421 root_build_dir,
419 "//chrome") 422 "//chrome")
420 } 423 }
421 } 424 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698