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/gcm_driver.gypi

Issue 285203005: Hook components/gcm_driver up to JNI Generator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/chrome.gyp ('k') | components/gcm_driver/DEPS » ('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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'gcm_driver', 8 'target_name': 'gcm_driver',
9 'type': 'static_library', 9 'type': 'static_library',
10 'dependencies': [ 10 'dependencies': [
11 '../base/base.gyp:base', 11 '../base/base.gyp:base',
12 '../google_apis/gcm/gcm.gyp:gcm', 12 '../google_apis/gcm/gcm.gyp:gcm',
13 'os_crypt', 13 'os_crypt',
14 ], 14 ],
15 'include_dirs': [ 15 'include_dirs': [
16 '..', 16 '..',
17 ], 17 ],
18 'sources': [ 18 'sources': [
19 'gcm_driver/android/component_jni_registrar.cc',
20 'gcm_driver/android/component_jni_registrar.h',
19 'gcm_driver/default_gcm_app_handler.cc', 21 'gcm_driver/default_gcm_app_handler.cc',
20 'gcm_driver/default_gcm_app_handler.h', 22 'gcm_driver/default_gcm_app_handler.h',
21 'gcm_driver/gcm_app_handler.h', 23 'gcm_driver/gcm_app_handler.h',
22 'gcm_driver/gcm_client_factory.cc', 24 'gcm_driver/gcm_client_factory.cc',
23 'gcm_driver/gcm_client_factory.h', 25 'gcm_driver/gcm_client_factory.h',
26 'gcm_driver/gcm_driver_android.cc',
27 'gcm_driver/gcm_driver_android.h',
24 'gcm_driver/system_encryptor.cc', 28 'gcm_driver/system_encryptor.cc',
25 'gcm_driver/system_encryptor.h', 29 'gcm_driver/system_encryptor.h',
26 ], 30 ],
31 'conditions': [
32 ['OS == "android"', {
33 'dependencies': [
34 'gcm_driver_jni_headers',
35 ],
36 }],
37 ],
27 }, 38 },
28 ], 39 ],
40 'conditions': [
41 ['OS == "android"', {
42 'targets': [
43 {
44 'target_name': 'gcm_driver_java',
45 'type': 'none',
46 'dependencies': [
47 '../base/base.gyp:base',
48 ],
49 'variables': {
50 'java_in_dir': 'gcm_driver/android/java',
51 },
52 'includes': [ '../build/java.gypi' ],
53 },
54 {
55 'target_name': 'gcm_driver_jni_headers',
56 'type': 'none',
57 'sources': [
58 'gcm_driver/android/java/src/org/chromium/components/gcm_driver/GCMD river.java',
59 ],
60 'variables': {
61 'jni_gen_package': 'components/gcm_driver',
62 },
63 'includes': [ '../build/jni_generator.gypi' ],
64 },
65 ],
66 },
67 ],
68 ],
29 } 69 }
OLDNEW
« no previous file with comments | « chrome/chrome.gyp ('k') | components/gcm_driver/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698