Changeset 13081 for util/trunk

Show
Ignore:
Timestamp:
03/13/08 20:19:35 (10 months ago)
Author:
jburke
Message:

Fixes #6209 and Refs #6207. Allow conditional directive options to be set inside build profiles. This allows the offline profile to work better. \!strict for redeclaration warnings.

Location:
util/trunk/buildscripts
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • util/trunk/buildscripts/jslib/buildUtil.js

    r13077 r13081  
    162162                         
    163163                        //Allow setting build options from on the profile's dependencies object 
    164                         for(var param in buildUtil.DojoBuildOptions){ 
    165                                 if(typeof dependencies[param] != "undefined"){ 
     164                        for(var param in dependencies){ 
     165                                if(param != "layers" && param != "prefixes"){ 
    166166                                        kwArgs[param] = dependencies[param]; 
    167167                                } 
  • util/trunk/buildscripts/profiles/offline.profile.js

    r9499 r13081  
    11dependencies = { 
     2        //This option configures dojox.storage to just include the Gears 
     3        //storage provider for an offline use. 
     4        dojoxStorageBuildOption: "offline", 
     5 
    26        layers: [ 
    37                {