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

Side by Side Diff: base/BUILD.gn

Issue 2227343002: Add Browser Task Scheduler Flags (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adjust DCHECK message Created 4 years, 4 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
« no previous file with comments | « no previous file | base/task_scheduler/switches.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1465 matching lines...) Expand 10 before | Expand all | Expand 10 after
1476 flags = [ "ENABLE_PROFILING=$enable_profiling" ] 1476 flags = [ "ENABLE_PROFILING=$enable_profiling" ]
1477 } 1477 }
1478 1478
1479 # This is the subset of files from base that should not be used with a dynamic 1479 # This is the subset of files from base that should not be used with a dynamic
1480 # library. Note that this library cannot depend on base because base depends on 1480 # library. Note that this library cannot depend on base because base depends on
1481 # base_static. 1481 # base_static.
1482 static_library("base_static") { 1482 static_library("base_static") {
1483 sources = [ 1483 sources = [
1484 "base_switches.cc", 1484 "base_switches.cc",
1485 "base_switches.h", 1485 "base_switches.h",
1486 "task_scheduler/switches.cc",
1487 "task_scheduler/switches.h",
1486 "win/pe_image.cc", 1488 "win/pe_image.cc",
1487 "win/pe_image.h", 1489 "win/pe_image.h",
1488 ] 1490 ]
1489 1491
1490 if (is_win) { 1492 if (is_win) {
1491 # Disable sanitizer coverage in win/pe_image.cc. It is called by the sandbox 1493 # Disable sanitizer coverage in win/pe_image.cc. It is called by the sandbox
1492 # before sanitizer coverage can initialize. http://crbug.com/484711 1494 # before sanitizer coverage can initialize. http://crbug.com/484711
1493 configs -= [ "//build/config/sanitizers:default_sanitizer_flags" ] 1495 configs -= [ "//build/config/sanitizers:default_sanitizer_flags" ]
1494 configs += 1496 configs +=
1495 [ "//build/config/sanitizers:default_sanitizer_flags_but_coverage" ] 1497 [ "//build/config/sanitizers:default_sanitizer_flags_but_coverage" ]
(...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after
2452 2454
2453 # GYP: //base.gyp:base_java_unittest_support 2455 # GYP: //base.gyp:base_java_unittest_support
2454 android_library("base_java_unittest_support") { 2456 android_library("base_java_unittest_support") {
2455 deps = [ 2457 deps = [
2456 ":base_java", 2458 ":base_java",
2457 ] 2459 ]
2458 java_files = 2460 java_files =
2459 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] 2461 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ]
2460 } 2462 }
2461 } 2463 }
OLDNEW
« no previous file with comments | « no previous file | base/task_scheduler/switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698