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

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

Issue 1310513006: Adding components to dependencies on iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing Created 5 years, 3 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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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("//chrome/version.gni") 5 import("//chrome/version.gni")
6 6
7 if (is_ios) { 7 if (is_ios) {
8 declare_args() { 8 declare_args() {
9 # Path to the file used to override the version PATH level on iOS. 9 # Path to the file used to override the version PATH level on iOS.
10 # Default to ios/build/util/VERSION. 10 # Default to ios/build/util/VERSION.
(...skipping 19 matching lines...) Expand all
30 visibility = [ ":version_info" ] 30 visibility = [ ":version_info" ]
31 template_file = "version_info_values.h.version" 31 template_file = "version_info_values.h.version"
32 output = "$target_gen_dir/version_info_values.h" 32 output = "$target_gen_dir/version_info_values.h"
33 33
34 if (is_ios) { 34 if (is_ios) {
35 # iOS overrides PATCH level of the version with the value from the file 35 # iOS overrides PATCH level of the version with the value from the file
36 # named by ios_version_path, however, this needs to be the last argument 36 # named by ios_version_path, however, this needs to be the last argument
37 # to the version.py script, so it cannot be added to the sources variable 37 # to the version.py script, so it cannot be added to the sources variable
38 # and instead need to be managed manually. 38 # and instead need to be managed manually.
39 39
40 inputs += [ ios_extra_version_path ] 40 inputs = [
41 ios_extra_version_path,
42 ]
41 extra_args = [ 43 extra_args = [
42 "-f", 44 "-f",
43 rebase_path(ios_extra_version_path, root_build_dir), 45 rebase_path(ios_extra_version_path, root_build_dir),
44 ] 46 ]
45 } 47 }
46 } 48 }
OLDNEW
« components/favicon/core/BUILD.gn ('K') | « components/signin/core/browser/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698