OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 # GN Version: //components/precache/content | 8 # GN Version: //components/precache/content |
9 'target_name': 'precache_content', | 9 'target_name': 'precache_content', |
10 'type': 'static_library', | 10 'type': 'static_library', |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 'sources': [ | 63 'sources': [ |
64 'precache/core/proto/precache.proto', | 64 'precache/core/proto/precache.proto', |
65 ], | 65 ], |
66 'variables': { | 66 'variables': { |
67 'proto_in_dir': 'precache/core/proto', | 67 'proto_in_dir': 'precache/core/proto', |
68 'proto_out_dir': 'components/precache/core/proto', | 68 'proto_out_dir': 'components/precache/core/proto', |
69 }, | 69 }, |
70 'includes': [ '../build/protoc.gypi', ], | 70 'includes': [ '../build/protoc.gypi', ], |
71 }, | 71 }, |
72 ], | 72 ], |
73 'conditions': [ | |
74 ['OS=="android"', { | |
75 'targets': [{ | |
76 'target_name': 'precache_java', | |
77 'type': 'none', | |
78 'dependencies': [ | |
79 '../base/base.gyp:base', | |
80 '../content/content.gyp:content_java', | |
81 ], | |
82 'variables': { | |
83 'java_in_dir': 'precache/android/java', | |
84 }, | |
85 'includes': [ '../build/java.gypi' ], | |
86 }, { | |
87 'target_name': 'precache_javatests', | |
88 'type': 'none', | |
89 'dependencies': [ | |
90 'precache_java', | |
91 '../base/base.gyp:base_java_test_support', | |
92 ], | |
93 'variables': { | |
94 'java_in_dir': 'precache/android/javatests', | |
95 }, | |
96 'includes': [ '../build/java.gypi' ], | |
97 }], | |
98 }], | |
99 ], | |
100 } | 73 } |
OLD | NEW |