| OLD | NEW |
| 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/process_version_rc_template.gni") | 5 import("//chrome/version.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 assert(is_win) | 8 assert(is_win) |
| 9 | 9 |
| 10 shared_library("gcapi") { | 10 shared_library("gcapi") { |
| 11 output_name = "gcapi_dll" | 11 output_name = "gcapi_dll" |
| 12 | 12 |
| 13 sources = [ | 13 sources = [ |
| 14 "gcapi.def", | 14 "gcapi.def", |
| 15 "gcapi_dll.cc", | 15 "gcapi_dll.cc", |
| (...skipping 11 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 copy("copy_gcapi_header") { | 28 copy("copy_gcapi_header") { |
| 29 sources = [ | 29 sources = [ |
| 30 "gcapi.h", | 30 "gcapi.h", |
| 31 ] | 31 ] |
| 32 outputs = [ | 32 outputs = [ |
| 33 "$root_out_dir/{{source_file_part}}", | 33 "$root_out_dir/{{source_file_part}}", |
| 34 ] | 34 ] |
| 35 } | 35 } |
| 36 | 36 |
| 37 process_version_rc_template("gcapi_dll_version") { | 37 process_version("gcapi_dll_version") { |
| 38 template_file = "gcapi_dll_version.rc.version" | 38 template_file = "gcapi_dll_version.rc.version" |
| 39 output = "$target_gen_dir/gcapi_dll_version.rc" | 39 output = "$target_gen_dir/gcapi_dll_version.rc" |
| 40 } | 40 } |
| 41 | 41 |
| 42 source_set("lib") { | 42 source_set("lib") { |
| 43 sources = [ | 43 sources = [ |
| 44 "gcapi.cc", | 44 "gcapi.cc", |
| 45 "gcapi.h", | 45 "gcapi.h", |
| 46 "gcapi_omaha_experiment.cc", | 46 "gcapi_omaha_experiment.cc", |
| 47 "gcapi_omaha_experiment.h", | 47 "gcapi_omaha_experiment.h", |
| (...skipping 28 matching lines...) Expand all Loading... |
| 76 "//chrome/install_static:install_static_util", | 76 "//chrome/install_static:install_static_util", |
| 77 "//chrome/installer/util:with_no_strings", | 77 "//chrome/installer/util:with_no_strings", |
| 78 "//components/variations", | 78 "//components/variations", |
| 79 "//testing/gtest", | 79 "//testing/gtest", |
| 80 ] | 80 ] |
| 81 | 81 |
| 82 data_deps = [ | 82 data_deps = [ |
| 83 ":gcapi", # Runtime dependency on this DLL. | 83 ":gcapi", # Runtime dependency on this DLL. |
| 84 ] | 84 ] |
| 85 } | 85 } |
| OLD | NEW |