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

Unified Diff: xfa.gyp

Issue 2136273002: Create an fxjs static library (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@fxjs_v8_v2
Patch Set: GYP fix attempt Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa.gyp
diff --git a/xfa.gyp b/xfa.gyp
index 92ae06a000bb4468065b75f75f4416a4189548ad..d8c165ef88eac24c002b9e5b06d1febb07064308 100644
--- a/xfa.gyp
+++ b/xfa.gyp
@@ -16,27 +16,22 @@
},
"targets":[
{
- "target_name":"xfa",
- "type":"static_library",
+ "target_name": "fxjs",
+ "type": "static_library",
'include_dirs': [
# This is implicit in GN.
'<(DEPTH)',
'.',
- 'third_party/freetype/include',
- 'third_party/freetype/include/freetype',
'<(DEPTH)/v8',
'<(DEPTH)/v8/include',
],
- 'defines' : [
- 'FT2_BUILD_LIBRARY',
- ],
'dependencies': [
'<(DEPTH)/v8/src/v8.gyp:v8',
],
'export_dependent_settings': [
'<(DEPTH)/v8/src/v8.gyp:v8',
],
- "sources":[
+ "sources": [
"fxjs/cfxjse_arguments.cpp",
"fxjs/cfxjse_class.cpp",
"fxjs/cfxjse_context.cpp",
@@ -50,6 +45,25 @@
"fxjs/include/cfxjse_context.h",
"fxjs/include/cfxjse_value.h",
"fxjs/include/fxjse.h",
+ ]
+ },
+ {
+ "target_name":"xfa",
+ "type":"static_library",
+ 'include_dirs': [
+ # This is implicit in GN.
+ '<(DEPTH)',
+ '.',
+ 'third_party/freetype/include',
+ 'third_party/freetype/include/freetype',
+ ],
+ 'defines' : [
+ 'FT2_BUILD_LIBRARY',
+ ],
+ 'dependencies': [
+ ':fxjs',
+ ],
+ "sources":[
"xfa/fde/cfde_path.cpp",
"xfa/fde/cfde_path.h",
"xfa/fde/cfde_txtedtbuf.cpp",
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698