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

Side by Side Diff: components/domain_reliability/BUILD.gn

Issue 704363002: XXX test gn format everything (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years 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 | « components/dom_distiller/content/BUILD.gn ('k') | components/enhanced_bookmarks/BUILD.gn » ('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 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 # Paths to the JSON files are kind of gross. They're stored in the gypi 5 # Paths to the JSON files are kind of gross. They're stored in the gypi
6 # relative to //components, since that's the working directory gyp seems 6 # relative to //components, since that's the working directory gyp seems
7 # to use for all of the components. When we depend on them here, we need 7 # to use for all of the components. When we depend on them here, we need
8 # to remove the leading domain_reliability, since *our* working directory 8 # to remove the leading domain_reliability, since *our* working directory
9 # is one level deeper. When we call bake_in_configs.py, we need to give 9 # is one level deeper. When we call bake_in_configs.py, we need to give
10 # it a properly-rebased path to //components so it can properly join the 10 # it a properly-rebased path to //components so it can properly join the
11 # paths relative to that and find the JSON files. 11 # paths relative to that and find the JSON files.
12 12
13 baked_in_configs_gypi = exec_script( 13 baked_in_configs_gypi = exec_script("//build/gypi_to_gn.py",
14 "//build/gypi_to_gn.py", 14 [ rebase_path("baked_in_configs.gypi") ],
15 [ rebase_path("baked_in_configs.gypi") ], 15 "scope",
16 "scope", 16 [ "baked_in_configs.gypi" ])
17 [ "baked_in_configs.gypi" ]) 17 baked_in_configs =
18 baked_in_configs = rebase_path( 18 rebase_path(baked_in_configs_gypi.baked_in_configs, "domain_reliability")
19 baked_in_configs_gypi.baked_in_configs,
20 "domain_reliability")
21 19
22 action("bake_in_configs") { 20 action("bake_in_configs") {
23 visibility = [ ":*" ] 21 visibility = [ ":*" ]
24 script = "bake_in_configs.py" 22 script = "bake_in_configs.py"
25 23
26 inputs = baked_in_configs 24 inputs = baked_in_configs
27 outputs = [ "$target_gen_dir/baked_in_configs.cc" ] 25 outputs = [ "$target_gen_dir/baked_in_configs.cc" ]
28 26
29 # The actual list of JSON files will overflow the command line length limit 27 # The actual list of JSON files will overflow the command line length limit
30 # on Windows, so pass the name of the .gypi file and bake_in_configs.py will 28 # on Windows, so pass the name of the .gypi file and bake_in_configs.py will
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 ] 85 ]
88 86
89 deps = [ 87 deps = [
90 ":domain_reliability", 88 ":domain_reliability",
91 "//base", 89 "//base",
92 "//base/test:test_support", 90 "//base/test:test_support",
93 "//net:test_support", 91 "//net:test_support",
94 "//testing/gtest", 92 "//testing/gtest",
95 ] 93 ]
96 } 94 }
OLDNEW
« no previous file with comments | « components/dom_distiller/content/BUILD.gn ('k') | components/enhanced_bookmarks/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698