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("//build/gypi_to_gn.py", | 9 gypi_values = exec_script("//build/gypi_to_gn.py", |
10 [ rebase_path("../../chrome_browser_ui.gypi") ], | 10 [ rebase_path("../../chrome_browser_ui.gypi") ], |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 defines += [ "CHROME_BUILD_ID=" + android_chrome_build_id ] | 329 defines += [ "CHROME_BUILD_ID=" + android_chrome_build_id ] |
330 } else { # Non-Android. | 330 } else { # Non-Android. |
331 sources += rebase_path(gypi_values.chrome_browser_ui_non_android_sources, | 331 sources += rebase_path(gypi_values.chrome_browser_ui_non_android_sources, |
332 ".", | 332 ".", |
333 "//chrome") | 333 "//chrome") |
334 } | 334 } |
335 | 335 |
336 if (is_mac) { | 336 if (is_mac) { |
337 sources += | 337 sources += |
338 rebase_path(gypi_values.chrome_browser_ui_mac_sources, ".", "//chrome") | 338 rebase_path(gypi_values.chrome_browser_ui_mac_sources, ".", "//chrome") |
339 sources -= [ | |
340 # Mac has its own way of drawing tabs. | |
341 "tabs/tab_resources.cc", | |
342 "tabs/tab_resources.h", | |
343 ] | |
344 deps += [ | 339 deps += [ |
345 "//third_party/google_toolbox_for_mac", | 340 "//third_party/google_toolbox_for_mac", |
346 ":generate_localizer", | 341 ":generate_localizer", |
347 | 342 |
348 #'../third_party/apple_sample_code/apple_sample_code.gyp:apple_sample_code
', TODO(GYP) | 343 #'../third_party/apple_sample_code/apple_sample_code.gyp:apple_sample_code
', TODO(GYP) |
349 #'../third_party/molokocacao/molokocacao.gyp:molokocacao', TODO(GYP) | 344 #'../third_party/molokocacao/molokocacao.gyp:molokocacao', TODO(GYP) |
350 #'../third_party/mozilla/mozilla.gyp:mozilla', TODO(GYP) | 345 #'../third_party/mozilla/mozilla.gyp:mozilla', TODO(GYP) |
351 ] | 346 ] |
352 include_dirs = [ "$target_gen_dir" ] | 347 include_dirs = [ "$target_gen_dir" ] |
353 libs += [ "Quartz.framework" ] | 348 libs += [ "Quartz.framework" ] |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
527 "//chrome/browser", | 522 "//chrome/browser", |
528 "//content/public/browser", | 523 "//content/public/browser", |
529 "//content/public/common", | 524 "//content/public/common", |
530 "//content/test:test_support", | 525 "//content/test:test_support", |
531 "//net:test_support", | 526 "//net:test_support", |
532 "//skia", | 527 "//skia", |
533 "//testing/gtest", | 528 "//testing/gtest", |
534 "//ui/base", | 529 "//ui/base", |
535 ] | 530 ] |
536 } | 531 } |
OLD | NEW |