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

Side by Side Diff: sync/BUILD.gn

Issue 1961473003: [Mac/GN] Set up the component build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/features.gni") 5 import("//build/config/features.gni")
6 import("//sync/protocol/protocol_sources.gni") 6 import("//sync/protocol/protocol_sources.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 component("sync") { 9 component("sync") {
10 public_deps = [ 10 public_deps = [
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 ] 454 ]
455 } 455 }
456 456
457 if (is_chromeos) { 457 if (is_chromeos) {
458 # Required by get_session_name.cc on Chrome OS. 458 # Required by get_session_name.cc on Chrome OS.
459 deps += [ "//chromeos" ] 459 deps += [ "//chromeos" ]
460 } 460 }
461 461
462 if (is_mac) { 462 if (is_mac) {
463 libs = [ 463 libs = [
464 # Required by get_session_name_mac.mm on Mac. 464 "CoreFoundation.framework",
465 "SystemConfiguration.framework", 465 "SystemConfiguration.framework", # Required by get_session_name_mac.mm.
466 ] 466 ]
467 } 467 }
468 468
469 defines = [ "SYNC_IMPLEMENTATION" ] 469 defines = [ "SYNC_IMPLEMENTATION" ]
470 configs += [ "//build/config/compiler:wexit_time_destructors" ] 470 configs += [ "//build/config/compiler:wexit_time_destructors" ]
471 } 471 }
472 472
473 # GYP version: sync/sync_tests.gypi:test_support_sync_core 473 # GYP version: sync/sync_tests.gypi:test_support_sync_core
474 static_library("test_support_sync_core") { 474 static_library("test_support_sync_core") {
475 testonly = true 475 testonly = true
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 ":fake_server_jni", 887 ":fake_server_jni",
888 ":sync_core", 888 ":sync_core",
889 ":test_support_sync_fake_server", 889 ":test_support_sync_fake_server",
890 "//base", 890 "//base",
891 "//sync/protocol:protocol", 891 "//sync/protocol:protocol",
892 "//testing/gtest", 892 "//testing/gtest",
893 "//url:url", 893 "//url:url",
894 ] 894 ]
895 } 895 }
896 } 896 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698