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

Side by Side Diff: mojo/mojo_public.gypi

Issue 147533004: Remove unneeded JNI registrations. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Updated by review comments. Created 6 years, 8 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 { 1 {
2 'targets': [ 2 'targets': [
3 { 3 {
4 'target_name': 'mojo_system', 4 'target_name': 'mojo_system',
5 'type': 'static_library', 5 'type': 'static_library',
6 'defines': [ 6 'defines': [
7 'MOJO_SYSTEM_IMPLEMENTATION', 7 'MOJO_SYSTEM_IMPLEMENTATION',
8 ], 8 ],
9 'include_dirs': [ 9 'include_dirs': [
10 '..', 10 '..',
11 ], 11 ],
12 'direct_dependent_settings': { 12 'direct_dependent_settings': {
13 'include_dirs': [ 13 'include_dirs': [
14 '..', 14 '..',
15 ], 15 ],
16 }, 16 },
17 'sources': [ 17 'sources': [
18 'public/c/system/async_waiter.h', 18 'public/c/system/async_waiter.h',
19 'public/c/system/core.h', 19 'public/c/system/core.h',
20 'public/c/system/macros.h', 20 'public/c/system/macros.h',
21 'public/c/system/system_export.h', 21 'public/c/system/system_export.h',
22 'public/platform/native/system_thunks.cc', 22 'public/platform/native/system_thunks.cc',
23 'public/platform/native/system_thunks.h', 23 'public/platform/native/system_thunks.h',
24 ], 24 ],
DaveMoore 2014/04/21 23:34:51 The only special case related to exports that I kn
Yaron 2014/04/22 01:49:04 This sort of already was the case because of exclu
25 }, 25 },
26 { 26 {
27 'target_name': 'mojo_gles2', 27 'target_name': 'mojo_gles2',
28 'type': 'shared_library', 28 'type': 'shared_library',
29 'defines': [ 29 'defines': [
30 'MOJO_GLES2_IMPLEMENTATION', 30 'MOJO_GLES2_IMPLEMENTATION',
31 'GLES2_USE_MOJO', 31 'GLES2_USE_MOJO',
32 ], 32 ],
33 'include_dirs': [ 33 'include_dirs': [
34 '..', 34 '..',
35 ], 35 ],
36 'dependencies': [ 36 'dependencies': [
37 '../third_party/khronos/khronos.gyp:khronos_headers' 37 '../third_party/khronos/khronos.gyp:khronos_headers'
38 ], 38 ],
39 'direct_dependent_settings': { 39 'direct_dependent_settings': {
40 'include_dirs': [ 40 'include_dirs': [
41 '..', 41 '..',
42 ], 42 ],
43 'defines': [ 43 'defines': [
44 'GLES2_USE_MOJO', 44 'GLES2_USE_MOJO',
45 ], 45 ],
46 }, 46 },
47 'sources': [ 47 'sources': [
48 'public/c/gles2/gles2.h', 48 'public/c/gles2/gles2.h',
49 'public/c/gles2/gles2_export.h', 49 'public/c/gles2/gles2_export.h',
50 'public/gles2/gles2_private.cc', 50 'public/gles2/gles2_private.cc',
51 'public/gles2/gles2_private.h', 51 'public/gles2/gles2_private.h',
52 ], 52 ],
53 'conditions': [ 53 'conditions': [
54 ['OS=="android"', {
55 'ldflags!': [
56 # Remove default export list because this lib has different exports.
57 '-Wl,--version-script="<(android_linker_script)"',
58 ],
59 'ldflags': [
60 # Don't export symbols from statically linked libraries.
61 '-Wl,--exclude-libs=ALL',
62 ],
63 }],
54 ['OS=="mac"', { 64 ['OS=="mac"', {
55 'xcode_settings': { 65 'xcode_settings': {
56 # Make it a run-path dependent library. 66 # Make it a run-path dependent library.
57 'DYLIB_INSTALL_NAME_BASE': '@loader_path', 67 'DYLIB_INSTALL_NAME_BASE': '@loader_path',
58 }, 68 },
59 }], 69 }],
60 ], 70 ],
61 }, 71 },
62 { 72 {
63 'target_name': 'mojo_test_support', 73 'target_name': 'mojo_test_support',
64 'type': 'shared_library', 74 'type': 'shared_library',
65 'defines': [ 75 'defines': [
66 'MOJO_TEST_SUPPORT_IMPLEMENTATION', 76 'MOJO_TEST_SUPPORT_IMPLEMENTATION',
67 ], 77 ],
68 'include_dirs': [ 78 'include_dirs': [
69 '..', 79 '..',
70 ], 80 ],
71 'direct_dependent_settings': { 81 'direct_dependent_settings': {
72 'include_dirs': [ 82 'include_dirs': [
73 '..', 83 '..',
74 ], 84 ],
75 }, 85 },
76 'sources': [ 86 'sources': [
77 'public/c/test_support/test_support.h', 87 'public/c/test_support/test_support.h',
78 'public/c/test_support/test_support_export.h', 88 'public/c/test_support/test_support_export.h',
79 'public/tests/test_support_private.cc', 89 'public/tests/test_support_private.cc',
80 'public/tests/test_support_private.h', 90 'public/tests/test_support_private.h',
81 ], 91 ],
82 'conditions': [ 92 'conditions': [
93 ['OS=="android"', {
94 'ldflags!': [
95 # Remove default export list because this lib has different exports.
96 '-Wl,--version-script="<(android_linker_script)"',
97 ],
98 'ldflags': [
99 # Don't export symbols from statically linked libraries.
100 '-Wl,--exclude-libs=ALL',
101 ],
102 }],
83 ['OS=="mac"', { 103 ['OS=="mac"', {
84 'xcode_settings': { 104 'xcode_settings': {
85 # Make it a run-path dependent library. 105 # Make it a run-path dependent library.
86 'DYLIB_INSTALL_NAME_BASE': '@loader_path', 106 'DYLIB_INSTALL_NAME_BASE': '@loader_path',
87 }, 107 },
88 }], 108 }],
89 ], 109 ],
90 }, 110 },
91 { 111 {
92 'target_name': 'mojo_public_test_utils', 112 'target_name': 'mojo_public_test_utils',
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 ], 368 ],
349 'dependencies': [ 369 'dependencies': [
350 'mojo_shell_bindings', 370 'mojo_shell_bindings',
351 ], 371 ],
352 'export_dependent_settings': [ 372 'export_dependent_settings': [
353 'mojo_shell_bindings', 373 'mojo_shell_bindings',
354 ], 374 ],
355 }, 375 },
356 ], 376 ],
357 } 377 }
OLDNEW
« build/common.gypi ('K') | « build/jni_generator.gypi ('k') | mojo/mojo_services.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698