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

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

Issue 2384953003: Android: Avoid linking with --gc-sections. (Closed)
Patch Set: Created 4 years, 2 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/chromecast_build.gni") 5 import("//build/config/chromecast_build.gni")
6 import("//build/config/crypto.gni") 6 import("//build/config/crypto.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//build/split_static_library.gni") 9 import("//build/split_static_library.gni")
10 import("//chrome/common/features.gni") 10 import("//chrome/common/features.gni")
(...skipping 3341 matching lines...) Expand 10 before | Expand all | Expand 10 after
3352 3352
3353 # In GYP this is part of test_support_common. 3353 # In GYP this is part of test_support_common.
3354 static_library("test_support") { 3354 static_library("test_support") {
3355 testonly = true 3355 testonly = true
3356 3356
3357 sources = [ 3357 sources = [
3358 "cocoa/cocoa_test_helper.h", 3358 "cocoa/cocoa_test_helper.h",
3359 "cocoa/cocoa_test_helper.mm", 3359 "cocoa/cocoa_test_helper.mm",
3360 "cocoa/run_loop_testing.h", 3360 "cocoa/run_loop_testing.h",
3361 "cocoa/run_loop_testing.mm", 3361 "cocoa/run_loop_testing.mm",
3362 "exclusive_access/fullscreen_controller_state_test.cc",
3363 "exclusive_access/fullscreen_controller_state_test.h",
3364 "exclusive_access/fullscreen_controller_state_tests.h",
3365 "exclusive_access/fullscreen_controller_test.cc",
3366 "exclusive_access/fullscreen_controller_test.h",
3367 "find_bar/find_bar_host_unittest_util.h", 3362 "find_bar/find_bar_host_unittest_util.h",
3368 "login/login_handler_test_utils.cc", 3363 "login/login_handler_test_utils.cc",
3369 "login/login_handler_test_utils.h", 3364 "login/login_handler_test_utils.h",
3370 "test/test_confirm_bubble_model.cc",
3371 "test/test_confirm_bubble_model.h",
3372 "toolbar/test_toolbar_action_view_controller.cc", 3365 "toolbar/test_toolbar_action_view_controller.cc",
3373 "toolbar/test_toolbar_action_view_controller.h", 3366 "toolbar/test_toolbar_action_view_controller.h",
3374 ] 3367 ]
3375 public_deps = [ 3368 public_deps = [
3376 ":ui", 3369 ":ui",
3377 ] 3370 ]
3378 deps = [ 3371 deps = [
3379 "//chrome/app/theme:theme_resources", 3372 "//chrome/app/theme:theme_resources",
3380 "//chrome/browser", 3373 "//chrome/browser",
3381 "//chrome/browser/devtools", 3374 "//chrome/browser/devtools",
(...skipping 21 matching lines...) Expand all
3403 if (!is_mac) { 3396 if (!is_mac) {
3404 deps += [ "//ui/aura" ] 3397 deps += [ "//ui/aura" ]
3405 } 3398 }
3406 } else { 3399 } else {
3407 sources += [ 3400 sources += [
3408 "cocoa/extensions/browser_action_test_util_mac.mm", 3401 "cocoa/extensions/browser_action_test_util_mac.mm",
3409 "cocoa/find_bar/find_bar_host_unittest_util_cocoa.mm", 3402 "cocoa/find_bar/find_bar_host_unittest_util_cocoa.mm",
3410 ] 3403 ]
3411 } 3404 }
3412 3405
3413 if (is_android) { 3406 if (!is_android) {
3414 sources -= [ 3407 sources += [
3415 "exclusive_access/fullscreen_controller_state_test.cc", 3408 "exclusive_access/fullscreen_controller_state_test.cc",
3416 "exclusive_access/fullscreen_controller_state_test.h", 3409 "exclusive_access/fullscreen_controller_state_test.h",
3417 "exclusive_access/fullscreen_controller_state_tests.h", 3410 "exclusive_access/fullscreen_controller_state_tests.h",
3418 "exclusive_access/fullscreen_controller_test.cc", 3411 "exclusive_access/fullscreen_controller_test.cc",
3419 "exclusive_access/fullscreen_controller_test.h", 3412 "exclusive_access/fullscreen_controller_test.h",
3420 "test/test_confirm_bubble_model.cc",
3421 "test/test_confirm_bubble_model.h",
3422 ]
3423 } else {
3424 sources += [
3425 "passwords/manage_passwords_ui_controller_mock.cc", 3413 "passwords/manage_passwords_ui_controller_mock.cc",
3426 "passwords/manage_passwords_ui_controller_mock.h", 3414 "passwords/manage_passwords_ui_controller_mock.h",
3427 "passwords/password_dialog_controller_mock.cc", 3415 "passwords/password_dialog_controller_mock.cc",
3428 "passwords/password_dialog_controller_mock.h", 3416 "passwords/password_dialog_controller_mock.h",
3429 "passwords/passwords_model_delegate_mock.cc", 3417 "passwords/passwords_model_delegate_mock.cc",
3430 "passwords/passwords_model_delegate_mock.h", 3418 "passwords/passwords_model_delegate_mock.h",
3419 "test/test_confirm_bubble_model.cc",
3420 "test/test_confirm_bubble_model.h",
3431 ] 3421 ]
3432 deps += [ "//chrome/test:test_support_ui" ] 3422 deps += [ "//chrome/test:test_support_ui" ]
3433 } 3423 }
3434 3424
3435 if (enable_extensions) { 3425 if (enable_extensions) {
3436 deps += [ "//extensions/browser" ] 3426 deps += [ "//extensions/browser" ]
3437 } 3427 }
3438 } 3428 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698