| 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("//build/util/process_version.gni") | 5 import("//build/util/process_version.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 component("common") { | 8 component("common") { |
| 9 output_name = "blimp_common" | 9 output_name = "blimp_common" |
| 10 sources = [ | 10 sources = [ |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 defines = [ "BLIMP_COMMON_IMPLEMENTATION=1" ] | 30 defines = [ "BLIMP_COMMON_IMPLEMENTATION=1" ] |
| 31 | 31 |
| 32 deps = [ | 32 deps = [ |
| 33 "//base", | 33 "//base", |
| 34 "//cc", | 34 "//cc", |
| 35 "//crypto", | 35 "//crypto", |
| 36 ] | 36 ] |
| 37 | 37 |
| 38 public_deps = [ | 38 public_deps = [ |
| 39 ":assignment_options", |
| 39 ":protocol_version", | 40 ":protocol_version", |
| 40 "//blimp/common/proto", | 41 "//blimp/common/proto", |
| 41 ] | 42 ] |
| 42 } | 43 } |
| 43 | 44 |
| 45 source_set("assignment_options") { |
| 46 sources = [ |
| 47 "assignment_options.h", |
| 48 ] |
| 49 |
| 50 deps = [ |
| 51 "//net", |
| 52 ] |
| 53 } |
| 54 |
| 44 source_set("test_support") { | 55 source_set("test_support") { |
| 45 testonly = true | 56 testonly = true |
| 46 | 57 |
| 47 sources = [ | 58 sources = [ |
| 48 "blob_cache/mock_blob_cache.cc", | 59 "blob_cache/mock_blob_cache.cc", |
| 49 "blob_cache/mock_blob_cache.h", | 60 "blob_cache/mock_blob_cache.h", |
| 50 "blob_cache/test_util.cc", | 61 "blob_cache/test_util.cc", |
| 51 "blob_cache/test_util.h", | 62 "blob_cache/test_util.h", |
| 52 ] | 63 ] |
| 53 | 64 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 84 ] | 95 ] |
| 85 } | 96 } |
| 86 | 97 |
| 87 process_version("protocol_version") { | 98 process_version("protocol_version") { |
| 88 sources = [ | 99 sources = [ |
| 89 "//chrome/VERSION", | 100 "//chrome/VERSION", |
| 90 ] | 101 ] |
| 91 template_file = "protocol_version.h.version" | 102 template_file = "protocol_version.h.version" |
| 92 output = "$target_gen_dir/protocol_version.h" | 103 output = "$target_gen_dir/protocol_version.h" |
| 93 } | 104 } |
| OLD | NEW |