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

Side by Side Diff: base/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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 # HOW TO WRITE CONDITIONALS IN THIS FILE 5 # HOW TO WRITE CONDITIONALS IN THIS FILE
6 # ====================================== 6 # ======================================
7 # 7 #
8 # In many other places, one would write a conditional that expresses all the 8 # In many other places, one would write a conditional that expresses all the
9 # cases when a source file is used or unused, and then either add or subtract 9 # cases when a source file is used or unused, and then either add or subtract
10 # it from the sources list in that case 10 # it from the sources list in that case
(...skipping 1510 matching lines...) Expand 10 before | Expand all | Expand 10 after
1521 "//base/third_party/dynamic_annotations", 1521 "//base/third_party/dynamic_annotations",
1522 ] 1522 ]
1523 1523
1524 if (!is_debug) { 1524 if (!is_debug) {
1525 configs -= [ "//build/config/compiler:default_optimization" ] 1525 configs -= [ "//build/config/compiler:default_optimization" ]
1526 configs += [ "//build/config/compiler:optimize_max" ] 1526 configs += [ "//build/config/compiler:optimize_max" ]
1527 } 1527 }
1528 1528
1529 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 1529 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1530 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 1530 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
1531
1532 if (is_mac) {
1533 libs = [ "CoreFoundation.framework" ]
1534 }
1531 } 1535 }
1532 1536
1533 test("base_perftests") { 1537 test("base_perftests") {
1534 sources = [ 1538 sources = [
1535 "message_loop/message_pump_perftest.cc", 1539 "message_loop/message_pump_perftest.cc",
1536 1540
1537 # "test/run_all_unittests.cc", 1541 # "test/run_all_unittests.cc",
1538 "threading/thread_perftest.cc", 1542 "threading/thread_perftest.cc",
1539 ] 1543 ]
1540 deps = [ 1544 deps = [
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after
2361 2365
2362 # GYP: //base.gyp:base_java_unittest_support 2366 # GYP: //base.gyp:base_java_unittest_support
2363 android_library("base_java_unittest_support") { 2367 android_library("base_java_unittest_support") {
2364 deps = [ 2368 deps = [
2365 ":base_java", 2369 ":base_java",
2366 ] 2370 ]
2367 java_files = 2371 java_files =
2368 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] 2372 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ]
2369 } 2373 }
2370 } 2374 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698